0s autopkgtest [18:18:17]: starting date and time: 2024-03-20 18:18:17+0000 0s autopkgtest [18:18:17]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [18:18:17]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.glw5wejq/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:desktop-file-utils,src:shared-mime-info --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos01-s390x-5.secgroup --name adt-noble-s390x-glib2.0-20240320-181817-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-s390x-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://us.ports.ubuntu.com/ubuntu-ports/ 144s autopkgtest [18:20:41]: testbed dpkg architecture: s390x 144s autopkgtest [18:20:41]: testbed apt version: 2.7.12 144s autopkgtest [18:20:41]: @@@@@@@@@@@@@@@@@@@@ test bed setup 145s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 145s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3809 kB] 145s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 145s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [501 kB] 145s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [53.9 kB] 145s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x Packages [679 kB] 145s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x c-n-f Metadata [3032 B] 145s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x Packages [1372 B] 145s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x c-n-f Metadata [116 B] 145s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x Packages [4058 kB] 146s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x c-n-f Metadata [7292 B] 146s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x Packages [45.3 kB] 146s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x c-n-f Metadata [116 B] 148s Fetched 9282 kB in 2s (3950 kB/s) 148s Reading package lists... 150s Reading package lists... 151s Building dependency tree... 151s Reading state information... 151s Calculating upgrade... 151s The following packages were automatically installed and are no longer required: 151s apport-symptoms libgirepository-1.0-1 python3-apport python3-httplib2 151s python3-jaraco.classes python3-jeepney python3-keyring python3-launchpadlib 151s python3-lazr.restfulclient python3-lazr.uri python3-problem-report 151s python3-pyparsing python3-secretstorage python3-shtab python3-six 151s python3-systemd python3-wadllib 151s Use 'sudo apt autoremove' to remove them. 151s The following packages will be REMOVED: 151s apport apport-core-dump-handler gir1.2-girepository-2.0 gir1.2-glib-2.0 151s libglib2.0-0 networkd-dispatcher python3-gi 151s The following NEW packages will be installed: 151s libglib2.0-0t64 xdg-user-dirs 151s The following packages will be upgraded: 151s shared-mime-info ubuntu-minimal ubuntu-standard 151s 3 upgraded, 2 newly installed, 7 to remove and 0 not upgraded. 151s Need to get 2079 kB of archives. 151s After this operation, 2690 kB disk space will be freed. 151s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main s390x shared-mime-info s390x 2.4-1build1 [474 kB] 152s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-0t64 s390x 2.79.3-3ubuntu5 [1566 kB] 152s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x ubuntu-minimal s390x 1.536build1 [10.7 kB] 152s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x xdg-user-dirs s390x 0.18-1 [18.5 kB] 152s Get:5 http://ftpmaster.internal/ubuntu noble/main s390x ubuntu-standard s390x 1.536build1 [10.7 kB] 152s Fetched 2079 kB in 1s (3100 kB/s) 152s (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 ... 51778 files and directories currently installed.) 152s Removing networkd-dispatcher (2.2.4-1) ... 152s Removing apport-core-dump-handler (2.28.0-0ubuntu1) ... 153s Removing apport (2.28.0-0ubuntu1) ... 153s Removing python3-gi (3.47.0-3) ... 153s Removing gir1.2-girepository-2.0:s390x (1.79.1-1) ... 153s Removing gir1.2-glib-2.0:s390x (2.79.2-1~ubuntu1) ... 154s (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 ... 51609 files and directories currently installed.) 154s Preparing to unpack .../shared-mime-info_2.4-1build1_s390x.deb ... 154s Unpacking shared-mime-info (2.4-1build1) over (2.4-1) ... 154s dpkg: libglib2.0-0:s390x: dependency problems, but removing anyway as you requested: 154s udisks2 depends on libglib2.0-0 (>= 2.77.0). 154s s390-tools depends on libglib2.0-0 (>= 2.77.0). 154s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 154s netplan.io depends on libglib2.0-0 (>= 2.70.0). 154s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 154s libxmlb2:s390x depends on libglib2.0-0 (>= 2.54.0). 154s libvolume-key1:s390x depends on libglib2.0-0 (>= 2.18.0). 154s libudisks2-0:s390x depends on libglib2.0-0 (>= 2.75.3). 154s libqrtr-glib0:s390x depends on libglib2.0-0 (>= 2.56). 154s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 154s libqmi-glib5:s390x depends on libglib2.0-0 (>= 2.54.0). 154s libpolkit-gobject-1-0:s390x depends on libglib2.0-0 (>= 2.38.0). 154s libpolkit-agent-1-0:s390x depends on libglib2.0-0 (>= 2.38.0). 154s libnetplan0:s390x depends on libglib2.0-0 (>= 2.75.3). 154s libmm-glib0:s390x depends on libglib2.0-0 (>= 2.62.0). 154s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 154s libmbim-glib4:s390x depends on libglib2.0-0 (>= 2.56). 154s libjson-glib-1.0-0:s390x depends on libglib2.0-0 (>= 2.75.3). 154s libjcat1:s390x depends on libglib2.0-0 (>= 2.75.3). 154s libgusb2:s390x depends on libglib2.0-0 (>= 2.75.3). 154s libgudev-1.0-0:s390x depends on libglib2.0-0 (>= 2.38.0). 154s libgirepository-1.0-1:s390x depends on libglib2.0-0 (>= 2.79.0). 154s libfwupd2:s390x depends on libglib2.0-0 (>= 2.79.0). 154s libblockdev3:s390x depends on libglib2.0-0 (>= 2.42.2). 154s libblockdev-utils3:s390x depends on libglib2.0-0 (>= 2.75.3). 154s libblockdev-swap3:s390x depends on libglib2.0-0 (>= 2.42.2). 154s libblockdev-part3:s390x depends on libglib2.0-0 (>= 2.42.2). 154s libblockdev-nvme3:s390x depends on libglib2.0-0 (>= 2.42.2). 154s libblockdev-mdraid3:s390x depends on libglib2.0-0 (>= 2.42.2). 154s libblockdev-loop3:s390x depends on libglib2.0-0 (>= 2.42.2). 154s libblockdev-fs3:s390x depends on libglib2.0-0 (>= 2.42.2). 154s libblockdev-crypto3:s390x depends on libglib2.0-0 (>= 2.42.2). 154s fwupd depends on libglib2.0-0 (>= 2.79.0). 154s bolt depends on libglib2.0-0 (>= 2.56.0). 154s 154s (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 ... 51609 files and directories currently installed.) 154s Removing libglib2.0-0:s390x (2.79.2-1~ubuntu1) ... 154s Selecting previously unselected package libglib2.0-0t64:s390x. 154s (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 ... 51584 files and directories currently installed.) 154s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_s390x.deb ... 154s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:s390x.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled... 154s removed '/var/lib/dpkg/info/libglib2.0-0:s390x.postrm' 154s Unpacking libglib2.0-0t64:s390x (2.79.3-3ubuntu5) ... 154s Preparing to unpack .../ubuntu-minimal_1.536build1_s390x.deb ... 154s Unpacking ubuntu-minimal (1.536build1) over (1.536) ... 154s Selecting previously unselected package xdg-user-dirs. 154s Preparing to unpack .../xdg-user-dirs_0.18-1_s390x.deb ... 154s Unpacking xdg-user-dirs (0.18-1) ... 154s Preparing to unpack .../ubuntu-standard_1.536build1_s390x.deb ... 154s Unpacking ubuntu-standard (1.536build1) over (1.536) ... 154s Setting up ubuntu-minimal (1.536build1) ... 154s Setting up xdg-user-dirs (0.18-1) ... 154s Setting up ubuntu-standard (1.536build1) ... 154s Setting up libglib2.0-0t64:s390x (2.79.3-3ubuntu5) ... 154s No schema files found: doing nothing. 154s Setting up shared-mime-info (2.4-1build1) ... 154s Processing triggers for man-db (2.12.0-3) ... 155s Processing triggers for libc-bin (2.39-0ubuntu2) ... 155s Reading package lists... 155s Building dependency tree... 155s Reading state information... 155s The following packages will be REMOVED: 155s apport-symptoms* libgirepository-1.0-1* python3-apport* python3-httplib2* 155s python3-jaraco.classes* python3-jeepney* python3-keyring* 155s python3-launchpadlib* python3-lazr.restfulclient* python3-lazr.uri* 155s python3-problem-report* python3-pyparsing* python3-secretstorage* 155s python3-shtab* python3-six* python3-systemd* python3-wadllib* 156s 0 upgraded, 0 newly installed, 17 to remove and 0 not upgraded. 156s After this operation, 4697 kB disk space will be freed. 156s (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 ... 51623 files and directories currently installed.) 156s Removing apport-symptoms (0.24) ... 156s Removing libgirepository-1.0-1:s390x (1.79.1-1) ... 156s Removing python3-apport (2.28.0-0ubuntu1) ... 156s Removing python3-launchpadlib (1.11.0-6) ... 156s Removing python3-lazr.restfulclient (0.14.6-1) ... 156s Removing python3-httplib2 (0.20.4-3) ... 156s Removing python3-keyring (24.3.1-1) ... 156s Removing python3-jaraco.classes (3.2.1-4) ... 156s Removing python3-secretstorage (3.3.3-3) ... 156s Removing python3-jeepney (0.8.0-3) ... 156s Removing python3-wadllib (1.3.6-5) ... 156s Removing python3-lazr.uri (1.0.6-3) ... 156s Removing python3-problem-report (2.28.0-0ubuntu1) ... 156s Removing python3-pyparsing (3.1.1-1) ... 156s Removing python3-shtab (1.5.5-3) ... 156s Removing python3-six (1.16.0-4) ... 156s Removing python3-systemd (235-1build3) ... 157s Processing triggers for man-db (2.12.0-3) ... 157s Processing triggers for libc-bin (2.39-0ubuntu2) ... 157s (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 ... 51225 files and directories currently installed.) 157s Purging configuration files for python3-launchpadlib (1.11.0-6) ... 158s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 158s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 158s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 158s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 159s Reading package lists... 159s Reading package lists... 160s Building dependency tree... 160s Reading state information... 160s Calculating upgrade... 160s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 160s Reading package lists... 160s Building dependency tree... 160s Reading state information... 160s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 161s autopkgtest [18:20:58]: rebooting testbed after setup commands that affected boot 194s autopkgtest [18:21:31]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP Tue Feb 13 23:45:46 UTC 2024 197s autopkgtest [18:21:34]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 207s Get:1 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (dsc) [4332 B] 207s Get:2 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [263 kB] 207s Get:3 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [5488 kB] 207s Get:4 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (diff) [126 kB] 207s gpgv: Signature made Mon Feb 26 20:17:53 2024 UTC 207s gpgv: using RSA key 92FE4F8B40CADC4ECCD60C1F5961FDBE9C619809 207s gpgv: Can't check signature: No public key 207s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.79.2-1~ubuntu1.dsc: no acceptable signature found 208s autopkgtest [18:21:45]: testing package glib2.0 version 2.79.2-1~ubuntu1 208s autopkgtest [18:21:45]: build not needed 213s autopkgtest [18:21:50]: test build: preparing testbed 218s Reading package lists... 218s Building dependency tree... 218s Reading state information... 218s Starting pkgProblemResolver with broken count: 1 218s Starting 2 pkgProblemResolver with broken count: 1 218s Investigating (0) libglib2.0-0t64:s390x < 2.79.3-3ubuntu5 @ii mK Ib > 218s Broken libglib2.0-0t64:s390x Breaks on libglib2.0-0:s390x < none -> 2.79.2-1~ubuntu1 @rc pumN > (< 2.79.3-3ubuntu5) 218s Considering libglib2.0-0:s390x 104 as a solution to libglib2.0-0t64:s390x 106 218s Done 218s Some packages could not be installed. This may mean that you have 218s requested an impossible situation or if you are using the unstable 218s distribution that some required packages have not yet been created 218s or been moved out of Incoming. 218s The following information may help to resolve the situation: 218s 218s The following packages have unmet dependencies: 218s libglib2.0-0t64 : Breaks: libglib2.0-0 (< 2.79.3-3ubuntu5) 218s E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. 218s autopkgtest: WARNING: Test dependencies are unsatisfiable with using apt pinning. Retrying with using all packages from noble-proposed 219s Reading package lists... 219s Building dependency tree... 219s Reading state information... 220s Starting pkgProblemResolver with broken count: 0 220s Starting 2 pkgProblemResolver with broken count: 0 220s Done 220s The following additional packages will be installed: 220s bsdextrautils bsdutils build-essential cpp cpp-13 cpp-13-s390x-linux-gnu 220s cpp-s390x-linux-gnu eject fdisk g++ g++-13 g++-13-s390x-linux-gnu 220s g++-s390x-linux-gnu gcc gcc-13 gcc-13-base gcc-13-s390x-linux-gnu 220s gcc-14-base gcc-s390x-linux-gnu libasan8 libatomic1 libblkid-dev libblkid1 220s libc-bin libc-dev-bin libc6 libc6-dev libcc1-0 libcrypt-dev libelf1t64 220s libfdisk1 libffi-dev libgcc-13-dev libgcc-s1 libgirepository-2.0-0 220s libglib2.0-bin libglib2.0-data libglib2.0-dev libglib2.0-dev-bin libgomp1 220s libisl23 libitm1 libmount-dev libmount1 libmpc3 libpcre2-16-0 libpcre2-32-0 220s libpcre2-dev libpcre2-posix3 libpkgconf3 libreadline8t64 libselinux1 220s libselinux1-dev libsepol-dev libsmartcols1 libstdc++-13-dev libstdc++6 220s libubsan1 libuuid1 linux-libc-dev locales mount pkgconf pkgconf-bin 220s python3-packaging readline-common rpcsvc-proto util-linux util-linux-extra 220s uuid-dev uuid-runtime zlib1g zlib1g-dev 220s Suggested packages: 220s cpp-doc gcc-13-locales cpp-13-doc g++-multilib g++-13-multilib gcc-13-doc 220s gcc-multilib manpages-dev autoconf automake libtool flex bison gdb gcc-doc 220s gcc-13-multilib gdb-s390x-linux-gnu manpages glibc-doc libnss-nis 220s libnss-nisplus gir1.2-glib-2.0-dev libglib2.0-doc libgdk-pixbuf2.0-bin 220s libxml2-utils libstdc++-13-doc nfs-common readline-doc util-linux-locales 220s Recommended packages: 220s manpages manpages-dev libc-devtools 220s The following packages will be REMOVED: 220s libelf1 libreadline8 220s The following NEW packages will be installed: 220s autopkgtest-satdep build-essential cpp cpp-13 cpp-13-s390x-linux-gnu 220s cpp-s390x-linux-gnu g++ g++-13 g++-13-s390x-linux-gnu g++-s390x-linux-gnu 220s gcc gcc-13 gcc-13-base gcc-13-s390x-linux-gnu gcc-s390x-linux-gnu libasan8 220s libatomic1 libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev 220s libelf1t64 libffi-dev libgcc-13-dev libgirepository-2.0-0 libglib2.0-bin 220s libglib2.0-dev libglib2.0-dev-bin libgomp1 libisl23 libitm1 libmount-dev 220s libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 220s libreadline8t64 libselinux1-dev libsepol-dev libstdc++-13-dev libubsan1 220s linux-libc-dev pkgconf pkgconf-bin python3-packaging rpcsvc-proto uuid-dev 220s zlib1g-dev 220s The following packages will be upgraded: 220s bsdextrautils bsdutils eject fdisk gcc-14-base libblkid1 libc-bin libc6 220s libfdisk1 libgcc-s1 libglib2.0-data libmount1 libselinux1 libsmartcols1 220s libstdc++6 libuuid1 locales mount readline-common util-linux 220s util-linux-extra uuid-runtime zlib1g 220s 23 upgraded, 51 newly installed, 2 to remove and 210 not upgraded. 220s Need to get 69.8 MB/69.8 MB of archives. 220s After this operation, 201 MB of additional disk space will be used. 220s Get:1 /tmp/autopkgtest.Juhcat/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [720 B] 220s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bsdutils s390x 1:2.39.3-9ubuntu2 [96.1 kB] 220s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gcc-14-base s390x 14-20240315-1ubuntu1 [47.0 kB] 220s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgcc-s1 s390x 14-20240315-1ubuntu1 [35.9 kB] 220s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libstdc++6 s390x 14-20240315-1ubuntu1 [908 kB] 221s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libc6 s390x 2.39-0ubuntu6 [2847 kB] 221s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libsmartcols1 s390x 2.39.3-9ubuntu2 [67.9 kB] 221s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x util-linux-extra s390x 2.39.3-9ubuntu2 [121 kB] 221s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main s390x util-linux s390x 2.39.3-9ubuntu2 [1143 kB] 221s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libc-bin s390x 2.39-0ubuntu6 [654 kB] 221s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main s390x zlib1g s390x 1:1.3.dfsg-3.1ubuntu1 [75.7 kB] 221s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libelf1t64 s390x 0.190-1.1build2 [69.7 kB] 221s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main s390x readline-common all 8.2-3.1 [56.4 kB] 221s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main s390x fdisk s390x 2.39.3-9ubuntu2 [124 kB] 221s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libreadline8t64 s390x 8.2-3.1 [171 kB] 221s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main s390x mount s390x 2.39.3-9ubuntu2 [119 kB] 221s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libuuid1 s390x 2.39.3-9ubuntu2 [35.6 kB] 221s Get:18 http://ftpmaster.internal/ubuntu noble-proposed/main s390x uuid-runtime s390x 2.39.3-9ubuntu2 [33.4 kB] 221s Get:19 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblkid1 s390x 2.39.3-9ubuntu2 [128 kB] 221s Get:20 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libselinux1 s390x 3.5-2ubuntu1 [84.7 kB] 221s Get:21 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmount1 s390x 2.39.3-9ubuntu2 [138 kB] 221s Get:22 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gcc-13-base s390x 13.2.0-19ubuntu1 [47.8 kB] 221s Get:23 http://ftpmaster.internal/ubuntu noble-proposed/main s390x eject s390x 2.39.3-9ubuntu2 [26.2 kB] 221s Get:24 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfdisk1 s390x 2.39.3-9ubuntu2 [151 kB] 221s Get:25 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 221s Get:26 http://ftpmaster.internal/ubuntu noble-proposed/main s390x locales all 2.39-0ubuntu6 [4232 kB] 221s Get:27 http://ftpmaster.internal/ubuntu noble-proposed/main s390x bsdextrautils s390x 2.39.3-9ubuntu2 [76.3 kB] 221s Get:28 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libc-dev-bin s390x 2.39-0ubuntu6 [20.2 kB] 221s Get:29 http://ftpmaster.internal/ubuntu noble-proposed/main s390x linux-libc-dev s390x 6.8.0-20.20 [1592 kB] 221s Get:30 http://ftpmaster.internal/ubuntu noble/main s390x libcrypt-dev s390x 1:4.4.36-4 [135 kB] 221s Get:31 http://ftpmaster.internal/ubuntu noble/main s390x rpcsvc-proto s390x 1.4.2-0ubuntu6 [64.7 kB] 221s Get:32 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libc6-dev s390x 2.39-0ubuntu6 [1629 kB] 221s Get:33 http://ftpmaster.internal/ubuntu noble/main s390x libisl23 s390x 0.26-3 [722 kB] 221s Get:34 http://ftpmaster.internal/ubuntu noble/main s390x libmpc3 s390x 1.3.1-1 [54.9 kB] 221s Get:35 http://ftpmaster.internal/ubuntu noble-proposed/main s390x cpp-13-s390x-linux-gnu s390x 13.2.0-19ubuntu1 [9928 kB] 221s Get:36 http://ftpmaster.internal/ubuntu noble-proposed/main s390x cpp-13 s390x 13.2.0-19ubuntu1 [1030 B] 221s Get:37 http://ftpmaster.internal/ubuntu noble/main s390x cpp-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [5308 B] 221s Get:38 http://ftpmaster.internal/ubuntu noble/main s390x cpp s390x 4:13.2.0-7ubuntu1 [22.4 kB] 221s Get:39 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libcc1-0 s390x 14-20240315-1ubuntu1 [50.0 kB] 221s Get:40 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgomp1 s390x 14-20240315-1ubuntu1 [151 kB] 221s Get:41 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libitm1 s390x 14-20240315-1ubuntu1 [31.1 kB] 221s Get:42 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libatomic1 s390x 14-20240315-1ubuntu1 [9396 B] 221s Get:43 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libasan8 s390x 14-20240315-1ubuntu1 [2997 kB] 221s Get:44 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libubsan1 s390x 14-20240315-1ubuntu1 [1186 kB] 222s Get:45 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgcc-13-dev s390x 13.2.0-19ubuntu1 [1004 kB] 222s Get:46 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gcc-13-s390x-linux-gnu s390x 13.2.0-19ubuntu1 [19.1 MB] 222s Get:47 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gcc-13 s390x 13.2.0-19ubuntu1 [467 kB] 222s Get:48 http://ftpmaster.internal/ubuntu noble/main s390x gcc-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [1208 B] 222s Get:49 http://ftpmaster.internal/ubuntu noble/main s390x gcc s390x 4:13.2.0-7ubuntu1 [5014 B] 222s Get:50 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libstdc++-13-dev s390x 13.2.0-19ubuntu1 [2432 kB] 222s Get:51 http://ftpmaster.internal/ubuntu noble-proposed/main s390x g++-13-s390x-linux-gnu s390x 13.2.0-19ubuntu1 [11.3 MB] 222s Get:52 http://ftpmaster.internal/ubuntu noble-proposed/main s390x g++-13 s390x 13.2.0-19ubuntu1 [14.5 kB] 222s Get:53 http://ftpmaster.internal/ubuntu noble/main s390x g++-s390x-linux-gnu s390x 4:13.2.0-7ubuntu1 [956 B] 222s Get:54 http://ftpmaster.internal/ubuntu noble/main s390x g++ s390x 4:13.2.0-7ubuntu1 [1096 B] 222s Get:55 http://ftpmaster.internal/ubuntu noble/main s390x build-essential s390x 12.10ubuntu1 [4930 B] 222s Get:56 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgirepository-2.0-0 s390x 2.79.3-3ubuntu5 [75.4 kB] 222s Get:57 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-bin s390x 2.79.3-3ubuntu5 [101 kB] 222s Get:58 http://ftpmaster.internal/ubuntu noble/main s390x libffi-dev s390x 3.4.6-1 [58.8 kB] 222s Get:59 http://ftpmaster.internal/ubuntu noble/main s390x python3-packaging all 23.2-1 [40.6 kB] 222s Get:60 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-dev-bin s390x 2.79.3-3ubuntu5 [225 kB] 222s Get:61 http://ftpmaster.internal/ubuntu noble-proposed/main s390x uuid-dev s390x 2.39.3-9ubuntu2 [34.2 kB] 222s Get:62 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libblkid-dev s390x 2.39.3-9ubuntu2 [213 kB] 222s Get:63 http://ftpmaster.internal/ubuntu noble/main s390x libsepol-dev s390x 3.5-2 [395 kB] 223s Get:64 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-16-0 s390x 10.42-4ubuntu1 [229 kB] 223s Get:65 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-32-0 s390x 10.42-4ubuntu1 [217 kB] 223s Get:66 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-posix3 s390x 10.42-4ubuntu1 [6704 B] 223s Get:67 http://ftpmaster.internal/ubuntu noble/main s390x libpcre2-dev s390x 10.42-4ubuntu1 [805 kB] 223s Get:68 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libselinux1-dev s390x 3.5-2ubuntu1 [168 kB] 223s Get:69 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libmount-dev s390x 2.39.3-9ubuntu2 [14.9 kB] 223s Get:70 http://ftpmaster.internal/ubuntu noble/main s390x libpkgconf3 s390x 1.8.1-2 [30.4 kB] 223s Get:71 http://ftpmaster.internal/ubuntu noble/main s390x pkgconf-bin s390x 1.8.1-2 [20.8 kB] 223s Get:72 http://ftpmaster.internal/ubuntu noble/main s390x pkgconf s390x 1.8.1-2 [16.7 kB] 223s Get:73 http://ftpmaster.internal/ubuntu noble-proposed/main s390x zlib1g-dev s390x 1:1.3.dfsg-3.1ubuntu1 [904 kB] 223s Get:74 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-dev s390x 2.79.3-3ubuntu5 [1820 kB] 223s Preconfiguring packages ... 223s Fetched 69.8 MB in 3s (25.6 MB/s) 223s (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 ... 51225 files and directories currently installed.) 223s Preparing to unpack .../bsdutils_1%3a2.39.3-9ubuntu2_s390x.deb ... 223s Unpacking bsdutils (1:2.39.3-9ubuntu2) over (1:2.39.3-6ubuntu2) ... 223s Setting up bsdutils (1:2.39.3-9ubuntu2) ... 224s (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 ... 51225 files and directories currently installed.) 224s Preparing to unpack .../gcc-14-base_14-20240315-1ubuntu1_s390x.deb ... 224s Unpacking gcc-14-base:s390x (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 224s Setting up gcc-14-base:s390x (14-20240315-1ubuntu1) ... 224s (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 ... 51225 files and directories currently installed.) 224s Preparing to unpack .../libgcc-s1_14-20240315-1ubuntu1_s390x.deb ... 224s Unpacking libgcc-s1:s390x (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 224s Setting up libgcc-s1:s390x (14-20240315-1ubuntu1) ... 224s (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 ... 51225 files and directories currently installed.) 224s Preparing to unpack .../libstdc++6_14-20240315-1ubuntu1_s390x.deb ... 224s Unpacking libstdc++6:s390x (14-20240315-1ubuntu1) over (14-20240303-1ubuntu1) ... 224s Setting up libstdc++6:s390x (14-20240315-1ubuntu1) ... 224s (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 ... 51225 files and directories currently installed.) 224s Preparing to unpack .../libc6_2.39-0ubuntu6_s390x.deb ... 224s Unpacking libc6:s390x (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 224s Setting up libc6:s390x (2.39-0ubuntu6) ... 225s (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 ... 51225 files and directories currently installed.) 225s Preparing to unpack .../libsmartcols1_2.39.3-9ubuntu2_s390x.deb ... 225s Unpacking libsmartcols1:s390x (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 225s Setting up libsmartcols1:s390x (2.39.3-9ubuntu2) ... 225s (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 ... 51225 files and directories currently installed.) 225s Preparing to unpack .../util-linux-extra_2.39.3-9ubuntu2_s390x.deb ... 225s Unpacking util-linux-extra (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 225s Preparing to unpack .../util-linux_2.39.3-9ubuntu2_s390x.deb ... 225s Unpacking util-linux (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 225s Setting up util-linux (2.39.3-9ubuntu2) ... 225s fstrim.service is a disabled or a static unit not running, not starting it. 225s (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 ... 51225 files and directories currently installed.) 225s Preparing to unpack .../libc-bin_2.39-0ubuntu6_s390x.deb ... 225s Unpacking libc-bin (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 225s Setting up libc-bin (2.39-0ubuntu6) ... 226s (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 ... 51225 files and directories currently installed.) 226s Preparing to unpack .../zlib1g_1%3a1.3.dfsg-3.1ubuntu1_s390x.deb ... 226s Unpacking zlib1g:s390x (1:1.3.dfsg-3.1ubuntu1) over (1:1.3.dfsg-3ubuntu1) ... 226s Setting up zlib1g:s390x (1:1.3.dfsg-3.1ubuntu1) ... 226s dpkg: libelf1:s390x: dependency problems, but removing anyway as you requested: 226s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 226s libbpf1:s390x depends on libelf1 (>= 0.144). 226s iproute2 depends on libelf1 (>= 0.131). 226s 226s (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 ... 51225 files and directories currently installed.) 226s Removing libelf1:s390x (0.190-1) ... 226s Selecting previously unselected package libelf1t64:s390x. 226s (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 ... 51220 files and directories currently installed.) 226s Preparing to unpack .../libelf1t64_0.190-1.1build2_s390x.deb ... 226s Unpacking libelf1t64:s390x (0.190-1.1build2) ... 226s Preparing to unpack .../readline-common_8.2-3.1_all.deb ... 226s Unpacking readline-common (8.2-3.1) over (8.2-3) ... 226s Preparing to unpack .../fdisk_2.39.3-9ubuntu2_s390x.deb ... 226s Unpacking fdisk (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 226s dpkg: libreadline8:s390x: dependency problems, but removing anyway as you requested: 226s wpasupplicant depends on libreadline8 (>= 6.0). 226s parted depends on libreadline8 (>= 6.0). 226s libpython3.12-stdlib:s390x depends on libreadline8 (>= 7.0~beta). 226s gpgsm depends on libreadline8 (>= 6.0). 226s gpgconf depends on libreadline8 (>= 6.0). 226s gpg depends on libreadline8 (>= 6.0). 226s gawk depends on libreadline8 (>= 6.0). 226s 226s (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 ... 51225 files and directories currently installed.) 226s Removing libreadline8:s390x (8.2-3) ... 226s Selecting previously unselected package libreadline8t64:s390x. 226s (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 ... 51213 files and directories currently installed.) 226s Preparing to unpack .../libreadline8t64_8.2-3.1_s390x.deb ... 226s Adding 'diversion of /lib/s390x-linux-gnu/libhistory.so.8 to /lib/s390x-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' 226s Adding 'diversion of /lib/s390x-linux-gnu/libhistory.so.8.2 to /lib/s390x-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' 226s Adding 'diversion of /lib/s390x-linux-gnu/libreadline.so.8 to /lib/s390x-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' 226s Adding 'diversion of /lib/s390x-linux-gnu/libreadline.so.8.2 to /lib/s390x-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' 226s Unpacking libreadline8t64:s390x (8.2-3.1) ... 226s Preparing to unpack .../mount_2.39.3-9ubuntu2_s390x.deb ... 226s Unpacking mount (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 226s Preparing to unpack .../libuuid1_2.39.3-9ubuntu2_s390x.deb ... 226s Unpacking libuuid1:s390x (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 226s Setting up libuuid1:s390x (2.39.3-9ubuntu2) ... 226s (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 ... 51233 files and directories currently installed.) 226s Preparing to unpack .../uuid-runtime_2.39.3-9ubuntu2_s390x.deb ... 226s Unpacking uuid-runtime (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 226s Preparing to unpack .../libblkid1_2.39.3-9ubuntu2_s390x.deb ... 226s Unpacking libblkid1:s390x (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 226s Setting up libblkid1:s390x (2.39.3-9ubuntu2) ... 226s (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 ... 51233 files and directories currently installed.) 226s Preparing to unpack .../libselinux1_3.5-2ubuntu1_s390x.deb ... 226s Unpacking libselinux1:s390x (3.5-2ubuntu1) over (3.5-2build1) ... 226s Setting up libselinux1:s390x (3.5-2ubuntu1) ... 226s (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 ... 51233 files and directories currently installed.) 226s Preparing to unpack .../libmount1_2.39.3-9ubuntu2_s390x.deb ... 226s Unpacking libmount1:s390x (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 226s Setting up libmount1:s390x (2.39.3-9ubuntu2) ... 226s Selecting previously unselected package gcc-13-base:s390x. 226s (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 ... 51233 files and directories currently installed.) 226s Preparing to unpack .../00-gcc-13-base_13.2.0-19ubuntu1_s390x.deb ... 226s Unpacking gcc-13-base:s390x (13.2.0-19ubuntu1) ... 226s Preparing to unpack .../01-eject_2.39.3-9ubuntu2_s390x.deb ... 226s Unpacking eject (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 226s Preparing to unpack .../02-libfdisk1_2.39.3-9ubuntu2_s390x.deb ... 226s Unpacking libfdisk1:s390x (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 226s Preparing to unpack .../03-libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 226s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 226s Preparing to unpack .../04-locales_2.39-0ubuntu6_all.deb ... 226s Unpacking locales (2.39-0ubuntu6) over (2.39-0ubuntu2) ... 226s Preparing to unpack .../05-bsdextrautils_2.39.3-9ubuntu2_s390x.deb ... 226s Unpacking bsdextrautils (2.39.3-9ubuntu2) over (2.39.3-6ubuntu2) ... 226s Selecting previously unselected package libc-dev-bin. 226s Preparing to unpack .../06-libc-dev-bin_2.39-0ubuntu6_s390x.deb ... 226s Unpacking libc-dev-bin (2.39-0ubuntu6) ... 226s Selecting previously unselected package linux-libc-dev:s390x. 226s Preparing to unpack .../07-linux-libc-dev_6.8.0-20.20_s390x.deb ... 226s Unpacking linux-libc-dev:s390x (6.8.0-20.20) ... 227s Selecting previously unselected package libcrypt-dev:s390x. 227s Preparing to unpack .../08-libcrypt-dev_1%3a4.4.36-4_s390x.deb ... 227s Unpacking libcrypt-dev:s390x (1:4.4.36-4) ... 227s Selecting previously unselected package rpcsvc-proto. 227s Preparing to unpack .../09-rpcsvc-proto_1.4.2-0ubuntu6_s390x.deb ... 227s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 227s Selecting previously unselected package libc6-dev:s390x. 227s Preparing to unpack .../10-libc6-dev_2.39-0ubuntu6_s390x.deb ... 227s Unpacking libc6-dev:s390x (2.39-0ubuntu6) ... 227s Selecting previously unselected package libisl23:s390x. 227s Preparing to unpack .../11-libisl23_0.26-3_s390x.deb ... 227s Unpacking libisl23:s390x (0.26-3) ... 227s Selecting previously unselected package libmpc3:s390x. 227s Preparing to unpack .../12-libmpc3_1.3.1-1_s390x.deb ... 227s Unpacking libmpc3:s390x (1.3.1-1) ... 227s Selecting previously unselected package cpp-13-s390x-linux-gnu. 227s Preparing to unpack .../13-cpp-13-s390x-linux-gnu_13.2.0-19ubuntu1_s390x.deb ... 227s Unpacking cpp-13-s390x-linux-gnu (13.2.0-19ubuntu1) ... 227s Selecting previously unselected package cpp-13. 227s Preparing to unpack .../14-cpp-13_13.2.0-19ubuntu1_s390x.deb ... 227s Unpacking cpp-13 (13.2.0-19ubuntu1) ... 227s Selecting previously unselected package cpp-s390x-linux-gnu. 227s Preparing to unpack .../15-cpp-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 227s Unpacking cpp-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 227s Selecting previously unselected package cpp. 227s Preparing to unpack .../16-cpp_4%3a13.2.0-7ubuntu1_s390x.deb ... 227s Unpacking cpp (4:13.2.0-7ubuntu1) ... 227s Selecting previously unselected package libcc1-0:s390x. 227s Preparing to unpack .../17-libcc1-0_14-20240315-1ubuntu1_s390x.deb ... 227s Unpacking libcc1-0:s390x (14-20240315-1ubuntu1) ... 227s Selecting previously unselected package libgomp1:s390x. 227s Preparing to unpack .../18-libgomp1_14-20240315-1ubuntu1_s390x.deb ... 227s Unpacking libgomp1:s390x (14-20240315-1ubuntu1) ... 227s Selecting previously unselected package libitm1:s390x. 227s Preparing to unpack .../19-libitm1_14-20240315-1ubuntu1_s390x.deb ... 227s Unpacking libitm1:s390x (14-20240315-1ubuntu1) ... 227s Selecting previously unselected package libatomic1:s390x. 227s Preparing to unpack .../20-libatomic1_14-20240315-1ubuntu1_s390x.deb ... 227s Unpacking libatomic1:s390x (14-20240315-1ubuntu1) ... 227s Selecting previously unselected package libasan8:s390x. 227s Preparing to unpack .../21-libasan8_14-20240315-1ubuntu1_s390x.deb ... 227s Unpacking libasan8:s390x (14-20240315-1ubuntu1) ... 227s Selecting previously unselected package libubsan1:s390x. 227s Preparing to unpack .../22-libubsan1_14-20240315-1ubuntu1_s390x.deb ... 227s Unpacking libubsan1:s390x (14-20240315-1ubuntu1) ... 227s Selecting previously unselected package libgcc-13-dev:s390x. 227s Preparing to unpack .../23-libgcc-13-dev_13.2.0-19ubuntu1_s390x.deb ... 227s Unpacking libgcc-13-dev:s390x (13.2.0-19ubuntu1) ... 227s Selecting previously unselected package gcc-13-s390x-linux-gnu. 227s Preparing to unpack .../24-gcc-13-s390x-linux-gnu_13.2.0-19ubuntu1_s390x.deb ... 227s Unpacking gcc-13-s390x-linux-gnu (13.2.0-19ubuntu1) ... 228s Selecting previously unselected package gcc-13. 228s Preparing to unpack .../25-gcc-13_13.2.0-19ubuntu1_s390x.deb ... 228s Unpacking gcc-13 (13.2.0-19ubuntu1) ... 228s Selecting previously unselected package gcc-s390x-linux-gnu. 228s Preparing to unpack .../26-gcc-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 228s Unpacking gcc-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 228s Selecting previously unselected package gcc. 228s Preparing to unpack .../27-gcc_4%3a13.2.0-7ubuntu1_s390x.deb ... 228s Unpacking gcc (4:13.2.0-7ubuntu1) ... 228s Selecting previously unselected package libstdc++-13-dev:s390x. 228s Preparing to unpack .../28-libstdc++-13-dev_13.2.0-19ubuntu1_s390x.deb ... 228s Unpacking libstdc++-13-dev:s390x (13.2.0-19ubuntu1) ... 228s Selecting previously unselected package g++-13-s390x-linux-gnu. 228s Preparing to unpack .../29-g++-13-s390x-linux-gnu_13.2.0-19ubuntu1_s390x.deb ... 228s Unpacking g++-13-s390x-linux-gnu (13.2.0-19ubuntu1) ... 229s Selecting previously unselected package g++-13. 229s Preparing to unpack .../30-g++-13_13.2.0-19ubuntu1_s390x.deb ... 229s Unpacking g++-13 (13.2.0-19ubuntu1) ... 229s Selecting previously unselected package g++-s390x-linux-gnu. 229s Preparing to unpack .../31-g++-s390x-linux-gnu_4%3a13.2.0-7ubuntu1_s390x.deb ... 229s Unpacking g++-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 229s Selecting previously unselected package g++. 229s Preparing to unpack .../32-g++_4%3a13.2.0-7ubuntu1_s390x.deb ... 229s Unpacking g++ (4:13.2.0-7ubuntu1) ... 229s Selecting previously unselected package build-essential. 229s Preparing to unpack .../33-build-essential_12.10ubuntu1_s390x.deb ... 229s Unpacking build-essential (12.10ubuntu1) ... 229s Selecting previously unselected package libgirepository-2.0-0:s390x. 229s Preparing to unpack .../34-libgirepository-2.0-0_2.79.3-3ubuntu5_s390x.deb ... 229s Unpacking libgirepository-2.0-0:s390x (2.79.3-3ubuntu5) ... 229s Selecting previously unselected package libglib2.0-bin. 229s Preparing to unpack .../35-libglib2.0-bin_2.79.3-3ubuntu5_s390x.deb ... 229s Unpacking libglib2.0-bin (2.79.3-3ubuntu5) ... 229s Selecting previously unselected package libffi-dev:s390x. 229s Preparing to unpack .../36-libffi-dev_3.4.6-1_s390x.deb ... 229s Unpacking libffi-dev:s390x (3.4.6-1) ... 229s Selecting previously unselected package python3-packaging. 229s Preparing to unpack .../37-python3-packaging_23.2-1_all.deb ... 229s Unpacking python3-packaging (23.2-1) ... 229s Selecting previously unselected package libglib2.0-dev-bin. 229s Preparing to unpack .../38-libglib2.0-dev-bin_2.79.3-3ubuntu5_s390x.deb ... 229s Unpacking libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 229s Selecting previously unselected package uuid-dev:s390x. 229s Preparing to unpack .../39-uuid-dev_2.39.3-9ubuntu2_s390x.deb ... 229s Unpacking uuid-dev:s390x (2.39.3-9ubuntu2) ... 229s Selecting previously unselected package libblkid-dev:s390x. 229s Preparing to unpack .../40-libblkid-dev_2.39.3-9ubuntu2_s390x.deb ... 229s Unpacking libblkid-dev:s390x (2.39.3-9ubuntu2) ... 229s Selecting previously unselected package libsepol-dev:s390x. 229s Preparing to unpack .../41-libsepol-dev_3.5-2_s390x.deb ... 229s Unpacking libsepol-dev:s390x (3.5-2) ... 229s Selecting previously unselected package libpcre2-16-0:s390x. 229s Preparing to unpack .../42-libpcre2-16-0_10.42-4ubuntu1_s390x.deb ... 229s Unpacking libpcre2-16-0:s390x (10.42-4ubuntu1) ... 229s Selecting previously unselected package libpcre2-32-0:s390x. 229s Preparing to unpack .../43-libpcre2-32-0_10.42-4ubuntu1_s390x.deb ... 229s Unpacking libpcre2-32-0:s390x (10.42-4ubuntu1) ... 229s Selecting previously unselected package libpcre2-posix3:s390x. 229s Preparing to unpack .../44-libpcre2-posix3_10.42-4ubuntu1_s390x.deb ... 229s Unpacking libpcre2-posix3:s390x (10.42-4ubuntu1) ... 229s Selecting previously unselected package libpcre2-dev:s390x. 229s Preparing to unpack .../45-libpcre2-dev_10.42-4ubuntu1_s390x.deb ... 229s Unpacking libpcre2-dev:s390x (10.42-4ubuntu1) ... 229s Selecting previously unselected package libselinux1-dev:s390x. 229s Preparing to unpack .../46-libselinux1-dev_3.5-2ubuntu1_s390x.deb ... 229s Unpacking libselinux1-dev:s390x (3.5-2ubuntu1) ... 229s Selecting previously unselected package libmount-dev:s390x. 229s Preparing to unpack .../47-libmount-dev_2.39.3-9ubuntu2_s390x.deb ... 229s Unpacking libmount-dev:s390x (2.39.3-9ubuntu2) ... 229s Selecting previously unselected package libpkgconf3:s390x. 229s Preparing to unpack .../48-libpkgconf3_1.8.1-2_s390x.deb ... 229s Unpacking libpkgconf3:s390x (1.8.1-2) ... 229s Selecting previously unselected package pkgconf-bin. 229s Preparing to unpack .../49-pkgconf-bin_1.8.1-2_s390x.deb ... 229s Unpacking pkgconf-bin (1.8.1-2) ... 229s Selecting previously unselected package pkgconf:s390x. 229s Preparing to unpack .../50-pkgconf_1.8.1-2_s390x.deb ... 229s Unpacking pkgconf:s390x (1.8.1-2) ... 229s Selecting previously unselected package zlib1g-dev:s390x. 229s Preparing to unpack .../51-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu1_s390x.deb ... 229s Unpacking zlib1g-dev:s390x (1:1.3.dfsg-3.1ubuntu1) ... 229s Selecting previously unselected package libglib2.0-dev:s390x. 229s Preparing to unpack .../52-libglib2.0-dev_2.79.3-3ubuntu5_s390x.deb ... 229s Unpacking libglib2.0-dev:s390x (2.79.3-3ubuntu5) ... 229s Selecting previously unselected package autopkgtest-satdep. 229s Preparing to unpack .../53-1-autopkgtest-satdep.deb ... 229s Unpacking autopkgtest-satdep (0) ... 229s Setting up bsdextrautils (2.39.3-9ubuntu2) ... 229s Setting up libgirepository-2.0-0:s390x (2.79.3-3ubuntu5) ... 229s Setting up linux-libc-dev:s390x (6.8.0-20.20) ... 229s Setting up libgomp1:s390x (14-20240315-1ubuntu1) ... 229s Setting up libffi-dev:s390x (3.4.6-1) ... 229s Setting up locales (2.39-0ubuntu6) ... 229s Generating locales (this might take a while)... 231s en_US.UTF-8... done 231s Generation complete. 231s Setting up libpcre2-16-0:s390x (10.42-4ubuntu1) ... 231s Setting up libelf1t64:s390x (0.190-1.1build2) ... 231s Setting up eject (2.39.3-9ubuntu2) ... 231s Setting up libpcre2-32-0:s390x (10.42-4ubuntu1) ... 231s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 231s Setting up python3-packaging (23.2-1) ... 231s Setting up libpkgconf3:s390x (1.8.1-2) ... 231s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 231s Setting up gcc-13-base:s390x (13.2.0-19ubuntu1) ... 231s Setting up libmpc3:s390x (1.3.1-1) ... 231s Setting up libatomic1:s390x (14-20240315-1ubuntu1) ... 231s Setting up libsepol-dev:s390x (3.5-2) ... 231s Setting up pkgconf-bin (1.8.1-2) ... 231s Setting up libfdisk1:s390x (2.39.3-9ubuntu2) ... 231s Setting up libubsan1:s390x (14-20240315-1ubuntu1) ... 231s Setting up libpcre2-posix3:s390x (10.42-4ubuntu1) ... 231s Setting up mount (2.39.3-9ubuntu2) ... 231s Setting up uuid-runtime (2.39.3-9ubuntu2) ... 232s uuidd.service is a disabled or a static unit not running, not starting it. 232s Setting up libcrypt-dev:s390x (1:4.4.36-4) ... 232s Setting up libasan8:s390x (14-20240315-1ubuntu1) ... 232s Setting up libisl23:s390x (0.26-3) ... 232s Setting up libc-dev-bin (2.39-0ubuntu6) ... 232s Setting up readline-common (8.2-3.1) ... 232s Setting up libcc1-0:s390x (14-20240315-1ubuntu1) ... 232s Setting up libitm1:s390x (14-20240315-1ubuntu1) ... 232s Setting up util-linux-extra (2.39.3-9ubuntu2) ... 232s Setting up libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 232s Setting up libglib2.0-bin (2.79.3-3ubuntu5) ... 232s Setting up pkgconf:s390x (1.8.1-2) ... 232s Setting up cpp-13-s390x-linux-gnu (13.2.0-19ubuntu1) ... 232s Setting up libreadline8t64:s390x (8.2-3.1) ... 232s Setting up libgcc-13-dev:s390x (13.2.0-19ubuntu1) ... 232s Setting up libc6-dev:s390x (2.39-0ubuntu6) ... 232s Setting up libstdc++-13-dev:s390x (13.2.0-19ubuntu1) ... 232s Setting up libpcre2-dev:s390x (10.42-4ubuntu1) ... 232s Setting up cpp-13 (13.2.0-19ubuntu1) ... 232s Setting up cpp-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 232s Setting up libselinux1-dev:s390x (3.5-2ubuntu1) ... 232s Setting up fdisk (2.39.3-9ubuntu2) ... 232s Setting up gcc-13-s390x-linux-gnu (13.2.0-19ubuntu1) ... 232s Setting up gcc-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 232s Setting up uuid-dev:s390x (2.39.3-9ubuntu2) ... 232s Setting up g++-13-s390x-linux-gnu (13.2.0-19ubuntu1) ... 232s Setting up gcc-13 (13.2.0-19ubuntu1) ... 232s Setting up zlib1g-dev:s390x (1:1.3.dfsg-3.1ubuntu1) ... 232s Setting up cpp (4:13.2.0-7ubuntu1) ... 232s Setting up libblkid-dev:s390x (2.39.3-9ubuntu2) ... 232s Setting up g++-13 (13.2.0-19ubuntu1) ... 232s Setting up g++-s390x-linux-gnu (4:13.2.0-7ubuntu1) ... 232s Setting up gcc (4:13.2.0-7ubuntu1) ... 232s Setting up g++ (4:13.2.0-7ubuntu1) ... 232s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 232s Setting up build-essential (12.10ubuntu1) ... 232s Setting up libmount-dev:s390x (2.39.3-9ubuntu2) ... 232s Setting up libglib2.0-dev:s390x (2.79.3-3ubuntu5) ... 232s Processing triggers for libc-bin (2.39-0ubuntu6) ... 232s Processing triggers for man-db (2.12.0-3) ... 233s Processing triggers for libglib2.0-0t64:s390x (2.79.3-3ubuntu5) ... 233s No schema files found: doing nothing. 233s Processing triggers for install-info (7.1-3) ... 233s Setting up autopkgtest-satdep (0) ... 236s (Reading database ... 54927 files and directories currently installed.) 236s Removing autopkgtest-satdep (0) ... 237s autopkgtest [18:22:14]: test build: [----------------------- 237s + mode=dynamic 237s + getopt -o --long static -n debian/tests/build -- 237s + getopt_temp= -- 237s + eval set -- -- 237s + set -- -- 237s + true 237s + shift 237s + break 237s + mktemp -d 237s + WORKDIR=/tmp/tmp.pgS2PscOrT 237s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 237s + cd /tmp/tmp.pgS2PscOrT 237s + [ -n ] 237s + CROSS_COMPILE= 237s + cat 237s + cat 237s + cat 237s + cat 237s + cat 237s + cat 237s + cflags= 237s + pcflags= 237s + packages=glib-2.0 237s + pkg-config --cflags --libs glib-2.0 237s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -lglib-2.0 237s + echo build (glib, dynamic): OK 237s + [ -x glib-dynamic ] 237s + foo=bar ./glib-dynamic 237s + echo run (glib, dynamic): OK 237s + cflags= 237s + pcflags= 237s + packages=gobject-2.0 237s + pkg-config --cflags --libs gobject-2.0 237s build (glib, dynamic): OK 237s run (glib, dynamic): OK 237s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -lgobject-2.0 -lglib-2.0 237s build (gobject, dynamic): OK 237s run (gobject, dynamic): OK 237s + echo build (gobject, dynamic): OK 237s + [ -x gobject-dynamic ] 237s + foo=bar ./gobject-dynamic 237s + echo run (gobject, dynamic): OK 237s + cflags= 237s + pcflags= 237s + packages=gio-2.0 237s + pkg-config --cflags --libs gio-2.0 237s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 237s build (gio, dynamic): OK 237s + echo build (gio, dynamic): OK 237s + [ -x gio-dynamic ] 237s + foo=bar ./gio-dynamic 237s + echo run (gio, dynamic): OK 237s run (gio, dynamic): OK 237s + cflags= 237s + pcflags= 237s + packages=gio-unix-2.0 237s + pkg-config --cflags --libs gio-unix-2.0 237s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -lgio-2.0 -lgobject-2.0 -lglib-2.0 237s build (gio-unix, dynamic): OK 237s + echo build (gio-unix, dynamic): OK 237s + [ -x gio-unix-dynamic ] 237s + foo=bar ./gio-unix-dynamic 237s + echo run (gio-unix, dynamic): OK 237s + cflags= 237s + pcflags= 237s + packages=gmodule-2.0 237s + pkg-config --cflags --libsrun (gio-unix, dynamic): OK 237s gmodule-2.0 237s + gcc -o gmodule-dynamic gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 237s + echo build (gmodule, dynamic): OK 237s + [ -x gmodule-dynamic ] 237s + foo=bar ./gmodule-dynamic 237s + echo run (gmodule, dynamic): OK 237s + cflags= 237s + pcflags= 237s + packages=gthread-2.0 237s + pkg-config --cflags --libsbuild (gmodule, dynamic): OK 237s run (gmodule, dynamic): OK 237s gthread-2.0 237s + gcc -o gthread-dynamic gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 237s build (gthread, dynamic): OK 237s run (gthread, dynamic): OK 237s + echo build (gthread, dynamic): OK 237s + [ -x gthread-dynamic ] 237s + foo=bar ./gthread-dynamic 237s + echo run (gthread, dynamic): OK 237s + rm -rf /tmp/tmp.pgS2PscOrT 238s autopkgtest [18:22:15]: test build: -----------------------] 238s build PASS (superficial) 238s autopkgtest [18:22:15]: test build: - - - - - - - - - - results - - - - - - - - - - 239s autopkgtest [18:22:16]: test build-static: preparing testbed 248s Reading package lists... 248s Building dependency tree... 248s Reading state information... 248s Starting pkgProblemResolver with broken count: 0 248s Starting 2 pkgProblemResolver with broken count: 0 248s Done 249s The following NEW packages will be installed: 249s autopkgtest-satdep 249s 0 upgraded, 1 newly installed, 0 to remove and 210 not upgraded. 249s Need to get 0 B/724 B of archives. 249s After this operation, 0 B of additional disk space will be used. 249s Get:1 /tmp/autopkgtest.Juhcat/2-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [724 B] 249s Selecting previously unselected package autopkgtest-satdep. 249s (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 ... 54927 files and directories currently installed.) 249s Preparing to unpack .../2-autopkgtest-satdep.deb ... 249s Unpacking autopkgtest-satdep (0) ... 249s Setting up autopkgtest-satdep (0) ... 251s (Reading database ... 54927 files and directories currently installed.) 251s Removing autopkgtest-satdep (0) ... 252s autopkgtest [18:22:29]: test build-static: [----------------------- 252s + mode=dynamic 252s + getopt -o --long static -n debian/tests/build -- --static 252s + getopt_temp= --static -- 252s + eval set -- --static -- 252s + set -- --static -- 252s + true 252s + mode=static 252s + shift 252s + continue 252s + true 252s + shift 252s + break 252s + mktemp -d 252s + WORKDIR=/tmp/tmp.mPih5BYQF0 252s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 252s + cd /tmp/tmp.mPih5BYQF0 252s + [ -n ] 252s + CROSS_COMPILE= 252s + cat 252s + cat 252s + cat 252s + cat 252s + cat 252s + cat 252s + cflags= 252s + pcflags= 252s + packages=glib-2.0 252s + cflags=-static 252s + pcflags=--static 252s + pkg-config --static --cflags --libs glib-2.0 252s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -lglib-2.0 -lm -pthread -lpcre2-8 252s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/13/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 252s (.text+0xfc): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 252s /usr/bin/ld: (.text+0x2ba): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 252s /usr/bin/ld: (.text+0x13a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 252s + echo build (glib, static): OK 252s + [ -x glib-static ] 252s + foo=bar ./glib-static 252s + echo run (glib, static): OK 252s + cflags= 252s + pcflags= 252s + packages=gobject-2.0 252s + cflags=-static 252s + pcflags=--static 252s + pkg-config --static --cflags --libs gobject-2.0 252s build (glib, static): OK 252s run (glib, static): OK 252s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -lgobject-2.0 -lglib-2.0 -lm -pthread -lpcre2-8 -lffi 253s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/13/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 253s (.text+0xfc): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 253s /usr/bin/ld: (.text+0x2ba): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 253s /usr/bin/ld: (.text+0x13a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 253s build (gobject, static): OK 253s + echo build (gobject, static): OK 253s + [ -x gobject-static ] 253s + foo=bar ./gobject-static 253s + echorun (gobject, static): OK 253s run (gobject, static): OK 253s + cflags= 253s + pcflags= 253s + packages=gio-2.0 253s + cflags=-static 253s + pcflags=--static 253s + continue 253s + cflags= 253s + pcflags= 253s + packages=gio-unix-2.0 253s + cflags=-static 253s + pcflags=--static 253s + continue 253s + cflags= 253s + pcflags= 253s + packages=gmodule-2.0 253s + cflags=-static 253s + pcflags=--static 253s + pkg-config --static --cflags --libs gmodule-2.0 253s + gcc -static -o gmodule-static gmodule.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/s390x-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 253s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/13/../../../s390x-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 253s (.text+0x6b4): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 253s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/13/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 253s (.text+0xfc): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 253s /usr/bin/ld: (.text+0x2ba): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 253s /usr/bin/ld: (.text+0x13a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 253s + echo build (gmodule, static): OK 253s build (gmodule, static): OK 253s + [ -x gmodule-static ] 253s + foo=bar ./gmodule-static 253s run (gmodule, static): OK 253s + echo run (gmodule, static): OK 253s + cflags= 253s + pcflags= 253s + packages=gthread-2.0 253s + cflags=-static 253s + pcflags=--static 253s + pkg-config --static --cflags --libs gthread-2.0 253s + gcc -static -o gthread-static gthread.c -pthread -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -lgthread-2.0 -pthread -lglib-2.0 -lm -pthread -lpcre2-8 253s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/13/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 253s (.text+0xfc): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 253s /usr/bin/ld: (.text+0x2ba): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 253s /usr/bin/ld: (.text+0x13a): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 253s build (gthread, static): OK 253s run (gthread, static): OK 253s + echo build (gthread, static): OK 253s + [ -x gthread-static ] 253s + foo=bar ./gthread-static 253s + echo run (gthread, static): OK 253s + rm -rf /tmp/tmp.mPih5BYQF0 253s autopkgtest [18:22:30]: test build-static: -----------------------] 254s build-static PASS (superficial) 254s autopkgtest [18:22:31]: test build-static: - - - - - - - - - - results - - - - - - - - - - 254s autopkgtest [18:22:31]: test installed-tests: preparing testbed 346s autopkgtest [18:24:03]: testbed dpkg architecture: s390x 346s autopkgtest [18:24:03]: testbed apt version: 2.7.12 346s autopkgtest [18:24:03]: @@@@@@@@@@@@@@@@@@@@ test bed setup 346s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 347s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [53.9 kB] 347s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 347s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3809 kB] 347s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [501 kB] 347s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x Packages [679 kB] 347s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x c-n-f Metadata [3032 B] 347s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x Packages [1372 B] 347s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted s390x c-n-f Metadata [116 B] 347s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x Packages [4058 kB] 347s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x c-n-f Metadata [7292 B] 347s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x Packages [45.3 kB] 347s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse s390x c-n-f Metadata [116 B] 349s Fetched 9282 kB in 2s (3817 kB/s) 350s Reading package lists... 352s Reading package lists... 352s Building dependency tree... 352s Reading state information... 353s Calculating upgrade... 353s The following packages were automatically installed and are no longer required: 353s apport-symptoms libgirepository-1.0-1 python3-apport python3-httplib2 353s python3-jaraco.classes python3-jeepney python3-keyring python3-launchpadlib 353s python3-lazr.restfulclient python3-lazr.uri python3-problem-report 353s python3-pyparsing python3-secretstorage python3-shtab python3-six 353s python3-systemd python3-wadllib 353s Use 'sudo apt autoremove' to remove them. 353s The following packages will be REMOVED: 353s apport apport-core-dump-handler gir1.2-girepository-2.0 gir1.2-glib-2.0 353s libglib2.0-0 networkd-dispatcher python3-gi 353s The following NEW packages will be installed: 353s libglib2.0-0t64 xdg-user-dirs 353s The following packages will be upgraded: 353s shared-mime-info ubuntu-minimal ubuntu-standard 353s 3 upgraded, 2 newly installed, 7 to remove and 0 not upgraded. 353s Need to get 2079 kB of archives. 353s After this operation, 2690 kB disk space will be freed. 353s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main s390x shared-mime-info s390x 2.4-1build1 [474 kB] 353s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-0t64 s390x 2.79.3-3ubuntu5 [1566 kB] 353s Get:3 http://ftpmaster.internal/ubuntu noble/main s390x ubuntu-minimal s390x 1.536build1 [10.7 kB] 353s Get:4 http://ftpmaster.internal/ubuntu noble/main s390x xdg-user-dirs s390x 0.18-1 [18.5 kB] 353s Get:5 http://ftpmaster.internal/ubuntu noble/main s390x ubuntu-standard s390x 1.536build1 [10.7 kB] 354s Fetched 2079 kB in 1s (3047 kB/s) 354s (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 ... 51778 files and directories currently installed.) 354s Removing networkd-dispatcher (2.2.4-1) ... 354s Removing apport-core-dump-handler (2.28.0-0ubuntu1) ... 355s Removing apport (2.28.0-0ubuntu1) ... 355s Removing python3-gi (3.47.0-3) ... 355s Removing gir1.2-girepository-2.0:s390x (1.79.1-1) ... 355s Removing gir1.2-glib-2.0:s390x (2.79.2-1~ubuntu1) ... 355s (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 ... 51609 files and directories currently installed.) 355s Preparing to unpack .../shared-mime-info_2.4-1build1_s390x.deb ... 355s Unpacking shared-mime-info (2.4-1build1) over (2.4-1) ... 355s dpkg: libglib2.0-0:s390x: dependency problems, but removing anyway as you requested: 355s udisks2 depends on libglib2.0-0 (>= 2.77.0). 355s s390-tools depends on libglib2.0-0 (>= 2.77.0). 355s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 355s netplan.io depends on libglib2.0-0 (>= 2.70.0). 355s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 355s libxmlb2:s390x depends on libglib2.0-0 (>= 2.54.0). 355s libvolume-key1:s390x depends on libglib2.0-0 (>= 2.18.0). 355s libudisks2-0:s390x depends on libglib2.0-0 (>= 2.75.3). 355s libqrtr-glib0:s390x depends on libglib2.0-0 (>= 2.56). 355s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 355s libqmi-glib5:s390x depends on libglib2.0-0 (>= 2.54.0). 355s libpolkit-gobject-1-0:s390x depends on libglib2.0-0 (>= 2.38.0). 355s libpolkit-agent-1-0:s390x depends on libglib2.0-0 (>= 2.38.0). 355s libnetplan0:s390x depends on libglib2.0-0 (>= 2.75.3). 355s libmm-glib0:s390x depends on libglib2.0-0 (>= 2.62.0). 355s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 355s libmbim-glib4:s390x depends on libglib2.0-0 (>= 2.56). 355s libjson-glib-1.0-0:s390x depends on libglib2.0-0 (>= 2.75.3). 355s libjcat1:s390x depends on libglib2.0-0 (>= 2.75.3). 355s libgusb2:s390x depends on libglib2.0-0 (>= 2.75.3). 355s libgudev-1.0-0:s390x depends on libglib2.0-0 (>= 2.38.0). 355s libgirepository-1.0-1:s390x depends on libglib2.0-0 (>= 2.79.0). 355s libfwupd2:s390x depends on libglib2.0-0 (>= 2.79.0). 355s libblockdev3:s390x depends on libglib2.0-0 (>= 2.42.2). 355s libblockdev-utils3:s390x depends on libglib2.0-0 (>= 2.75.3). 355s libblockdev-swap3:s390x depends on libglib2.0-0 (>= 2.42.2). 355s libblockdev-part3:s390x depends on libglib2.0-0 (>= 2.42.2). 355s libblockdev-nvme3:s390x depends on libglib2.0-0 (>= 2.42.2). 355s libblockdev-mdraid3:s390x depends on libglib2.0-0 (>= 2.42.2). 355s libblockdev-loop3:s390x depends on libglib2.0-0 (>= 2.42.2). 355s libblockdev-fs3:s390x depends on libglib2.0-0 (>= 2.42.2). 355s libblockdev-crypto3:s390x depends on libglib2.0-0 (>= 2.42.2). 355s fwupd depends on libglib2.0-0 (>= 2.79.0). 355s bolt depends on libglib2.0-0 (>= 2.56.0). 355s 356s (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 ... 51609 files and directories currently installed.) 356s Removing libglib2.0-0:s390x (2.79.2-1~ubuntu1) ... 356s Selecting previously unselected package libglib2.0-0t64:s390x. 356s (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 ... 51584 files and directories currently installed.) 356s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu5_s390x.deb ... 356s libglib2.0-0t64.preinst: Removing /var/lib/dpkg/info/libglib2.0-0:s390x.postrm to avoid loss of /usr/share/glib-2.0/schemas/gschemas.compiled... 356s removed '/var/lib/dpkg/info/libglib2.0-0:s390x.postrm' 356s Unpacking libglib2.0-0t64:s390x (2.79.3-3ubuntu5) ... 356s Preparing to unpack .../ubuntu-minimal_1.536build1_s390x.deb ... 356s Unpacking ubuntu-minimal (1.536build1) over (1.536) ... 356s Selecting previously unselected package xdg-user-dirs. 356s Preparing to unpack .../xdg-user-dirs_0.18-1_s390x.deb ... 356s Unpacking xdg-user-dirs (0.18-1) ... 356s Preparing to unpack .../ubuntu-standard_1.536build1_s390x.deb ... 356s Unpacking ubuntu-standard (1.536build1) over (1.536) ... 356s Setting up ubuntu-minimal (1.536build1) ... 356s Setting up xdg-user-dirs (0.18-1) ... 356s Setting up ubuntu-standard (1.536build1) ... 356s Setting up libglib2.0-0t64:s390x (2.79.3-3ubuntu5) ... 356s No schema files found: doing nothing. 356s Setting up shared-mime-info (2.4-1build1) ... 356s Processing triggers for man-db (2.12.0-3) ... 357s Processing triggers for libc-bin (2.39-0ubuntu2) ... 357s Reading package lists... 357s Building dependency tree... 357s Reading state information... 358s The following packages will be REMOVED: 358s apport-symptoms* libgirepository-1.0-1* python3-apport* python3-httplib2* 358s python3-jaraco.classes* python3-jeepney* python3-keyring* 358s python3-launchpadlib* python3-lazr.restfulclient* python3-lazr.uri* 358s python3-problem-report* python3-pyparsing* python3-secretstorage* 358s python3-shtab* python3-six* python3-systemd* python3-wadllib* 358s 0 upgraded, 0 newly installed, 17 to remove and 0 not upgraded. 358s After this operation, 4697 kB disk space will be freed. 358s (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 ... 51623 files and directories currently installed.) 358s Removing apport-symptoms (0.24) ... 358s Removing libgirepository-1.0-1:s390x (1.79.1-1) ... 358s Removing python3-apport (2.28.0-0ubuntu1) ... 358s Removing python3-launchpadlib (1.11.0-6) ... 358s Removing python3-lazr.restfulclient (0.14.6-1) ... 358s Removing python3-httplib2 (0.20.4-3) ... 358s Removing python3-keyring (24.3.1-1) ... 358s Removing python3-jaraco.classes (3.2.1-4) ... 358s Removing python3-secretstorage (3.3.3-3) ... 358s Removing python3-jeepney (0.8.0-3) ... 358s Removing python3-wadllib (1.3.6-5) ... 358s Removing python3-lazr.uri (1.0.6-3) ... 358s Removing python3-problem-report (2.28.0-0ubuntu1) ... 358s Removing python3-pyparsing (3.1.1-1) ... 359s Removing python3-shtab (1.5.5-3) ... 359s Removing python3-six (1.16.0-4) ... 359s Removing python3-systemd (235-1build3) ... 359s Processing triggers for man-db (2.12.0-3) ... 359s Processing triggers for libc-bin (2.39-0ubuntu2) ... 359s (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 ... 51225 files and directories currently installed.) 359s Purging configuration files for python3-launchpadlib (1.11.0-6) ... 360s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 360s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 360s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 360s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 361s Reading package lists... 362s Reading package lists... 362s Building dependency tree... 362s Reading state information... 362s Calculating upgrade... 362s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 362s Reading package lists... 362s Building dependency tree... 362s Reading state information... 362s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 363s autopkgtest [18:24:20]: rebooting testbed after setup commands that affected boot 528s Reading package lists... 528s Building dependency tree... 528s Reading state information... 528s Starting pkgProblemResolver with broken count: 5 528s Starting 2 pkgProblemResolver with broken count: 5 528s Investigating (0) gir1.2-glib-2.0:s390x < none -> 2.79.2-1~ubuntu1 @un puN Ib > 528s Broken gir1.2-glib-2.0:s390x Depends on libglib2.0-0:s390x < none @rc pmH > (= 2.79.2-1~ubuntu1) 528s Considering libglib2.0-0:s390x 0 as a solution to gir1.2-glib-2.0:s390x 10 528s Investigating (0) libgirepository-2.0-0:s390x < none -> 2.79.2-1~ubuntu1 @un puN Ib > 528s Broken libgirepository-2.0-0:s390x Depends on libglib2.0-0:s390x < none @rc pmH > (= 2.79.2-1~ubuntu1) 528s Considering libglib2.0-0:s390x 0 as a solution to libgirepository-2.0-0:s390x 1 528s Investigating (0) libglib2.0-bin:s390x < none -> 2.79.2-1~ubuntu1 @un puN Ib > 528s Broken libglib2.0-bin:s390x Depends on libglib2.0-0:s390x < none @rc pmH > (= 2.79.2-1~ubuntu1) 528s Considering libglib2.0-0:s390x 0 as a solution to libglib2.0-bin:s390x 0 528s Investigating (0) libglib2.0-dev-bin:s390x < none -> 2.79.2-1~ubuntu1 @un puN Ib > 528s Broken libglib2.0-dev-bin:s390x Depends on libglib2.0-0:s390x < none @rc pmH > (= 2.79.2-1~ubuntu1) 528s Considering libglib2.0-0:s390x 0 as a solution to libglib2.0-dev-bin:s390x 0 528s Investigating (0) libglib2.0-tests:s390x < none -> 2.79.2-1~ubuntu1 @un puN Ib > 528s Broken libglib2.0-tests:s390x Depends on libglib2.0-0:s390x < none @rc pmH > (= 2.79.2-1~ubuntu1) 528s Considering libglib2.0-0:s390x 0 as a solution to libglib2.0-tests:s390x 0 528s Done 528s Some packages could not be installed. This may mean that you have 528s requested an impossible situation or if you are using the unstable 528s distribution that some required packages have not yet been created 528s or been moved out of Incoming. 528s The following information may help to resolve the situation: 528s 528s The following packages have unmet dependencies: 528s gir1.2-glib-2.0 : Depends: libglib2.0-0 (= 2.79.2-1~ubuntu1) 528s libgirepository-2.0-0 : Depends: libglib2.0-0 (= 2.79.2-1~ubuntu1) 528s libglib2.0-bin : Depends: libglib2.0-0 (= 2.79.2-1~ubuntu1) 528s libglib2.0-dev-bin : Depends: libglib2.0-0 (= 2.79.2-1~ubuntu1) 528s libglib2.0-tests : Depends: libglib2.0-0 (= 2.79.2-1~ubuntu1) 528s E: Unable to correct problems, you have held broken packages. 528s autopkgtest: WARNING: Test dependencies are unsatisfiable with using apt pinning. Retrying with using all packages from noble-proposed 529s Reading package lists... 529s Building dependency tree... 529s Reading state information... 529s Starting pkgProblemResolver with broken count: 0 529s Starting 2 pkgProblemResolver with broken count: 0 529s Done 529s The following additional packages will be installed: 529s dbus dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common 529s dbus-user-session dbus-x11 desktop-file-utils gir1.2-girepository-2.0 529s gir1.2-glib-2.0 gnome-desktop-testing libdbus-1-3 libdrm-amdgpu1 529s libdrm-nouveau2 libdrm-radeon1 libelf1t64 libfontenc1 libfreetype6 529s libgirepository-1.0-1 libgirepository-2.0-0 libgl1 libgl1-mesa-dri 529s libglapi-mesa libglib2.0-bin libglib2.0-data libglib2.0-dev-bin 529s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libllvm17t64 529s libpixman-1-0 libpng16-16t64 libsm6 libvulkan1 libx11-xcb1 libxaw7 529s libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 529s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 529s libxmu6 libxmuu1 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 529s libxxf86vm1 python3-dbusmock python3-gi python3-packaging x11-common 529s x11-xkb-utils xserver-common xvfb 529s Suggested packages: 529s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 529s Recommended packages: 529s libgl1-amber-dri xdg-desktop-portal mesa-vulkan-drivers | vulkan-icd 529s xfonts-base 529s The following packages will be REMOVED: 529s libelf1 libpng16-16 529s The following NEW packages will be installed: 529s autopkgtest-satdep dbus-x11 desktop-file-utils gir1.2-girepository-2.0 529s gir1.2-glib-2.0 gnome-desktop-testing libdrm-amdgpu1 libdrm-nouveau2 529s libdrm-radeon1 libelf1t64 libfontenc1 libfreetype6 libgirepository-1.0-1 529s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 529s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 529s libllvm17t64 libpixman-1-0 libpng16-16t64 libsm6 libvulkan1 libx11-xcb1 529s libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 529s libxcb-randr0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 529s libxkbfile1 libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 529s libxxf86vm1 python3-dbusmock python3-gi python3-packaging x11-common 529s x11-xkb-utils xserver-common xvfb 529s The following packages will be upgraded: 529s dbus dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common 529s dbus-user-session libdbus-1-3 libglib2.0-data libxmuu1 529s 9 upgraded, 56 newly installed, 2 to remove and 224 not upgraded. 529s Need to get 46.1 MB/46.1 MB of archives. 529s After this operation, 216 MB of additional disk space will be used. 529s Get:1 /tmp/autopkgtest.Juhcat/3-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 530s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libelf1t64 s390x 0.190-1.1build2 [69.7 kB] 530s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libpng16-16t64 s390x 1.6.43-3 [200 kB] 530s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus-session-bus-common all 1.14.10-4ubuntu2 [80.3 kB] 530s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus-user-session s390x 1.14.10-4ubuntu2 [9960 B] 530s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus-daemon s390x 1.14.10-4ubuntu2 [118 kB] 530s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus-bin s390x 1.14.10-4ubuntu2 [41.4 kB] 530s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus-system-bus-common all 1.14.10-4ubuntu2 [81.5 kB] 530s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus s390x 1.14.10-4ubuntu2 [24.3 kB] 530s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libdbus-1-3 s390x 1.14.10-4ubuntu2 [213 kB] 530s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gir1.2-glib-2.0 s390x 2.79.3-3ubuntu5 [180 kB] 530s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgirepository-1.0-1 s390x 1.79.1-1ubuntu6 [84.0 kB] 530s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-data all 2.79.3-3ubuntu5 [46.6 kB] 530s Get:14 http://ftpmaster.internal/ubuntu noble-proposed/main s390x gir1.2-girepository-2.0 s390x 1.79.1-1ubuntu6 [24.5 kB] 530s Get:15 http://ftpmaster.internal/ubuntu noble-proposed/main s390x python3-gi s390x 3.47.0-3build1 [236 kB] 530s Get:16 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxmuu1 s390x 2:1.1.3-3build1 [8860 B] 530s Get:17 http://ftpmaster.internal/ubuntu noble-proposed/main s390x dbus-x11 s390x 1.14.10-4ubuntu2 [24.0 kB] 530s Get:18 http://ftpmaster.internal/ubuntu noble-proposed/main s390x desktop-file-utils s390x 0.27-2 [54.3 kB] 530s Get:19 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x gnome-desktop-testing s390x 2021.1-3build1 [16.7 kB] 530s Get:20 http://ftpmaster.internal/ubuntu noble/main s390x libdrm-amdgpu1 s390x 2.4.120-2 [21.1 kB] 530s Get:21 http://ftpmaster.internal/ubuntu noble/main s390x libdrm-nouveau2 s390x 2.4.120-2 [18.5 kB] 530s Get:22 http://ftpmaster.internal/ubuntu noble/main s390x libdrm-radeon1 s390x 2.4.120-2 [22.7 kB] 530s Get:23 http://ftpmaster.internal/ubuntu noble/main s390x libfontenc1 s390x 1:1.1.8-1 [14.8 kB] 530s Get:24 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libfreetype6 s390x 2.13.2+dfsg-1build2 [437 kB] 530s Get:25 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgirepository-2.0-0 s390x 2.79.3-3ubuntu5 [75.4 kB] 530s Get:26 http://ftpmaster.internal/ubuntu noble/main s390x libvulkan1 s390x 1.3.275.0-1 [155 kB] 530s Get:27 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglapi-mesa s390x 24.0.2-1ubuntu8 [69.0 kB] 530s Get:28 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libllvm17t64 s390x 1:17.0.6-9build1 [31.2 MB] 531s Get:29 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-dri3-0 s390x 1.15-1 [7270 B] 531s Get:30 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libgl1-mesa-dri s390x 24.0.2-1ubuntu8 [7194 kB] 531s Get:31 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-bin s390x 2.79.3-3ubuntu5 [101 kB] 531s Get:32 http://ftpmaster.internal/ubuntu noble/main s390x python3-packaging all 23.2-1 [40.6 kB] 531s Get:33 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglib2.0-dev-bin s390x 2.79.3-3ubuntu5 [225 kB] 531s Get:34 http://ftpmaster.internal/ubuntu noble/universe s390x python3-dbusmock all 0.31.1-1 [85.5 kB] 531s Get:35 http://ftpmaster.internal/ubuntu noble-proposed/universe s390x libglib2.0-tests s390x 2.79.3-3ubuntu5 [2169 kB] 531s Get:36 http://ftpmaster.internal/ubuntu noble/main s390x libx11-xcb1 s390x 2:1.8.7-1 [7778 B] 531s Get:37 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-dri2-0 s390x 1.15-1 [7426 B] 531s Get:38 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-glx0 s390x 1.15-1 [25.8 kB] 531s Get:39 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-present0 s390x 1.15-1 [5752 B] 531s Get:40 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-randr0 s390x 1.15-1 [19.0 kB] 531s Get:41 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-shm0 s390x 1.15-1 [5782 B] 531s Get:42 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-sync1 s390x 1.15-1 [9392 B] 531s Get:43 http://ftpmaster.internal/ubuntu noble/main s390x libxcb-xfixes0 s390x 1.15-1 [10.5 kB] 531s Get:44 http://ftpmaster.internal/ubuntu noble/main s390x libxfixes3 s390x 1:6.0.0-2 [10.6 kB] 531s Get:45 http://ftpmaster.internal/ubuntu noble/main s390x libxshmfence1 s390x 1.3-1build4 [5334 B] 531s Get:46 http://ftpmaster.internal/ubuntu noble/main s390x libxxf86vm1 s390x 1:1.1.4-1build3 [9900 B] 531s Get:47 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libglx-mesa0 s390x 24.0.2-1ubuntu8 [192 kB] 531s Get:48 http://ftpmaster.internal/ubuntu noble/main s390x x11-common all 1:7.7+23ubuntu2 [23.4 kB] 531s Get:49 http://ftpmaster.internal/ubuntu noble/main s390x libice6 s390x 2:1.0.10-1build2 [40.8 kB] 531s Get:50 http://ftpmaster.internal/ubuntu noble/main s390x libpixman-1-0 s390x 0.42.2-1 [173 kB] 531s Get:51 http://ftpmaster.internal/ubuntu noble/main s390x libsm6 s390x 2:1.2.3-1build2 [16.9 kB] 531s Get:52 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxt6t64 s390x 1:1.2.1-1.2 [184 kB] 531s Get:53 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxmu6 s390x 2:1.1.3-3build1 [52.9 kB] 531s Get:54 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxpm4 s390x 1:3.5.17-1build1 [41.4 kB] 531s Get:55 http://ftpmaster.internal/ubuntu noble-proposed/main s390x libxaw7 s390x 2:1.0.14-1build1 [204 kB] 531s Get:56 http://ftpmaster.internal/ubuntu noble/main s390x libxfont2 s390x 1:2.0.6-1 [89.7 kB] 531s Get:57 http://ftpmaster.internal/ubuntu noble/main s390x libxkbfile1 s390x 1:1.1.0-1build3 [74.0 kB] 531s Get:58 http://ftpmaster.internal/ubuntu noble/main s390x libxrender1 s390x 1:0.9.10-1.1 [19.4 kB] 531s Get:59 http://ftpmaster.internal/ubuntu noble/main s390x libxrandr2 s390x 2:1.5.2-2 [19.5 kB] 531s Get:60 http://ftpmaster.internal/ubuntu noble-proposed/main s390x x11-xkb-utils s390x 7.7+8build1 [171 kB] 531s Get:61 http://ftpmaster.internal/ubuntu noble/main s390x xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 531s Get:62 http://ftpmaster.internal/ubuntu noble/main s390x libglvnd0 s390x 1.7.0-1 [106 kB] 531s Get:63 http://ftpmaster.internal/ubuntu noble/main s390x libglx0 s390x 1.7.0-1 [31.4 kB] 532s Get:64 http://ftpmaster.internal/ubuntu noble/main s390x libgl1 s390x 1.7.0-1 [137 kB] 532s Get:65 http://ftpmaster.internal/ubuntu noble/universe s390x xvfb s390x 2:21.1.11-2ubuntu1 [956 kB] 532s Fetched 46.1 MB in 2s (22.1 MB/s) 532s dpkg: libelf1:s390x: dependency problems, but removing anyway as you requested: 532s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 532s libbpf1:s390x depends on libelf1 (>= 0.144). 532s iproute2 depends on libelf1 (>= 0.131). 532s 532s (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 ... 51225 files and directories currently installed.) 532s Removing libelf1:s390x (0.190-1) ... 532s Selecting previously unselected package libelf1t64:s390x. 532s (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 ... 51220 files and directories currently installed.) 532s Preparing to unpack .../libelf1t64_0.190-1.1build2_s390x.deb ... 532s Unpacking libelf1t64:s390x (0.190-1.1build2) ... 532s dpkg: libpng16-16:s390x: dependency problems, but removing anyway as you requested: 532s libplymouth5:s390x depends on libpng16-16 (>= 1.6.2). 532s 532s (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 ... 51225 files and directories currently installed.) 532s Removing libpng16-16:s390x (1.6.43-1) ... 532s Selecting previously unselected package libpng16-16t64:s390x. 532s (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 ... 51215 files and directories currently installed.) 532s Preparing to unpack .../00-libpng16-16t64_1.6.43-3_s390x.deb ... 532s Unpacking libpng16-16t64:s390x (1.6.43-3) ... 532s Preparing to unpack .../01-dbus-session-bus-common_1.14.10-4ubuntu2_all.deb ... 532s Unpacking dbus-session-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 532s Preparing to unpack .../02-dbus-user-session_1.14.10-4ubuntu2_s390x.deb ... 532s Unpacking dbus-user-session (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 532s Preparing to unpack .../03-dbus-daemon_1.14.10-4ubuntu2_s390x.deb ... 532s Unpacking dbus-daemon (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 532s Preparing to unpack .../04-dbus-bin_1.14.10-4ubuntu2_s390x.deb ... 532s Unpacking dbus-bin (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 532s Preparing to unpack .../05-dbus-system-bus-common_1.14.10-4ubuntu2_all.deb ... 532s Unpacking dbus-system-bus-common (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 532s Preparing to unpack .../06-dbus_1.14.10-4ubuntu2_s390x.deb ... 532s Unpacking dbus (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 533s Preparing to unpack .../07-libdbus-1-3_1.14.10-4ubuntu2_s390x.deb ... 533s Unpacking libdbus-1-3:s390x (1.14.10-4ubuntu2) over (1.14.10-4ubuntu1) ... 533s Selecting previously unselected package gir1.2-glib-2.0:s390x. 533s Preparing to unpack .../08-gir1.2-glib-2.0_2.79.3-3ubuntu5_s390x.deb ... 533s Unpacking gir1.2-glib-2.0:s390x (2.79.3-3ubuntu5) ... 533s Selecting previously unselected package libgirepository-1.0-1:s390x. 533s Preparing to unpack .../09-libgirepository-1.0-1_1.79.1-1ubuntu6_s390x.deb ... 533s Unpacking libgirepository-1.0-1:s390x (1.79.1-1ubuntu6) ... 533s Preparing to unpack .../10-libglib2.0-data_2.79.3-3ubuntu5_all.deb ... 533s Unpacking libglib2.0-data (2.79.3-3ubuntu5) over (2.79.2-1~ubuntu1) ... 533s Selecting previously unselected package gir1.2-girepository-2.0:s390x. 533s Preparing to unpack .../11-gir1.2-girepository-2.0_1.79.1-1ubuntu6_s390x.deb ... 533s Unpacking gir1.2-girepository-2.0:s390x (1.79.1-1ubuntu6) ... 533s Selecting previously unselected package python3-gi. 533s Preparing to unpack .../12-python3-gi_3.47.0-3build1_s390x.deb ... 533s Unpacking python3-gi (3.47.0-3build1) ... 533s Preparing to unpack .../13-libxmuu1_2%3a1.1.3-3build1_s390x.deb ... 533s Unpacking libxmuu1:s390x (2:1.1.3-3build1) over (2:1.1.3-3) ... 533s Selecting previously unselected package dbus-x11. 533s Preparing to unpack .../14-dbus-x11_1.14.10-4ubuntu2_s390x.deb ... 533s Unpacking dbus-x11 (1.14.10-4ubuntu2) ... 533s Selecting previously unselected package desktop-file-utils. 533s Preparing to unpack .../15-desktop-file-utils_0.27-2_s390x.deb ... 533s Unpacking desktop-file-utils (0.27-2) ... 533s Selecting previously unselected package gnome-desktop-testing. 533s Preparing to unpack .../16-gnome-desktop-testing_2021.1-3build1_s390x.deb ... 533s Unpacking gnome-desktop-testing (2021.1-3build1) ... 533s Selecting previously unselected package libdrm-amdgpu1:s390x. 533s Preparing to unpack .../17-libdrm-amdgpu1_2.4.120-2_s390x.deb ... 533s Unpacking libdrm-amdgpu1:s390x (2.4.120-2) ... 533s Selecting previously unselected package libdrm-nouveau2:s390x. 533s Preparing to unpack .../18-libdrm-nouveau2_2.4.120-2_s390x.deb ... 533s Unpacking libdrm-nouveau2:s390x (2.4.120-2) ... 533s Selecting previously unselected package libdrm-radeon1:s390x. 533s Preparing to unpack .../19-libdrm-radeon1_2.4.120-2_s390x.deb ... 533s Unpacking libdrm-radeon1:s390x (2.4.120-2) ... 533s Selecting previously unselected package libfontenc1:s390x. 533s Preparing to unpack .../20-libfontenc1_1%3a1.1.8-1_s390x.deb ... 533s Unpacking libfontenc1:s390x (1:1.1.8-1) ... 533s Selecting previously unselected package libfreetype6:s390x. 533s Preparing to unpack .../21-libfreetype6_2.13.2+dfsg-1build2_s390x.deb ... 533s Unpacking libfreetype6:s390x (2.13.2+dfsg-1build2) ... 533s Selecting previously unselected package libgirepository-2.0-0:s390x. 533s Preparing to unpack .../22-libgirepository-2.0-0_2.79.3-3ubuntu5_s390x.deb ... 533s Unpacking libgirepository-2.0-0:s390x (2.79.3-3ubuntu5) ... 533s Selecting previously unselected package libvulkan1:s390x. 533s Preparing to unpack .../23-libvulkan1_1.3.275.0-1_s390x.deb ... 533s Unpacking libvulkan1:s390x (1.3.275.0-1) ... 533s Selecting previously unselected package libglapi-mesa:s390x. 533s Preparing to unpack .../24-libglapi-mesa_24.0.2-1ubuntu8_s390x.deb ... 533s Unpacking libglapi-mesa:s390x (24.0.2-1ubuntu8) ... 533s Selecting previously unselected package libllvm17t64:s390x. 533s Preparing to unpack .../25-libllvm17t64_1%3a17.0.6-9build1_s390x.deb ... 533s Unpacking libllvm17t64:s390x (1:17.0.6-9build1) ... 534s Selecting previously unselected package libxcb-dri3-0:s390x. 534s Preparing to unpack .../26-libxcb-dri3-0_1.15-1_s390x.deb ... 534s Unpacking libxcb-dri3-0:s390x (1.15-1) ... 534s Selecting previously unselected package libgl1-mesa-dri:s390x. 534s Preparing to unpack .../27-libgl1-mesa-dri_24.0.2-1ubuntu8_s390x.deb ... 534s Unpacking libgl1-mesa-dri:s390x (24.0.2-1ubuntu8) ... 534s Selecting previously unselected package libglib2.0-bin. 534s Preparing to unpack .../28-libglib2.0-bin_2.79.3-3ubuntu5_s390x.deb ... 534s Unpacking libglib2.0-bin (2.79.3-3ubuntu5) ... 534s Selecting previously unselected package python3-packaging. 534s Preparing to unpack .../29-python3-packaging_23.2-1_all.deb ... 534s Unpacking python3-packaging (23.2-1) ... 534s Selecting previously unselected package libglib2.0-dev-bin. 534s Preparing to unpack .../30-libglib2.0-dev-bin_2.79.3-3ubuntu5_s390x.deb ... 534s Unpacking libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 534s Selecting previously unselected package python3-dbusmock. 534s Preparing to unpack .../31-python3-dbusmock_0.31.1-1_all.deb ... 534s Unpacking python3-dbusmock (0.31.1-1) ... 534s Selecting previously unselected package libglib2.0-tests. 534s Preparing to unpack .../32-libglib2.0-tests_2.79.3-3ubuntu5_s390x.deb ... 534s Unpacking libglib2.0-tests (2.79.3-3ubuntu5) ... 534s Selecting previously unselected package libx11-xcb1:s390x. 534s Preparing to unpack .../33-libx11-xcb1_2%3a1.8.7-1_s390x.deb ... 534s Unpacking libx11-xcb1:s390x (2:1.8.7-1) ... 534s Selecting previously unselected package libxcb-dri2-0:s390x. 534s Preparing to unpack .../34-libxcb-dri2-0_1.15-1_s390x.deb ... 534s Unpacking libxcb-dri2-0:s390x (1.15-1) ... 534s Selecting previously unselected package libxcb-glx0:s390x. 534s Preparing to unpack .../35-libxcb-glx0_1.15-1_s390x.deb ... 534s Unpacking libxcb-glx0:s390x (1.15-1) ... 534s Selecting previously unselected package libxcb-present0:s390x. 534s Preparing to unpack .../36-libxcb-present0_1.15-1_s390x.deb ... 534s Unpacking libxcb-present0:s390x (1.15-1) ... 534s Selecting previously unselected package libxcb-randr0:s390x. 534s Preparing to unpack .../37-libxcb-randr0_1.15-1_s390x.deb ... 534s Unpacking libxcb-randr0:s390x (1.15-1) ... 534s Selecting previously unselected package libxcb-shm0:s390x. 534s Preparing to unpack .../38-libxcb-shm0_1.15-1_s390x.deb ... 534s Unpacking libxcb-shm0:s390x (1.15-1) ... 534s Selecting previously unselected package libxcb-sync1:s390x. 534s Preparing to unpack .../39-libxcb-sync1_1.15-1_s390x.deb ... 534s Unpacking libxcb-sync1:s390x (1.15-1) ... 534s Selecting previously unselected package libxcb-xfixes0:s390x. 534s Preparing to unpack .../40-libxcb-xfixes0_1.15-1_s390x.deb ... 534s Unpacking libxcb-xfixes0:s390x (1.15-1) ... 534s Selecting previously unselected package libxfixes3:s390x. 534s Preparing to unpack .../41-libxfixes3_1%3a6.0.0-2_s390x.deb ... 534s Unpacking libxfixes3:s390x (1:6.0.0-2) ... 534s Selecting previously unselected package libxshmfence1:s390x. 534s Preparing to unpack .../42-libxshmfence1_1.3-1build4_s390x.deb ... 534s Unpacking libxshmfence1:s390x (1.3-1build4) ... 534s Selecting previously unselected package libxxf86vm1:s390x. 534s Preparing to unpack .../43-libxxf86vm1_1%3a1.1.4-1build3_s390x.deb ... 534s Unpacking libxxf86vm1:s390x (1:1.1.4-1build3) ... 534s Selecting previously unselected package libglx-mesa0:s390x. 534s Preparing to unpack .../44-libglx-mesa0_24.0.2-1ubuntu8_s390x.deb ... 534s Unpacking libglx-mesa0:s390x (24.0.2-1ubuntu8) ... 534s Selecting previously unselected package x11-common. 534s Preparing to unpack .../45-x11-common_1%3a7.7+23ubuntu2_all.deb ... 534s Unpacking x11-common (1:7.7+23ubuntu2) ... 535s Selecting previously unselected package libice6:s390x. 535s Preparing to unpack .../46-libice6_2%3a1.0.10-1build2_s390x.deb ... 535s Unpacking libice6:s390x (2:1.0.10-1build2) ... 535s Selecting previously unselected package libpixman-1-0:s390x. 535s Preparing to unpack .../47-libpixman-1-0_0.42.2-1_s390x.deb ... 535s Unpacking libpixman-1-0:s390x (0.42.2-1) ... 535s Selecting previously unselected package libsm6:s390x. 535s Preparing to unpack .../48-libsm6_2%3a1.2.3-1build2_s390x.deb ... 535s Unpacking libsm6:s390x (2:1.2.3-1build2) ... 535s Selecting previously unselected package libxt6t64:s390x. 535s Preparing to unpack .../49-libxt6t64_1%3a1.2.1-1.2_s390x.deb ... 535s Unpacking libxt6t64:s390x (1:1.2.1-1.2) ... 535s Selecting previously unselected package libxmu6:s390x. 535s Preparing to unpack .../50-libxmu6_2%3a1.1.3-3build1_s390x.deb ... 535s Unpacking libxmu6:s390x (2:1.1.3-3build1) ... 535s Selecting previously unselected package libxpm4:s390x. 535s Preparing to unpack .../51-libxpm4_1%3a3.5.17-1build1_s390x.deb ... 535s Unpacking libxpm4:s390x (1:3.5.17-1build1) ... 535s Selecting previously unselected package libxaw7:s390x. 535s Preparing to unpack .../52-libxaw7_2%3a1.0.14-1build1_s390x.deb ... 535s Unpacking libxaw7:s390x (2:1.0.14-1build1) ... 535s Selecting previously unselected package libxfont2:s390x. 535s Preparing to unpack .../53-libxfont2_1%3a2.0.6-1_s390x.deb ... 535s Unpacking libxfont2:s390x (1:2.0.6-1) ... 535s Selecting previously unselected package libxkbfile1:s390x. 535s Preparing to unpack .../54-libxkbfile1_1%3a1.1.0-1build3_s390x.deb ... 535s Unpacking libxkbfile1:s390x (1:1.1.0-1build3) ... 535s Selecting previously unselected package libxrender1:s390x. 535s Preparing to unpack .../55-libxrender1_1%3a0.9.10-1.1_s390x.deb ... 535s Unpacking libxrender1:s390x (1:0.9.10-1.1) ... 535s Selecting previously unselected package libxrandr2:s390x. 535s Preparing to unpack .../56-libxrandr2_2%3a1.5.2-2_s390x.deb ... 535s Unpacking libxrandr2:s390x (2:1.5.2-2) ... 535s Selecting previously unselected package x11-xkb-utils. 535s Preparing to unpack .../57-x11-xkb-utils_7.7+8build1_s390x.deb ... 535s Unpacking x11-xkb-utils (7.7+8build1) ... 535s Selecting previously unselected package xserver-common. 535s Preparing to unpack .../58-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 535s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 535s Selecting previously unselected package libglvnd0:s390x. 535s Preparing to unpack .../59-libglvnd0_1.7.0-1_s390x.deb ... 535s Unpacking libglvnd0:s390x (1.7.0-1) ... 535s Selecting previously unselected package libglx0:s390x. 535s Preparing to unpack .../60-libglx0_1.7.0-1_s390x.deb ... 535s Unpacking libglx0:s390x (1.7.0-1) ... 535s Selecting previously unselected package libgl1:s390x. 535s Preparing to unpack .../61-libgl1_1.7.0-1_s390x.deb ... 535s Unpacking libgl1:s390x (1.7.0-1) ... 535s Selecting previously unselected package xvfb. 535s Preparing to unpack .../62-xvfb_2%3a21.1.11-2ubuntu1_s390x.deb ... 535s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 535s Selecting previously unselected package autopkgtest-satdep. 535s Preparing to unpack .../63-3-autopkgtest-satdep.deb ... 535s Unpacking autopkgtest-satdep (0) ... 535s Setting up gnome-desktop-testing (2021.1-3build1) ... 535s Setting up libxcb-dri3-0:s390x (1.15-1) ... 535s Setting up libpixman-1-0:s390x (0.42.2-1) ... 535s Setting up libx11-xcb1:s390x (2:1.8.7-1) ... 535s Setting up libdrm-nouveau2:s390x (2.4.120-2) ... 535s Setting up libxcb-xfixes0:s390x (1.15-1) ... 535s Setting up desktop-file-utils (0.27-2) ... 535s Setting up libxpm4:s390x (1:3.5.17-1build1) ... 535s Setting up libxrender1:s390x (1:0.9.10-1.1) ... 535s Setting up libgirepository-2.0-0:s390x (2.79.3-3ubuntu5) ... 535s Setting up libdrm-radeon1:s390x (2.4.120-2) ... 535s Setting up libglvnd0:s390x (1.7.0-1) ... 535s Setting up libxcb-glx0:s390x (1.15-1) ... 535s Setting up x11-common (1:7.7+23ubuntu2) ... 535s Setting up libxcb-shm0:s390x (1.15-1) ... 535s Setting up libelf1t64:s390x (0.190-1.1build2) ... 535s Setting up libxxf86vm1:s390x (1:1.1.4-1build3) ... 535s Setting up libxcb-present0:s390x (1.15-1) ... 535s Setting up libfontenc1:s390x (1:1.1.8-1) ... 535s Setting up libglib2.0-data (2.79.3-3ubuntu5) ... 535s Setting up python3-packaging (23.2-1) ... 535s Setting up libllvm17t64:s390x (1:17.0.6-9build1) ... 535s Setting up libxfixes3:s390x (1:6.0.0-2) ... 535s Setting up libxcb-sync1:s390x (1.15-1) ... 535s Setting up libdbus-1-3:s390x (1.14.10-4ubuntu2) ... 535s Setting up libpng16-16t64:s390x (1.6.43-3) ... 535s Setting up libxrandr2:s390x (2:1.5.2-2) ... 535s Setting up gir1.2-glib-2.0:s390x (2.79.3-3ubuntu5) ... 535s Setting up libglapi-mesa:s390x (24.0.2-1ubuntu8) ... 535s Setting up libvulkan1:s390x (1.3.275.0-1) ... 535s Setting up libxcb-dri2-0:s390x (1.15-1) ... 535s Setting up libxshmfence1:s390x (1.3-1build4) ... 535s Setting up libxcb-randr0:s390x (1.15-1) ... 535s Setting up dbus-session-bus-common (1.14.10-4ubuntu2) ... 535s Setting up libgirepository-1.0-1:s390x (1.79.1-1ubuntu6) ... 535s Setting up libxkbfile1:s390x (1:1.1.0-1build3) ... 535s Setting up dbus-system-bus-common (1.14.10-4ubuntu2) ... 535s Setting up libxmuu1:s390x (2:1.1.3-3build1) ... 535s Setting up dbus-bin (1.14.10-4ubuntu2) ... 535s Setting up libdrm-amdgpu1:s390x (2.4.120-2) ... 535s Setting up libglib2.0-dev-bin (2.79.3-3ubuntu5) ... 536s Setting up libice6:s390x (2:1.0.10-1build2) ... 536s Setting up libgl1-mesa-dri:s390x (24.0.2-1ubuntu8) ... 536s Setting up libglib2.0-bin (2.79.3-3ubuntu5) ... 536s Setting up dbus-daemon (1.14.10-4ubuntu2) ... 536s Setting up dbus-user-session (1.14.10-4ubuntu2) ... 536s Setting up libfreetype6:s390x (2.13.2+dfsg-1build2) ... 536s Setting up gir1.2-girepository-2.0:s390x (1.79.1-1ubuntu6) ... 536s Setting up dbus (1.14.10-4ubuntu2) ... 536s A reboot is required to replace the running dbus-daemon. 536s Please reboot the system when convenient. 536s Setting up python3-gi (3.47.0-3build1) ... 536s Setting up dbus-x11 (1.14.10-4ubuntu2) ... 536s Setting up libsm6:s390x (2:1.2.3-1build2) ... 536s Setting up libxfont2:s390x (1:2.0.6-1) ... 536s Setting up libglx-mesa0:s390x (24.0.2-1ubuntu8) ... 536s Setting up libglx0:s390x (1.7.0-1) ... 536s Setting up python3-dbusmock (0.31.1-1) ... 536s Setting up libgl1:s390x (1.7.0-1) ... 536s Setting up libxt6t64:s390x (1:1.2.1-1.2) ... 536s Setting up libglib2.0-tests (2.79.3-3ubuntu5) ... 536s Setting up libxmu6:s390x (2:1.1.3-3build1) ... 536s Setting up libxaw7:s390x (2:1.0.14-1build1) ... 536s Setting up x11-xkb-utils (7.7+8build1) ... 536s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 536s Setting up xvfb (2:21.1.11-2ubuntu1) ... 536s Setting up autopkgtest-satdep (0) ... 536s Processing triggers for man-db (2.12.0-3) ... 537s Processing triggers for libc-bin (2.39-0ubuntu2) ... 540s (Reading database ... 52721 files and directories currently installed.) 540s Removing autopkgtest-satdep (0) ... 546s autopkgtest [18:27:23]: test installed-tests: [----------------------- 546s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),116(cpacfstats),120(netdev),121(lxd) 546s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 546s group entry: ubuntu:x:1000: 546s Environment: 546s ADTTMP=/tmp/autopkgtest.Juhcat/autopkgtest_tmp 546s ADT_ARTIFACTS=/tmp/autopkgtest.Juhcat/installed-tests-artifacts 546s ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1 546s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.Juhcat/installed-tests-artifacts 546s AUTOPKGTEST_TESTBED_ARCH=s390x 546s AUTOPKGTEST_TEST_ARCH=s390x 546s AUTOPKGTEST_TMP=/tmp/autopkgtest.Juhcat/autopkgtest_tmp 546s DEBIAN_FRONTEND=noninteractive 546s DEB_BUILD_OPTIONS=parallel=1 546s GIO_USE_VFS=local 546s GIO_USE_VOLUME_MONITOR=unix 546s HOME=/home/ubuntu 546s LANG=C.UTF-8 546s LOGNAME=ubuntu 546s MAIL=/var/mail/ubuntu 546s OLDPWD=/home/ubuntu 546s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 546s PWD=/tmp/autopkgtest.Juhcat/build.p5c/src 546s SHELL=/bin/bash 546s SHLVL=1 546s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests 546s SUDO_GID=1000 546s SUDO_UID=1000 546s SUDO_USER=ubuntu 546s TERM=linux 546s USER=ubuntu 546s XDG_RUNTIME_DIR=/tmp/autopkgtest.Juhcat/autopkgtest_tmp 546s http_proxy=http://squid.internal:3128 546s https_proxy=http://squid.internal:3128 546s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com 546s run-with-locales: de_DE=ISO-8859-1... 546s Character set: ISO-8859-1 546s Source file: de_DE 546s Output: /tmp/tmp.C7xFfAekeb/de_DE 547s run-with-locales: de_DE.utf8... 547s Character set: UTF-8 547s Source file: de_DE 547s Output: /tmp/tmp.C7xFfAekeb/de_DE.utf8 548s run-with-locales: de_DE@euro.utf8... 548s Character set: UTF-8 548s Source file: de_DE@euro 548s Output: /tmp/tmp.C7xFfAekeb/de_DE@euro.utf8 550s run-with-locales: el_GR.utf8... 550s Character set: UTF-8 550s Source file: el_GR 550s Output: /tmp/tmp.C7xFfAekeb/el_GR.utf8 551s run-with-locales: en_GB=ISO-8859-1... 551s Character set: ISO-8859-1 551s Source file: en_GB 551s Output: /tmp/tmp.C7xFfAekeb/en_GB 552s run-with-locales: en_GB.utf8... 552s Character set: UTF-8 552s Source file: en_GB 552s Output: /tmp/tmp.C7xFfAekeb/en_GB.utf8 553s run-with-locales: en_US=ISO-8859-1... 553s Character set: ISO-8859-1 553s Source file: en_US 553s Output: /tmp/tmp.C7xFfAekeb/en_US 553s run-with-locales: en_US.utf8... 553s Character set: UTF-8 553s Source file: en_US 553s Output: /tmp/tmp.C7xFfAekeb/en_US.utf8 555s run-with-locales: es_ES.utf8... 555s Character set: UTF-8 555s Source file: es_ES 555s Output: /tmp/tmp.C7xFfAekeb/es_ES.utf8 557s run-with-locales: fa_IR=UTF-8... 557s Character set: UTF-8 557s Source file: fa_IR 557s Output: /tmp/tmp.C7xFfAekeb/fa_IR 558s run-with-locales: fa_IR.utf8... 558s Character set: UTF-8 558s Source file: fa_IR 558s Output: /tmp/tmp.C7xFfAekeb/fa_IR.utf8 559s run-with-locales: fr_FR.utf8... 559s Character set: UTF-8 559s Source file: fr_FR 559s Output: /tmp/tmp.C7xFfAekeb/fr_FR.utf8 561s run-with-locales: hr_HR.utf8... 561s Character set: UTF-8 561s Source file: hr_HR 561s Output: /tmp/tmp.C7xFfAekeb/hr_HR.utf8 562s run-with-locales: ja_JP.utf8... 562s Character set: UTF-8 562s Source file: ja_JP 562s Output: /tmp/tmp.C7xFfAekeb/ja_JP.utf8 563s run-with-locales: ja_JP.EUC-JP... 563s Character set: EUC-JP 563s Source file: ja_JP 563s Output: /tmp/tmp.C7xFfAekeb/ja_JP.eucjp 564s run-with-locales: lt_LT.utf8... 564s Character set: UTF-8 564s Source file: lt_LT 564s Output: /tmp/tmp.C7xFfAekeb/lt_LT.utf8 566s run-with-locales: pl_PL=ISO-8859-2... 566s Character set: ISO-8859-2 566s Source file: pl_PL 566s Output: /tmp/tmp.C7xFfAekeb/pl_PL 566s run-with-locales: pl_PL.ISO-8859-2... 566s Character set: ISO-8859-2 566s Source file: pl_PL 566s Output: /tmp/tmp.C7xFfAekeb/pl_PL.iso88592 567s run-with-locales: pl_PL.utf8... 567s Character set: UTF-8 567s Source file: pl_PL 567s Output: /tmp/tmp.C7xFfAekeb/pl_PL.utf8 568s run-with-locales: ru_RU=ISO-8859-5... 568s Character set: ISO-8859-5 568s Source file: ru_RU 568s Output: /tmp/tmp.C7xFfAekeb/ru_RU 568s run-with-locales: ru_RU.utf8... 568s Character set: UTF-8 568s Source file: ru_RU 568s Output: /tmp/tmp.C7xFfAekeb/ru_RU.utf8 570s run-with-locales: sr_RS=UTF-8... 570s Character set: UTF-8 570s Source file: sr_RS 570s Output: /tmp/tmp.C7xFfAekeb/sr_RS 571s run-with-locales: sr_RS@latin=UTF-8... 571s Character set: UTF-8 571s Source file: sr_RS@latin 571s Output: /tmp/tmp.C7xFfAekeb/sr_RS@latin 573s run-with-locales: sv_SE=ISO-8859-1... 573s Character set: ISO-8859-1 573s Source file: sv_SE 573s Output: /tmp/tmp.C7xFfAekeb/sv_SE 573s run-with-locales: sv_SE.utf8... 573s Character set: UTF-8 573s Source file: sv_SE 573s Output: /tmp/tmp.C7xFfAekeb/sv_SE.utf8 575s run-with-locales: tr_TR=ISO-8859-9... 575s Character set: ISO-8859-9 575s Source file: tr_TR 575s Output: /tmp/tmp.C7xFfAekeb/tr_TR 575s run-with-locales: tr_TR.utf8... 575s Character set: UTF-8 575s Source file: tr_TR 575s Output: /tmp/tmp.C7xFfAekeb/tr_TR.utf8 577s run-with-locales: tt_RU=UTF-8... 577s Character set: UTF-8 577s Source file: tt_RU 577s Output: /tmp/tmp.C7xFfAekeb/tt_RU 578s run-with-locales: tt_RU.utf8... 578s Character set: UTF-8 578s Source file: tt_RU 578s Output: /tmp/tmp.C7xFfAekeb/tt_RU.utf8 580s run-with-locales: tt_RU@iqtelif=UTF-8... 580s Character set: UTF-8 580s Source file: tt_RU@iqtelif 580s Output: /tmp/tmp.C7xFfAekeb/tt_RU@iqtelif 581s /tmp/tmp.C7xFfAekeb 581s /tmp/tmp.C7xFfAekeb/es_ES.utf8 581s /tmp/tmp.C7xFfAekeb/es_ES.utf8/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/es_ES.utf8/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/es_ES.utf8/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/es_ES.utf8/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/es_ES.utf8/LC_TIME 581s /tmp/tmp.C7xFfAekeb/es_ES.utf8/LC_NAME 581s /tmp/tmp.C7xFfAekeb/es_ES.utf8/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/es_ES.utf8/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/es_ES.utf8/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/es_ES.utf8/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/es_ES.utf8/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/es_ES.utf8/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/tr_TR 581s /tmp/tmp.C7xFfAekeb/tr_TR/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/tr_TR/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/tr_TR/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/tr_TR/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/tr_TR/LC_TIME 581s /tmp/tmp.C7xFfAekeb/tr_TR/LC_NAME 581s /tmp/tmp.C7xFfAekeb/tr_TR/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/tr_TR/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/tr_TR/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/tr_TR/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/tr_TR/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/tr_TR/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/pl_PL.iso88592 581s /tmp/tmp.C7xFfAekeb/pl_PL.iso88592/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/pl_PL.iso88592/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/pl_PL.iso88592/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/pl_PL.iso88592/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/pl_PL.iso88592/LC_TIME 581s /tmp/tmp.C7xFfAekeb/pl_PL.iso88592/LC_NAME 581s /tmp/tmp.C7xFfAekeb/pl_PL.iso88592/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/pl_PL.iso88592/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/pl_PL.iso88592/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/pl_PL.iso88592/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/pl_PL.iso88592/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/pl_PL.iso88592/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/fa_IR.utf8 581s /tmp/tmp.C7xFfAekeb/fa_IR.utf8/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/fa_IR.utf8/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/fa_IR.utf8/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/fa_IR.utf8/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/fa_IR.utf8/LC_TIME 581s /tmp/tmp.C7xFfAekeb/fa_IR.utf8/LC_NAME 581s /tmp/tmp.C7xFfAekeb/fa_IR.utf8/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/fa_IR.utf8/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/fa_IR.utf8/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/fa_IR.utf8/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/fa_IR.utf8/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/fa_IR.utf8/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/de_DE 581s /tmp/tmp.C7xFfAekeb/de_DE/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/de_DE/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/de_DE/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/de_DE/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/de_DE/LC_TIME 581s /tmp/tmp.C7xFfAekeb/de_DE/LC_NAME 581s /tmp/tmp.C7xFfAekeb/de_DE/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/de_DE/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/de_DE/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/de_DE/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/de_DE/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/de_DE/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/de_DE@euro.utf8 581s /tmp/tmp.C7xFfAekeb/de_DE@euro.utf8/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/de_DE@euro.utf8/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/de_DE@euro.utf8/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/de_DE@euro.utf8/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/de_DE@euro.utf8/LC_TIME 581s /tmp/tmp.C7xFfAekeb/de_DE@euro.utf8/LC_NAME 581s /tmp/tmp.C7xFfAekeb/de_DE@euro.utf8/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/de_DE@euro.utf8/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/de_DE@euro.utf8/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/de_DE@euro.utf8/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/de_DE@euro.utf8/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/de_DE@euro.utf8/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/en_GB.utf8 581s /tmp/tmp.C7xFfAekeb/en_GB.utf8/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/en_GB.utf8/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/en_GB.utf8/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/en_GB.utf8/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/en_GB.utf8/LC_TIME 581s /tmp/tmp.C7xFfAekeb/en_GB.utf8/LC_NAME 581s /tmp/tmp.C7xFfAekeb/en_GB.utf8/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/en_GB.utf8/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/en_GB.utf8/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/en_GB.utf8/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/en_GB.utf8/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/en_GB.utf8/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/tt_RU.utf8 581s /tmp/tmp.C7xFfAekeb/tt_RU.utf8/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/tt_RU.utf8/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/tt_RU.utf8/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/tt_RU.utf8/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/tt_RU.utf8/LC_TIME 581s /tmp/tmp.C7xFfAekeb/tt_RU.utf8/LC_NAME 581s /tmp/tmp.C7xFfAekeb/tt_RU.utf8/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/tt_RU.utf8/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/tt_RU.utf8/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/tt_RU.utf8/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/tt_RU.utf8/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/tt_RU.utf8/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/en_GB 581s /tmp/tmp.C7xFfAekeb/en_GB/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/en_GB/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/en_GB/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/en_GB/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/en_GB/LC_TIME 581s /tmp/tmp.C7xFfAekeb/en_GB/LC_NAME 581s /tmp/tmp.C7xFfAekeb/en_GB/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/en_GB/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/en_GB/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/en_GB/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/en_GB/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/en_GB/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/tt_RU@iqtelif 581s /tmp/tmp.C7xFfAekeb/tt_RU@iqtelif/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/tt_RU@iqtelif/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/tt_RU@iqtelif/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/tt_RU@iqtelif/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/tt_RU@iqtelif/LC_TIME 581s /tmp/tmp.C7xFfAekeb/tt_RU@iqtelif/LC_NAME 581s /tmp/tmp.C7xFfAekeb/tt_RU@iqtelif/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/tt_RU@iqtelif/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/tt_RU@iqtelif/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/tt_RU@iqtelif/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/tt_RU@iqtelif/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/tt_RU@iqtelif/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/de_DE.utf8 581s /tmp/tmp.C7xFfAekeb/de_DE.utf8/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/de_DE.utf8/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/de_DE.utf8/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/de_DE.utf8/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/de_DE.utf8/LC_TIME 581s /tmp/tmp.C7xFfAekeb/de_DE.utf8/LC_NAME 581s /tmp/tmp.C7xFfAekeb/de_DE.utf8/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/de_DE.utf8/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/de_DE.utf8/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/de_DE.utf8/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/de_DE.utf8/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/de_DE.utf8/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/el_GR.utf8 581s /tmp/tmp.C7xFfAekeb/el_GR.utf8/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/el_GR.utf8/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/el_GR.utf8/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/el_GR.utf8/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/el_GR.utf8/LC_TIME 581s /tmp/tmp.C7xFfAekeb/el_GR.utf8/LC_NAME 581s /tmp/tmp.C7xFfAekeb/el_GR.utf8/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/el_GR.utf8/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/el_GR.utf8/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/el_GR.utf8/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/el_GR.utf8/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/el_GR.utf8/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/sr_RS@latin 581s /tmp/tmp.C7xFfAekeb/sr_RS@latin/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/sr_RS@latin/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/sr_RS@latin/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/sr_RS@latin/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/sr_RS@latin/LC_TIME 581s /tmp/tmp.C7xFfAekeb/sr_RS@latin/LC_NAME 581s /tmp/tmp.C7xFfAekeb/sr_RS@latin/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/sr_RS@latin/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/sr_RS@latin/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/sr_RS@latin/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/sr_RS@latin/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/sr_RS@latin/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/fa_IR 581s /tmp/tmp.C7xFfAekeb/fa_IR/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/fa_IR/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/fa_IR/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/fa_IR/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/fa_IR/LC_TIME 581s /tmp/tmp.C7xFfAekeb/fa_IR/LC_NAME 581s /tmp/tmp.C7xFfAekeb/fa_IR/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/fa_IR/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/fa_IR/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/fa_IR/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/fa_IR/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/fa_IR/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/lt_LT.utf8 581s /tmp/tmp.C7xFfAekeb/lt_LT.utf8/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/lt_LT.utf8/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/lt_LT.utf8/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/lt_LT.utf8/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/lt_LT.utf8/LC_TIME 581s /tmp/tmp.C7xFfAekeb/lt_LT.utf8/LC_NAME 581s /tmp/tmp.C7xFfAekeb/lt_LT.utf8/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/lt_LT.utf8/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/lt_LT.utf8/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/lt_LT.utf8/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/lt_LT.utf8/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/lt_LT.utf8/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/ja_JP.utf8 581s /tmp/tmp.C7xFfAekeb/ja_JP.utf8/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/ja_JP.utf8/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/ja_JP.utf8/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/ja_JP.utf8/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/ja_JP.utf8/LC_TIME 581s /tmp/tmp.C7xFfAekeb/ja_JP.utf8/LC_NAME 581s /tmp/tmp.C7xFfAekeb/ja_JP.utf8/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/ja_JP.utf8/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/ja_JP.utf8/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/ja_JP.utf8/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/ja_JP.utf8/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/ja_JP.utf8/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/sv_SE.utf8 581s /tmp/tmp.C7xFfAekeb/sv_SE.utf8/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/sv_SE.utf8/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/sv_SE.utf8/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/sv_SE.utf8/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/sv_SE.utf8/LC_TIME 581s /tmp/tmp.C7xFfAekeb/sv_SE.utf8/LC_NAME 581s /tmp/tmp.C7xFfAekeb/sv_SE.utf8/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/sv_SE.utf8/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/sv_SE.utf8/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/sv_SE.utf8/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/sv_SE.utf8/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/sv_SE.utf8/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/en_US 581s /tmp/tmp.C7xFfAekeb/en_US/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/en_US/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/en_US/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/en_US/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/en_US/LC_TIME 581s /tmp/tmp.C7xFfAekeb/en_US/LC_NAME 581s /tmp/tmp.C7xFfAekeb/en_US/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/en_US/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/en_US/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/en_US/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/en_US/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/en_US/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/en_US/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/tt_RU 581s /tmp/tmp.C7xFfAekeb/tt_RU/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/tt_RU/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/tt_RU/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/tt_RU/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/tt_RU/LC_TIME 581s /tmp/tmp.C7xFfAekeb/tt_RU/LC_NAME 581s /tmp/tmp.C7xFfAekeb/tt_RU/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/tt_RU/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/tt_RU/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/tt_RU/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/tt_RU/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/tt_RU/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/ru_RU 581s /tmp/tmp.C7xFfAekeb/ru_RU/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/ru_RU/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/ru_RU/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/ru_RU/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/ru_RU/LC_TIME 581s /tmp/tmp.C7xFfAekeb/ru_RU/LC_NAME 581s /tmp/tmp.C7xFfAekeb/ru_RU/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/ru_RU/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/ru_RU/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/ru_RU/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/ru_RU/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/ru_RU/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/tr_TR.utf8 581s /tmp/tmp.C7xFfAekeb/tr_TR.utf8/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/tr_TR.utf8/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/tr_TR.utf8/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/tr_TR.utf8/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/tr_TR.utf8/LC_TIME 581s /tmp/tmp.C7xFfAekeb/tr_TR.utf8/LC_NAME 581s /tmp/tmp.C7xFfAekeb/tr_TR.utf8/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/tr_TR.utf8/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/tr_TR.utf8/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/tr_TR.utf8/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/tr_TR.utf8/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/tr_TR.utf8/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/ru_RU.utf8 581s /tmp/tmp.C7xFfAekeb/ru_RU.utf8/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/ru_RU.utf8/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/ru_RU.utf8/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/ru_RU.utf8/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/ru_RU.utf8/LC_TIME 581s /tmp/tmp.C7xFfAekeb/ru_RU.utf8/LC_NAME 581s /tmp/tmp.C7xFfAekeb/ru_RU.utf8/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/ru_RU.utf8/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/ru_RU.utf8/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/ru_RU.utf8/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/ru_RU.utf8/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/ru_RU.utf8/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/ja_JP.eucjp 581s /tmp/tmp.C7xFfAekeb/ja_JP.eucjp/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/ja_JP.eucjp/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/ja_JP.eucjp/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/ja_JP.eucjp/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/ja_JP.eucjp/LC_TIME 581s /tmp/tmp.C7xFfAekeb/ja_JP.eucjp/LC_NAME 581s /tmp/tmp.C7xFfAekeb/ja_JP.eucjp/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/ja_JP.eucjp/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/ja_JP.eucjp/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/ja_JP.eucjp/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/ja_JP.eucjp/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/ja_JP.eucjp/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/sv_SE 581s /tmp/tmp.C7xFfAekeb/sv_SE/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/sv_SE/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/sv_SE/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/sv_SE/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/sv_SE/LC_TIME 581s /tmp/tmp.C7xFfAekeb/sv_SE/LC_NAME 581s /tmp/tmp.C7xFfAekeb/sv_SE/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/sv_SE/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/sv_SE/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/sv_SE/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/sv_SE/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/sv_SE/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/fr_FR.utf8 581s /tmp/tmp.C7xFfAekeb/fr_FR.utf8/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/fr_FR.utf8/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/fr_FR.utf8/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/fr_FR.utf8/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/fr_FR.utf8/LC_TIME 581s /tmp/tmp.C7xFfAekeb/fr_FR.utf8/LC_NAME 581s /tmp/tmp.C7xFfAekeb/fr_FR.utf8/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/fr_FR.utf8/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/fr_FR.utf8/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/fr_FR.utf8/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/fr_FR.utf8/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/fr_FR.utf8/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/pl_PL 581s /tmp/tmp.C7xFfAekeb/pl_PL/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/pl_PL/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/pl_PL/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/pl_PL/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/pl_PL/LC_TIME 581s /tmp/tmp.C7xFfAekeb/pl_PL/LC_NAME 581s /tmp/tmp.C7xFfAekeb/pl_PL/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/pl_PL/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/pl_PL/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/pl_PL/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/pl_PL/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/pl_PL/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/sr_RS 581s /tmp/tmp.C7xFfAekeb/sr_RS/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/sr_RS/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/sr_RS/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/sr_RS/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/sr_RS/LC_TIME 581s /tmp/tmp.C7xFfAekeb/sr_RS/LC_NAME 581s /tmp/tmp.C7xFfAekeb/sr_RS/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/sr_RS/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/sr_RS/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/sr_RS/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/sr_RS/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/sr_RS/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/en_US.utf8 581s /tmp/tmp.C7xFfAekeb/en_US.utf8/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/en_US.utf8/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/en_US.utf8/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/en_US.utf8/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/en_US.utf8/LC_TIME 581s /tmp/tmp.C7xFfAekeb/en_US.utf8/LC_NAME 581s /tmp/tmp.C7xFfAekeb/en_US.utf8/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/en_US.utf8/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/en_US.utf8/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/en_US.utf8/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/en_US.utf8/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/en_US.utf8/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/pl_PL.utf8 581s /tmp/tmp.C7xFfAekeb/pl_PL.utf8/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/pl_PL.utf8/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/pl_PL.utf8/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/pl_PL.utf8/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/pl_PL.utf8/LC_TIME 581s /tmp/tmp.C7xFfAekeb/pl_PL.utf8/LC_NAME 581s /tmp/tmp.C7xFfAekeb/pl_PL.utf8/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/pl_PL.utf8/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/pl_PL.utf8/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/pl_PL.utf8/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/pl_PL.utf8/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/pl_PL.utf8/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/hr_HR.utf8 581s /tmp/tmp.C7xFfAekeb/hr_HR.utf8/LC_MONETARY 581s /tmp/tmp.C7xFfAekeb/hr_HR.utf8/LC_ADDRESS 581s /tmp/tmp.C7xFfAekeb/hr_HR.utf8/LC_CTYPE 581s /tmp/tmp.C7xFfAekeb/hr_HR.utf8/LC_COLLATE 581s /tmp/tmp.C7xFfAekeb/hr_HR.utf8/LC_TIME 581s /tmp/tmp.C7xFfAekeb/hr_HR.utf8/LC_NAME 581s /tmp/tmp.C7xFfAekeb/hr_HR.utf8/LC_MEASUREMENT 581s /tmp/tmp.C7xFfAekeb/hr_HR.utf8/LC_NUMERIC 581s /tmp/tmp.C7xFfAekeb/hr_HR.utf8/LC_TELEPHONE 581s /tmp/tmp.C7xFfAekeb/hr_HR.utf8/LC_PAPER 581s /tmp/tmp.C7xFfAekeb/hr_HR.utf8/LC_IDENTIFICATION 581s /tmp/tmp.C7xFfAekeb/hr_HR.utf8/LC_MESSAGES 581s /tmp/tmp.C7xFfAekeb/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 581s 1..316 581s # Running test: glib/cond.test 581s TAP version 13 581s # random seed: R02Sc32b9f107b7b0dd26eacdbbf0b69ba84 581s 1..4 581s # Start of thread tests 581s ok 1 /thread/cond1 581s ok 2 /thread/cond2 581s # Start of cond tests 582s ok 3 /thread/cond/wait-until 582s # slow test /thread/cond/wait-until executed in 1.02 secs 582s # Start of wait-until tests 582s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 583s ok 4 /thread/cond/wait-until/contended-and-interrupted 583s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 583s # End of wait-until tests 583s # End of cond tests 583s # End of thread tests 583s ok - glib/cond.test 583s # Running test: glib/data-output-stream.test 583s TAP version 13 583s # random seed: R02Sd0294d56c4e07aed8206a96c29a7bbf0 583s 1..7 583s # Start of data-output-stream tests 583s ok 1 /data-output-stream/basic 583s ok 2 /data-output-stream/write-lines-LF 583s ok 3 /data-output-stream/write-lines-CR 583s ok 4 /data-output-stream/write-lines-CR-LF 583s ok 5 /data-output-stream/write-int 583s ok 6 /data-output-stream/seek 583s ok 7 /data-output-stream/truncate 583s # End of data-output-stream tests 583s ok - glib/data-output-stream.test 583s # Running test: glib/utils-isolated.test 583s TAP version 13 583s # random seed: R02Sb9634443ee1127d01caef88ac4cd15c7 583s 1..9 583s # Start of utils-isolated tests 583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/tmp-dir/.dirs/home 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/tmp-dir/.dirs/cache 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_KD9RK2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_KD9RK2/utils-isolated/tmp-dir/.dirs/system-config2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/tmp-dir/.dirs/config 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_KD9RK2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_KD9RK2/utils-isolated/tmp-dir/.dirs/system-data2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/tmp-dir/.dirs/data 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/tmp-dir/.dirs/state 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_KD9RK2/utils-isolated/tmp-dir/.dirs/runtime 583s ok 1 /utils-isolated/tmp-dir 583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/home-dir/.dirs/home 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/home-dir/.dirs/cache 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_KD9RK2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_KD9RK2/utils-isolated/home-dir/.dirs/system-config2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/home-dir/.dirs/config 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_KD9RK2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_KD9RK2/utils-isolated/home-dir/.dirs/system-data2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/home-dir/.dirs/data 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/home-dir/.dirs/state 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_KD9RK2/utils-isolated/home-dir/.dirs/runtime 583s ok 2 /utils-isolated/home-dir 583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-cache-dir/.dirs/home 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-cache-dir/.dirs/cache 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_KD9RK2/utils-isolated/user-cache-dir/.dirs/system-config2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-cache-dir/.dirs/config 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_KD9RK2/utils-isolated/user-cache-dir/.dirs/system-data2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-cache-dir/.dirs/data 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-cache-dir/.dirs/state 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-cache-dir/.dirs/runtime 583s ok 3 /utils-isolated/user-cache-dir 583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/system-config-dirs/.dirs/home 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/system-config-dirs/.dirs/cache 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_KD9RK2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_KD9RK2/utils-isolated/system-config-dirs/.dirs/system-config2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/system-config-dirs/.dirs/config 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_KD9RK2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_KD9RK2/utils-isolated/system-config-dirs/.dirs/system-data2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/system-config-dirs/.dirs/data 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/system-config-dirs/.dirs/state 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_KD9RK2/utils-isolated/system-config-dirs/.dirs/runtime 583s ok 4 /utils-isolated/system-config-dirs 583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-config-dir/.dirs/home 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-config-dir/.dirs/cache 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_KD9RK2/utils-isolated/user-config-dir/.dirs/system-config2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-config-dir/.dirs/config 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_KD9RK2/utils-isolated/user-config-dir/.dirs/system-data2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-config-dir/.dirs/data 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-config-dir/.dirs/state 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-config-dir/.dirs/runtime 583s ok 5 /utils-isolated/user-config-dir 583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/system-data-dirs/.dirs/home 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/system-data-dirs/.dirs/cache 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_KD9RK2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_KD9RK2/utils-isolated/system-data-dirs/.dirs/system-config2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/system-data-dirs/.dirs/config 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_KD9RK2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_KD9RK2/utils-isolated/system-data-dirs/.dirs/system-data2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/system-data-dirs/.dirs/data 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/system-data-dirs/.dirs/state 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_KD9RK2/utils-isolated/system-data-dirs/.dirs/runtime 583s ok 6 /utils-isolated/system-data-dirs 583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-data-dir/.dirs/home 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-data-dir/.dirs/cache 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_KD9RK2/utils-isolated/user-data-dir/.dirs/system-config2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-data-dir/.dirs/config 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_KD9RK2/utils-isolated/user-data-dir/.dirs/system-data2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-data-dir/.dirs/data 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-data-dir/.dirs/state 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-data-dir/.dirs/runtime 583s ok 7 /utils-isolated/user-data-dir 583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-state-dir/.dirs/home 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-state-dir/.dirs/cache 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_KD9RK2/utils-isolated/user-state-dir/.dirs/system-config2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-state-dir/.dirs/config 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_KD9RK2/utils-isolated/user-state-dir/.dirs/system-data2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-state-dir/.dirs/data 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-state-dir/.dirs/state 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-state-dir/.dirs/runtime 583s ok 8 /utils-isolated/user-state-dir 583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-runtime-dir/.dirs/home 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-runtime-dir/.dirs/cache 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_KD9RK2/utils-isolated/user-runtime-dir/.dirs/system-config2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-runtime-dir/.dirs/config 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_KD9RK2/utils-isolated/user-runtime-dir/.dirs/system-data2 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-runtime-dir/.dirs/data 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-runtime-dir/.dirs/state 583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_KD9RK2/utils-isolated/user-runtime-dir/.dirs/runtime 583s ok 9 /utils-isolated/user-runtime-dir 583s # End of utils-isolated tests 583s ok - glib/utils-isolated.test 583s # Running test: glib/tls-database.test 583s TAP version 13 583s # random seed: R02Sb1e519a3a2fbade315f166e6525712f5 583s 1..1 583s # Start of tls-backend tests 583s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 583s ok 1 /tls-backend/set-default-database 583s # End of tls-backend tests 583s ok - glib/tls-database.test 583s # Running test: glib/memory-monitor-portal.test 584s TAP version 13 584s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 584s 1..1 584s ok - glib/memory-monitor-portal.test 584s # Running test: glib/async-close-output-stream.test 584s TAP version 13 584s # random seed: R02S5f5b7d775134abd64491e5553f7c2b84 584s 1..3 584s # Start of close-async tests 584s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 584s ok 1 /close-async/without-flush 584s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 584s ok 2 /close-async/with-flush 584s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 584s ok 3 /close-async/with-async-flush 584s # End of close-async tests 584s ok - glib/async-close-output-stream.test 584s # Running test: glib/signals.test 584s TAP version 13 584s # random seed: R02Sc74ecbdf340584fb7b062079cb07be3f 584s 1..31 584s # Start of gobject tests 584s # Start of signals tests 584s ok 1 /gobject/signals/all-types 584s ok 2 /gobject/signals/variant 584s ok 3 /gobject/signals/destroy-target-object 584s ok 4 /gobject/signals/generic-marshaller-1 584s ok 5 /gobject/signals/generic-marshaller-2 584s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 584s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 584s ok 8 /gobject/signals/generic-marshaller-int-return 584s ok 9 /gobject/signals/generic-marshaller-uint-return 584s ok 10 /gobject/signals/generic-marshaller-interface-return 584s ok 11 /gobject/signals/custom-marshaller 584s ok 12 /gobject/signals/connect 584s ok 13 /gobject/signals/emission-hook 584s ok 14 /gobject/signals/emitv 584s ok 15 /gobject/signals/accumulator 584s # Signal: accumulator-class-first 584s # Signal: accumulator-class-last 584s # Signal: accumulator-class-cleanup 584s # Signal: accumulator-class-first-last 584s # Signal: accumulator-class-first-last-cleanup 584s # Signal: accumulator-class-last-cleanup 584s ok 16 /gobject/signals/accumulator-class 584s ok 17 /gobject/signals/introspection 584s ok 18 /gobject/signals/block-handler 584s ok 19 /gobject/signals/stop-emission 584s ok 20 /gobject/signals/invocation-hint 584s ok 21 /gobject/signals/test-disconnection-wrong-object 584s ok 22 /gobject/signals/clear-signal-handler 584s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 584s ok 23 /gobject/signals/lookup 584s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 584s ok 24 /gobject/signals/parse-name 584s ok 25 /gobject/signals/is-valid-name 584s ok 26 /gobject/signals/weak-ref-disconnect 584s # Start of lookup tests 584s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 584s ok 27 /gobject/signals/lookup/invalid 584s # End of lookup tests 584s # Start of parse-name tests 584s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 584s # Parser input: 584s # Parser input: 7zip 584s # Parser input: invalid:signal 584s # Parser input: simple-detailed:: 584s # Parser input: simple-detailed: 584s # Parser input: : 584s # Parser input: :: 584s # Parser input: :valid-detail 584s # Parser input: ::valid-detail 584s ok 28 /gobject/signals/parse-name/invalid 584s # End of parse-name tests 584s # Start of invalid-name tests 584s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 584s ok 29 /gobject/signals/invalid-name/colon 584s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 584s ok 30 /gobject/signals/invalid-name/first-char 584s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 584s ok 31 /gobject/signals/invalid-name/empty 584s # End of invalid-name tests 584s # End of signals tests 584s # End of gobject tests 584s ok - glib/signals.test 584s # Running test: glib/gdbus-proxy.test 584s TAP version 13 584s # random seed: R02Sb75eda87a05aad30913c229e1eebc7c8 584s 1..5 584s # Start of gdbus tests 584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/.dirs/home 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/.dirs/cache 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/.dirs/system-config2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/.dirs/config 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/.dirs/system-data2 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/.dirs/data 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/.dirs/state 584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/.dirs/runtime 584s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 585s ok 1 /gdbus/proxy 585s # slow test /gdbus/proxy executed in 1.72 secs 585s # Start of proxy tests 585s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/no-properties/.dirs/home 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/no-properties/.dirs/cache 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/no-properties/.dirs/system-config2 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/no-properties/.dirs/config 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/no-properties/.dirs/system-data2 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/no-properties/.dirs/data 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/no-properties/.dirs/state 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/no-properties/.dirs/runtime 585s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 585s ok 2 /gdbus/proxy/no-properties 585s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/wellknown-noauto/.dirs/home 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/wellknown-noauto/.dirs/cache 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/wellknown-noauto/.dirs/config 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/wellknown-noauto/.dirs/data 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/wellknown-noauto/.dirs/state 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/wellknown-noauto/.dirs/runtime 585s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 585s ok 3 /gdbus/proxy/wellknown-noauto 585s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/async/.dirs/home 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/async/.dirs/cache 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/async/.dirs/system-config2 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/async/.dirs/config 585s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/async/.dirs/system-data2 586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/async/.dirs/data 586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/async/.dirs/state 586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/async/.dirs/runtime 586s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 587s # Executing: glib/gdbus-proxy.test 587s ok 4 /gdbus/proxy/async 587s # slow test /gdbus/proxy/async executed in 1.72 secs 587s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/no-match-rule/.dirs/home 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/no-match-rule/.dirs/cache 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/no-match-rule/.dirs/system-config2 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/no-match-rule/.dirs/config 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/no-match-rule/.dirs/system-data2 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/no-match-rule/.dirs/data 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/no-match-rule/.dirs/state 587s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_B0VTK2/gdbus/proxy/no-match-rule/.dirs/runtime 587s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 587s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 587s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 589s ok 5 /gdbus/proxy/no-match-rule 589s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 589s # End of proxy tests 589s # End of gdbus tests 589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 589s ok - glib/gdbus-proxy.test 589s # Running test: glib/gdbus-threading.test 589s TAP version 13 589s # random seed: R02Sc0ccb05e65feb460ae1175138d075ccf 589s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 589s ok - glib/gdbus-threading.test 589s # Running test: glib/cxx-14.test 589s TAP version 13 589s # random seed: R02S54b5b5d919e23dc63a04d39446c87694 589s 1..2 589s # Start of gtask tests 589s # 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. 589s ok 1 /gtask/name 589s # Start of name tests 589s # 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. 589s ok 2 /gtask/name/macro-wrapper 589s # End of name tests 589s # End of gtask tests 589s ok - glib/cxx-14.test 589s # Running test: glib/logging.test 589s TAP version 13 589s # random seed: R02S52abe53364355aa05c40fac6a284c5c5 589s 1..17 589s # Start of logging tests 589s ok 1 /logging/default-handler 589s ok 2 /logging/warnings 589s ok 3 /logging/fatal-log-mask 589s # bu-DEBUG: message 589s # ba-DEBUG: message 589s # ba-INFO: message 589s ok 4 /logging/set-handler 589s ok 5 /logging/print-handler 589s ok 6 /logging/printerr-handler 589s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 589s # The Log Message Handler 589s # 589s # The Good Fail Message Handler 589s # 589s ok 7 /logging/653052 589s ok 8 /logging/gibberish 589s # Start of default-handler tests 589s # Start of subprocess tests 589s # End of subprocess tests 589s # End of default-handler tests 589s # End of logging tests 589s # Start of structured-logging tests 589s ok 9 /structured-logging/no-state 589s ok 10 /structured-logging/some-state 589s ok 11 /structured-logging/robustness 589s ok 12 /structured-logging/roundtrip1 589s ok 13 /structured-logging/roundtrip2 589s ok 14 /structured-logging/roundtrip3 589s ok 15 /structured-logging/variant1 589s ok 16 /structured-logging/variant2 589s ok 17 /structured-logging/set-writer-func-twice 589s # End of structured-logging tests 589s ok - glib/logging.test 589s # Running test: glib/cxx-17.test 589s TAP version 13 589s # random seed: R02S2084bc7b7dd2c8c9a4025054fd5696f4 589s 1..2 589s # Start of gtask tests 589s # 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. 589s ok 1 /gtask/name 589s # Start of name tests 589s # 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. 589s ok 2 /gtask/name/macro-wrapper 589s # End of name tests 589s # End of gtask tests 589s ok - glib/cxx-17.test 589s # Running test: glib/cxx-11.test 589s TAP version 13 589s # random seed: R02S6192f0cd28ddfe678e902d3befa0b93a 589s 1..2 589s # Start of gtask tests 589s # 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. 589s ok 1 /gtask/name 589s # Start of name tests 589s # 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. 589s ok 2 /gtask/name/macro-wrapper 589s # End of name tests 589s # End of gtask tests 589s ok - glib/cxx-11.test 589s # Running test: glib/static-link.test 589s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 589s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 589s and make sure you have glib build dependencies installed, including 589s meson. 589s ok # SKIP - glib/static-link.test 589s # Running test: glib/macros-c-99.test 589s TAP version 13 589s # random seed: R02S285bf4417b539d7f8d2f9b0d6b257907 589s 1..4 589s # Start of C tests 589s ok 1 /C/standard-99 589s # End of C tests 589s # Start of alignof tests 589s ok 2 /alignof/fallback 589s # End of alignof tests 589s # Start of assert tests 589s ok 3 /assert/static 589s # End of assert tests 589s # Start of struct tests 589s ok 4 /struct/sizeof_member 589s # End of struct tests 589s ok - glib/macros-c-99.test 589s # Running test: glib/task.test 589s TAP version 13 589s # random seed: R02S67913aa1a193138f9505e59ecfe03351 589s 1..36 589s # Start of gtask tests 589s ok 1 /gtask/basic 589s ok 2 /gtask/error 589s ok 3 /gtask/error-literal 589s ok 4 /gtask/error-literal-from-variable 589s ok 5 /gtask/return-from-same-iteration 589s ok 6 /gtask/return-from-toplevel 589s ok 7 /gtask/return-from-anon-thread 589s ok 8 /gtask/return-from-wrong-thread 589s ok 9 /gtask/no-callback 589s ok 10 /gtask/report-error 589s ok 11 /gtask/priority 589s ok 12 /gtask/name 589s ok 13 /gtask/static-name 589s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 589s ok 14 /gtask/asynchronous-cancellation 589s ok 15 /gtask/check-cancellable 589s ok 16 /gtask/return-if-cancelled 589s ok 17 /gtask/run-in-thread 589s ok 18 /gtask/run-in-thread-sync 589s ok 19 /gtask/run-in-thread-priority 589s ok 20 /gtask/run-in-thread-nested 590s ok 21 /gtask/run-in-thread-overflow 590s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 590s # GLib-GIO-DEBUG: GTask 0x2aa1e527680 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 590s # GLib-GIO-DEBUG: GTask 0x2aa1e5272a0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 590s ok 22 /gtask/return-on-cancel 590s # GLib-GIO-DEBUG: GTask 0x2aa1e526ab0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 590s # GLib-GIO-DEBUG: GTask 0x2aa1e5275a0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 590s ok 23 /gtask/return-on-cancel-sync 590s ok 24 /gtask/return-on-cancel-atomic 590s ok 25 /gtask/return-pointer 590s ok 26 /gtask/return-value 590s ok 27 /gtask/return-prefixed-error 590s ok 28 /gtask/object-keepalive 590s ok 29 /gtask/legacy-error 590s ok 30 /gtask/finalize-without-return 590s # Start of name tests 590s ok 31 /gtask/name/macro-wrapper 590s # End of name tests 590s # Start of return tests 590s ok 32 /gtask/return/error-first 590s ok 33 /gtask/return/value-first 590s # Start of in-idle tests 590s ok 34 /gtask/return/in-idle/error-first 590s ok 35 /gtask/return/in-idle/value-first 590s # End of in-idle tests 590s # End of return tests 590s # Start of attach-source tests 590s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 590s ok 36 /gtask/attach-source/set-name 590s # End of attach-source tests 590s # End of gtask tests 590s ok - glib/task.test 590s # Running test: glib/autoptr-girepository.test 590s TAP version 13 590s # random seed: R02S24c015804f4e71b4db66baba71c06d03 590s 1..24 590s # Start of autoptr tests 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/repository/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/repository/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/repository/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/repository/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/repository/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/repository/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/repository/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/autoptr/repository/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 1 /autoptr/repository 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/typelib/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/typelib/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/typelib/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/typelib/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/typelib/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/typelib/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/typelib/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/autoptr/typelib/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 2 /autoptr/typelib 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/base-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/base-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/base-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/base-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/base-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/base-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/base-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/autoptr/base-info/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 3 /autoptr/base-info 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/arg-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/arg-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/arg-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/arg-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/arg-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/arg-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/arg-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/autoptr/arg-info/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 4 /autoptr/arg-info 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/callable-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/callable-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/callable-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/callable-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/callable-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/callable-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/callable-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/autoptr/callable-info/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 5 /autoptr/callable-info 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/callback-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/callback-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/callback-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/callback-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/callback-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/callback-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/callback-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/autoptr/callback-info/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 6 /autoptr/callback-info 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/constant-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/constant-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/constant-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/constant-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/constant-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/constant-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/constant-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/autoptr/constant-info/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 7 /autoptr/constant-info 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/enum-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/enum-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/enum-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/enum-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/enum-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/enum-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/enum-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/autoptr/enum-info/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 8 /autoptr/enum-info 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/field-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/field-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/field-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/field-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/field-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/field-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/field-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/autoptr/field-info/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 9 /autoptr/field-info 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/flags-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/flags-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/flags-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/flags-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/flags-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/flags-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/flags-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/autoptr/flags-info/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 10 /autoptr/flags-info 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/function-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/function-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/function-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/function-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/function-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/function-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/function-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/autoptr/function-info/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 11 /autoptr/function-info 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/interface-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/interface-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/interface-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/interface-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/interface-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/interface-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/interface-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/autoptr/interface-info/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 12 /autoptr/interface-info 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/object-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/object-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/object-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/object-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/object-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/object-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/object-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/autoptr/object-info/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 13 /autoptr/object-info 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/property-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/property-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/property-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/property-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/property-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/property-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/property-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/autoptr/property-info/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 14 /autoptr/property-info 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/registered-type-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/registered-type-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/registered-type-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/registered-type-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/registered-type-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/registered-type-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/registered-type-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/autoptr/registered-type-info/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 15 /autoptr/registered-type-info 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/signal-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/signal-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/signal-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/signal-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/signal-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/signal-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/signal-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/autoptr/signal-info/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 16 /autoptr/signal-info 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/struct-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/struct-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/struct-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/struct-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/struct-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/struct-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/struct-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/autoptr/struct-info/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 17 /autoptr/struct-info 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/type-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/type-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/type-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/type-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/type-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/type-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/type-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/autoptr/type-info/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 18 /autoptr/type-info 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/union-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/union-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/union-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/union-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/union-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/union-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/union-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/autoptr/union-info/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 19 /autoptr/union-info 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/value-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/value-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/value-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/value-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/value-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/value-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/value-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/autoptr/value-info/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 20 /autoptr/value-info 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/vfunc-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/vfunc-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/vfunc-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/vfunc-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/autoptr/vfunc-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/vfunc-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/autoptr/vfunc-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/autoptr/vfunc-info/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 21 /autoptr/vfunc-info 590s # End of autoptr tests 590s # Start of auto tests 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/auto/arg-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/auto/arg-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/auto/arg-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/auto/arg-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/auto/arg-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/auto/arg-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/auto/arg-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/auto/arg-info/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 22 /auto/arg-info 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/auto/type-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/auto/type-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/auto/type-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/auto/type-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/auto/type-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/auto/type-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/auto/type-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/auto/type-info/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 23 /auto/type-info 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2AI1K2/auto/function-invoker/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2AI1K2/auto/function-invoker/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2AI1K2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_2AI1K2/auto/function-invoker/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2AI1K2/auto/function-invoker/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2AI1K2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_2AI1K2/auto/function-invoker/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2AI1K2/auto/function-invoker/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2AI1K2/auto/function-invoker/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2AI1K2/auto/function-invoker/.dirs/runtime 590s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 590s ok 24 /auto/function-invoker 590s # End of auto tests 590s ok - glib/autoptr-girepository.test 590s # Running test: glib/type.test 590s TAP version 13 590s # random seed: R02Sbba99b702002f939b5f9d1a9d884c4d7 590s 1..6 590s # Start of type tests 590s ok 1 /type/registration-serial 590s ok 2 /type/interface-prerequisite 590s ok 3 /type/interface-check 590s ok 4 /type/next-base 590s ok 5 /type/is-a 590s # Invalid types can?t be queried. 590s # Unclassed types can?t be queried. 590s ok 6 /type/query 590s # End of type tests 590s ok - glib/type.test 590s # Running test: glib/dir.test 590s TAP version 13 590s # random seed: R02S9461218aef3aa60f463cbfd9da7c613f 590s 1..3 590s # Start of dir tests 590s ok 1 /dir/read 590s ok 2 /dir/nonexisting 590s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 590s ok 3 /dir/refcounting 590s # End of dir tests 590s ok - glib/dir.test 590s # Running test: glib/gdbus-introspection.test 590s TAP version 13 590s # random seed: R02S8133af876168bc60e685474a6998ad76 590s 1..4 590s # Start of gdbus tests 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-parser/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-parser/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-parser/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-parser/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-parser/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-parser/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-parser/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-parser/.dirs/runtime 590s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 590s ok 1 /gdbus/introspection-parser 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-generate/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-generate/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-generate/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-generate/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-generate/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-generate/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-generate/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-generate/.dirs/runtime 590s ok 2 /gdbus/introspection-generate 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-default-direction/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-default-direction/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-default-direction/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-default-direction/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-default-direction/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-default-direction/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-default-direction/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-default-direction/.dirs/runtime 590s ok 3 /gdbus/introspection-default-direction 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-extra-data/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-extra-data/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-extra-data/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-extra-data/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-extra-data/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-extra-data/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-extra-data/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_P7S1K2/gdbus/introspection-extra-data/.dirs/runtime 590s ok 4 /gdbus/introspection-extra-data 590s # End of gdbus tests 590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 590s ok - glib/gdbus-introspection.test 590s # Running test: glib/deftype.test 590s ok - glib/deftype.test 590s # Running test: glib/ifaceproperties.test 590s TAP version 13 590s # random seed: R02S280656d6b34d89cda83142a8272a0716 590s 1..7 590s # Start of interface tests 590s # Start of properties tests 590s ok 1 /interface/properties/set 590s ok 2 /interface/properties/notify 590s ok 3 /interface/properties/find-overridden 590s ok 4 /interface/properties/list-overridden 590s ok 5 /interface/properties/find-interface 590s ok 6 /interface/properties/list-interface 590s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 590s ok 7 /interface/properties/not-overridden 590s # End of properties tests 590s # End of interface tests 590s ok - glib/ifaceproperties.test 590s # Running test: glib/thread-pool.test 590s TAP version 13 590s # random seed: R02S5e6b09686674593bc638d1468d8ad8e0 590s 1..5 590s # Start of thread_pool tests 590s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 590s ok 1 /thread_pool/shared 590s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 590s ok 2 /thread_pool/exclusive 590s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 590s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 590s ok 3 /thread_pool/create_shared_after_exclusive 590s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 590s ok 4 /thread_pool/create_full 590s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 590s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 590s ok 5 /thread_pool/create_exclusive_after_shared 590s # End of thread_pool tests 590s ok - glib/thread-pool.test 590s # Running test: glib/bookmarkfile.test 590s TAP version 13 590s # random seed: R02S99494b4248e5de6a429a53f2c07cabe8 590s 1..96 590s # Start of bookmarks tests 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/load-from-data-dirs/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/load-from-data-dirs/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/load-from-data-dirs/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/load-from-data-dirs/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/load-from-data-dirs/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/load-from-data-dirs/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/load-from-data-dirs/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/load-from-data-dirs/.dirs/runtime 590s ok 1 /bookmarks/load-from-data-dirs 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/to-file/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/to-file/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/to-file/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/to-file/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/to-file/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/to-file/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/to-file/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/to-file/.dirs/runtime 590s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_PU5ZK2/bookmarkfile-test-2R5ZK2.xbel 590s # Roundtrip from a valid bookmark file 590s ok 2 /bookmarks/to-file 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/move-item/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/move-item/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/move-item/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/move-item/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/move-item/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/move-item/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/move-item/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/move-item/.dirs/runtime 590s ok 3 /bookmarks/move-item 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/corner-cases/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/corner-cases/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/corner-cases/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/corner-cases/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/corner-cases/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/corner-cases/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/corner-cases/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/corner-cases/.dirs/runtime 590s ok 4 /bookmarks/corner-cases 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/misc/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/misc/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/misc/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/misc/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/misc/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/misc/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/misc/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/misc/.dirs/runtime 590s ok 5 /bookmarks/misc 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/deprecated/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/deprecated/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/deprecated/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/deprecated/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/deprecated/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/deprecated/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/deprecated/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/deprecated/.dirs/runtime 590s ok 6 /bookmarks/deprecated 590s # Start of parse tests 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-19.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-19.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-19.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-19.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-19.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-19.xbel/.dirs/runtime 590s ok 7 /bookmarks/parse/fail-19.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-04.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-04.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-04.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-04.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-04.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-04.xbel/.dirs/runtime 590s ok 8 /bookmarks/parse/fail-04.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-18.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-18.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-18.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-18.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-18.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-18.xbel/.dirs/runtime 590s ok 9 /bookmarks/parse/fail-18.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-01.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-01.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-01.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-01.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-01.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-01.xbel/.dirs/runtime 590s ok 10 /bookmarks/parse/valid-01.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-08.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-08.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-08.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-08.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-08.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-08.xbel/.dirs/runtime 590s ok 11 /bookmarks/parse/fail-08.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-40.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-40.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-40.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-40.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-40.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-40.xbel/.dirs/runtime 590s ok 12 /bookmarks/parse/fail-40.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-23.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-23.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-23.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-23.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-23.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-23.xbel/.dirs/runtime 590s ok 13 /bookmarks/parse/fail-23.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-24.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-24.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-24.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-24.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-24.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-24.xbel/.dirs/runtime 590s ok 14 /bookmarks/parse/fail-24.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-30.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-30.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-30.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-30.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-30.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-30.xbel/.dirs/runtime 590s ok 15 /bookmarks/parse/fail-30.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-28.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-28.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-28.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-28.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-28.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-28.xbel/.dirs/runtime 590s ok 16 /bookmarks/parse/fail-28.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-03.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-03.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-03.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-03.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-03.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-03.xbel/.dirs/runtime 590s ok 17 /bookmarks/parse/fail-03.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-33.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-33.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-33.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-33.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-33.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-33.xbel/.dirs/runtime 590s ok 18 /bookmarks/parse/fail-33.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-13.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-13.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-13.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-13.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-13.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-13.xbel/.dirs/runtime 590s ok 19 /bookmarks/parse/fail-13.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-35.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-35.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-35.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-35.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-35.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-35.xbel/.dirs/runtime 590s ok 20 /bookmarks/parse/fail-35.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-06.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-06.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-06.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-06.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-06.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-06.xbel/.dirs/runtime 590s ok 21 /bookmarks/parse/fail-06.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-09.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-09.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-09.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-09.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-09.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-09.xbel/.dirs/runtime 590s ok 22 /bookmarks/parse/fail-09.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-10.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-10.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-10.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-10.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-10.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-10.xbel/.dirs/runtime 590s ok 23 /bookmarks/parse/fail-10.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-17.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-17.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-17.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-17.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-17.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-17.xbel/.dirs/runtime 590s ok 24 /bookmarks/parse/fail-17.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-12.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-12.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-12.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-12.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-12.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-12.xbel/.dirs/runtime 590s ok 25 /bookmarks/parse/fail-12.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-02.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-02.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-02.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-02.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-02.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-02.xbel/.dirs/runtime 590s ok 26 /bookmarks/parse/fail-02.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-05.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-05.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-05.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-05.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-05.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-05.xbel/.dirs/runtime 590s ok 27 /bookmarks/parse/fail-05.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-26.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-26.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-26.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-26.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-26.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-26.xbel/.dirs/runtime 590s ok 28 /bookmarks/parse/fail-26.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-01.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-01.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-01.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-01.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-01.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-01.xbel/.dirs/runtime 590s ok 29 /bookmarks/parse/fail-01.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-39.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-39.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-39.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-39.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-39.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-39.xbel/.dirs/runtime 590s ok 30 /bookmarks/parse/fail-39.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-27.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-27.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-27.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-27.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-27.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-27.xbel/.dirs/runtime 590s ok 31 /bookmarks/parse/fail-27.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-25.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-25.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-25.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-25.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-25.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-25.xbel/.dirs/runtime 590s ok 32 /bookmarks/parse/fail-25.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-41.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-41.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-41.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-41.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-41.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-41.xbel/.dirs/runtime 590s ok 33 /bookmarks/parse/fail-41.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-42.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-42.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-42.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-42.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-42.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-42.xbel/.dirs/runtime 590s ok 34 /bookmarks/parse/fail-42.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-15.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-15.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-15.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-15.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-15.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-15.xbel/.dirs/runtime 590s ok 35 /bookmarks/parse/fail-15.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-32.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-32.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-32.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-32.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-32.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-32.xbel/.dirs/runtime 590s ok 36 /bookmarks/parse/fail-32.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-20.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-20.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-20.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-20.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-20.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-20.xbel/.dirs/runtime 590s ok 37 /bookmarks/parse/fail-20.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-34.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-34.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-34.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-34.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-34.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-34.xbel/.dirs/runtime 590s ok 38 /bookmarks/parse/fail-34.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-14.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-14.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-14.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-14.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-14.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-14.xbel/.dirs/runtime 590s ok 39 /bookmarks/parse/fail-14.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-31.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-31.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-31.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-31.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-31.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-31.xbel/.dirs/runtime 590s ok 40 /bookmarks/parse/fail-31.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-37.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-37.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-37.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-37.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-37.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-37.xbel/.dirs/runtime 590s ok 41 /bookmarks/parse/fail-37.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-22.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-22.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-22.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-22.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-22.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-22.xbel/.dirs/runtime 590s ok 42 /bookmarks/parse/fail-22.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-21.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-21.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-21.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-21.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-21.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-21.xbel/.dirs/runtime 590s ok 43 /bookmarks/parse/fail-21.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-36.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-36.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-36.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-36.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-36.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-36.xbel/.dirs/runtime 590s ok 44 /bookmarks/parse/fail-36.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-03.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-03.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-03.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-03.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-03.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-03.xbel/.dirs/runtime 590s ok 45 /bookmarks/parse/valid-03.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-16.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-16.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-16.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-16.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-16.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-16.xbel/.dirs/runtime 590s ok 46 /bookmarks/parse/fail-16.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-29.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-29.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-29.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-29.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-29.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-29.xbel/.dirs/runtime 590s ok 47 /bookmarks/parse/fail-29.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-11.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-11.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-11.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-11.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-11.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-11.xbel/.dirs/runtime 590s ok 48 /bookmarks/parse/fail-11.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-02.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-02.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-02.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-02.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-02.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/valid-02.xbel/.dirs/runtime 590s ok 49 /bookmarks/parse/valid-02.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-38.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-38.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-38.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-38.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-38.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-38.xbel/.dirs/runtime 590s ok 50 /bookmarks/parse/fail-38.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-07.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-07.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-07.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-07.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-07.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/parse/fail-07.xbel/.dirs/runtime 590s ok 51 /bookmarks/parse/fail-07.xbel 590s # End of parse tests 590s # Start of copy tests 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-19.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-19.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-19.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-19.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-19.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-19.xbel/.dirs/runtime 590s ok 52 /bookmarks/copy/fail-19.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-04.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-04.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-04.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-04.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-04.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-04.xbel/.dirs/runtime 590s ok 53 /bookmarks/copy/fail-04.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-18.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-18.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-18.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-18.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-18.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-18.xbel/.dirs/runtime 590s ok 54 /bookmarks/copy/fail-18.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-01.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-01.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-01.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-01.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-01.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-01.xbel/.dirs/runtime 590s ok 55 /bookmarks/copy/valid-01.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-08.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-08.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-08.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-08.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-08.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-08.xbel/.dirs/runtime 590s ok 56 /bookmarks/copy/fail-08.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-40.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-40.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-40.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-40.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-40.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-40.xbel/.dirs/runtime 590s ok 57 /bookmarks/copy/fail-40.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-23.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-23.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-23.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-23.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-23.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-23.xbel/.dirs/runtime 590s ok 58 /bookmarks/copy/fail-23.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-24.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-24.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-24.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-24.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-24.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-24.xbel/.dirs/runtime 590s ok 59 /bookmarks/copy/fail-24.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-30.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-30.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-30.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-30.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-30.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-30.xbel/.dirs/runtime 590s ok 60 /bookmarks/copy/fail-30.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-28.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-28.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-28.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-28.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-28.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-28.xbel/.dirs/runtime 590s ok 61 /bookmarks/copy/fail-28.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-03.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-03.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-03.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-03.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-03.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-03.xbel/.dirs/runtime 590s ok 62 /bookmarks/copy/fail-03.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-33.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-33.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-33.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-33.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-33.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-33.xbel/.dirs/runtime 590s ok 63 /bookmarks/copy/fail-33.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-13.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-13.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-13.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-13.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-13.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-13.xbel/.dirs/runtime 590s ok 64 /bookmarks/copy/fail-13.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-35.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-35.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-35.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-35.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-35.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-35.xbel/.dirs/runtime 590s ok 65 /bookmarks/copy/fail-35.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-06.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-06.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-06.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-06.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-06.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-06.xbel/.dirs/runtime 590s ok 66 /bookmarks/copy/fail-06.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-09.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-09.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-09.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-09.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-09.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-09.xbel/.dirs/runtime 590s ok 67 /bookmarks/copy/fail-09.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-10.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-10.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-10.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-10.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-10.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-10.xbel/.dirs/runtime 590s ok 68 /bookmarks/copy/fail-10.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-17.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-17.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-17.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-17.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-17.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-17.xbel/.dirs/runtime 590s ok 69 /bookmarks/copy/fail-17.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-12.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-12.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-12.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-12.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-12.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-12.xbel/.dirs/runtime 590s ok 70 /bookmarks/copy/fail-12.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-02.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-02.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-02.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-02.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-02.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-02.xbel/.dirs/runtime 590s ok 71 /bookmarks/copy/fail-02.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-05.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-05.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-05.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-05.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-05.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-05.xbel/.dirs/runtime 590s ok 72 /bookmarks/copy/fail-05.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-26.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-26.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-26.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-26.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-26.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-26.xbel/.dirs/runtime 590s ok 73 /bookmarks/copy/fail-26.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-01.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-01.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-01.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-01.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-01.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-01.xbel/.dirs/runtime 590s ok 74 /bookmarks/copy/fail-01.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-39.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-39.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-39.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-39.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-39.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-39.xbel/.dirs/runtime 590s ok 75 /bookmarks/copy/fail-39.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-27.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-27.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-27.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-27.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-27.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-27.xbel/.dirs/runtime 590s ok 76 /bookmarks/copy/fail-27.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-25.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-25.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-25.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-25.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-25.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-25.xbel/.dirs/runtime 590s ok 77 /bookmarks/copy/fail-25.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-41.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-41.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-41.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-41.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-41.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-41.xbel/.dirs/runtime 590s ok 78 /bookmarks/copy/fail-41.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-42.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-42.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-42.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-42.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-42.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-42.xbel/.dirs/runtime 590s ok 79 /bookmarks/copy/fail-42.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-15.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-15.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-15.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-15.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-15.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-15.xbel/.dirs/runtime 590s ok 80 /bookmarks/copy/fail-15.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-32.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-32.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-32.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-32.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-32.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-32.xbel/.dirs/runtime 590s ok 81 /bookmarks/copy/fail-32.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-20.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-20.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-20.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-20.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-20.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-20.xbel/.dirs/runtime 590s ok 82 /bookmarks/copy/fail-20.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-34.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-34.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-34.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-34.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-34.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-34.xbel/.dirs/runtime 590s ok 83 /bookmarks/copy/fail-34.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-14.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-14.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-14.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-14.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-14.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-14.xbel/.dirs/runtime 590s ok 84 /bookmarks/copy/fail-14.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-31.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-31.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-31.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-31.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-31.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-31.xbel/.dirs/runtime 590s ok 85 /bookmarks/copy/fail-31.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-37.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-37.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-37.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-37.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-37.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-37.xbel/.dirs/runtime 590s ok 86 /bookmarks/copy/fail-37.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-22.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-22.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-22.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-22.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-22.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-22.xbel/.dirs/runtime 590s ok 87 /bookmarks/copy/fail-22.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-21.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-21.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-21.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-21.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-21.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-21.xbel/.dirs/runtime 590s ok 88 /bookmarks/copy/fail-21.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-36.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-36.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-36.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-36.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-36.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-36.xbel/.dirs/runtime 590s ok 89 /bookmarks/copy/fail-36.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-03.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-03.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-03.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-03.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-03.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-03.xbel/.dirs/runtime 590s ok 90 /bookmarks/copy/valid-03.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-16.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-16.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-16.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-16.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-16.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-16.xbel/.dirs/runtime 590s ok 91 /bookmarks/copy/fail-16.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-29.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-29.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-29.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-29.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-29.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-29.xbel/.dirs/runtime 590s ok 92 /bookmarks/copy/fail-29.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-11.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-11.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-11.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-11.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-11.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-11.xbel/.dirs/runtime 590s ok 93 /bookmarks/copy/fail-11.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-02.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-02.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-02.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-02.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-02.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/valid-02.xbel/.dirs/runtime 590s ok 94 /bookmarks/copy/valid-02.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-38.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-38.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-38.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-38.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-38.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-38.xbel/.dirs/runtime 590s ok 95 /bookmarks/copy/fail-38.xbel 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-07.xbel/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-07.xbel/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-07.xbel/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-07.xbel/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-07.xbel/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_PU5ZK2/bookmarks/copy/fail-07.xbel/.dirs/runtime 590s ok 96 /bookmarks/copy/fail-07.xbel 590s # End of copy tests 590s # End of bookmarks tests 590s ok - glib/bookmarkfile.test 590s # Running test: glib/dynamictype.test 590s TAP version 13 590s # random seed: R02Se1c93f4ab508c6b5daa28ae779bca127 590s 1..2 590s # Start of gobject tests 590s ok 1 /gobject/dynamic-type 590s # Start of dynamic-type tests 590s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 590s ok 2 /gobject/dynamic-type/query 590s # End of dynamic-type tests 590s # End of gobject tests 590s ok - glib/dynamictype.test 590s # Running test: glib/gdbus-addresses.test 590s TAP version 13 590s # random seed: R02Seabaf7f482b5465ca90aab42eb71cdf9 590s 1..9 590s # Start of gdbus tests 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/empty-address/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/empty-address/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H3NMK2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H3NMK2/gdbus/empty-address/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/empty-address/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H3NMK2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H3NMK2/gdbus/empty-address/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/empty-address/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/empty-address/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H3NMK2/gdbus/empty-address/.dirs/runtime 590s ok 1 /gdbus/empty-address 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/unsupported-address/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/unsupported-address/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H3NMK2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H3NMK2/gdbus/unsupported-address/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/unsupported-address/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H3NMK2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H3NMK2/gdbus/unsupported-address/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/unsupported-address/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/unsupported-address/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H3NMK2/gdbus/unsupported-address/.dirs/runtime 590s ok 2 /gdbus/unsupported-address 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/address-parsing/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/address-parsing/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H3NMK2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_H3NMK2/gdbus/address-parsing/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/address-parsing/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H3NMK2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_H3NMK2/gdbus/address-parsing/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/address-parsing/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/address-parsing/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H3NMK2/gdbus/address-parsing/.dirs/runtime 590s ok 3 /gdbus/address-parsing 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/unix-address/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/unix-address/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H3NMK2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H3NMK2/gdbus/unix-address/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/unix-address/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H3NMK2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H3NMK2/gdbus/unix-address/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/unix-address/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/unix-address/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H3NMK2/gdbus/unix-address/.dirs/runtime 590s ok 4 /gdbus/unix-address 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/nonce-tcp-address/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/nonce-tcp-address/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H3NMK2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H3NMK2/gdbus/nonce-tcp-address/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/nonce-tcp-address/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H3NMK2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H3NMK2/gdbus/nonce-tcp-address/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/nonce-tcp-address/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/nonce-tcp-address/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H3NMK2/gdbus/nonce-tcp-address/.dirs/runtime 590s ok 5 /gdbus/nonce-tcp-address 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/tcp-address/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/tcp-address/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H3NMK2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H3NMK2/gdbus/tcp-address/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/tcp-address/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H3NMK2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H3NMK2/gdbus/tcp-address/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/tcp-address/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/tcp-address/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H3NMK2/gdbus/tcp-address/.dirs/runtime 590s ok 6 /gdbus/tcp-address 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/autolaunch-address/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/autolaunch-address/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H3NMK2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H3NMK2/gdbus/autolaunch-address/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/autolaunch-address/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H3NMK2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H3NMK2/gdbus/autolaunch-address/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/autolaunch-address/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/autolaunch-address/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H3NMK2/gdbus/autolaunch-address/.dirs/runtime 590s ok 7 /gdbus/autolaunch-address 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/mixed-address/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/mixed-address/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H3NMK2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H3NMK2/gdbus/mixed-address/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/mixed-address/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H3NMK2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H3NMK2/gdbus/mixed-address/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/mixed-address/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/mixed-address/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H3NMK2/gdbus/mixed-address/.dirs/runtime 590s ok 8 /gdbus/mixed-address 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/escape-address/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/escape-address/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_H3NMK2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_H3NMK2/gdbus/escape-address/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/escape-address/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_H3NMK2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_H3NMK2/gdbus/escape-address/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/escape-address/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_H3NMK2/gdbus/escape-address/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_H3NMK2/gdbus/escape-address/.dirs/runtime 590s ok 9 /gdbus/escape-address 590s # End of gdbus tests 590s ok - glib/gdbus-addresses.test 590s # Running test: glib/defaultvalue.test 590s TAP version 13 590s # random seed: R02S14987734369f96d281488be561ffbf10 590s 1..84 590s # Start of Default Values tests 590s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 590s ok 2 /Default Values/GAppLaunchContext 590s ok 3 /Default Values/GApplicationCommandLine 590s # skipping GApplication:is-remote 590s ok 4 /Default Values/GApplication 590s ok 5 /Default Values/GBinding # SKIP mandatory construct params 590s ok 6 /Default Values/GBindingGroup 590s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 590s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 590s ok 9 /Default Values/GBytesIcon 590s ok 10 /Default Values/GCancellable 590s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 590s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 590s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 590s ok 14 /Default Values/GCredentials 590s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 590s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 590s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 590s ok 18 /Default Values/GDBusAuthObserver 590s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 590s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 590s ok 21 /Default Values/GDBusMessage 590s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 590s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 590s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 590s ok 25 /Default Values/GDBusObjectProxy 590s ok 26 /Default Values/GDBusObjectSkeleton 590s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 590s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 590s ok 29 /Default Values/GEmblem 590s ok 30 /Default Values/GEmblemedIcon 590s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 590s ok 32 /Default Values/GFileInfo 590s ok 33 /Default Values/GFileInputStream 590s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 590s ok 35 /Default Values/GFileOutputStream 590s ok 36 /Default Values/GFilenameCompleter 590s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 590s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 590s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 590s ok 40 /Default Values/GInitiallyUnowned 590s ok 41 /Default Values/GIOModule 590s ok 42 /Default Values/GListStore 590s ok 43 /Default Values/GMemoryInputStream 590s ok 44 /Default Values/GMemoryOutputStream 590s ok 45 /Default Values/GMenu 590s ok 46 /Default Values/GMenuItem 590s ok 47 /Default Values/GMountOperation 590s ok 48 /Default Values/GNativeSocketAddress 590s ok 49 /Default Values/GNetworkAddress 590s ok 50 /Default Values/GNetworkService 590s ok 51 /Default Values/GNotification 590s ok 52 /Default Values/GObject 590s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 590s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 590s # skipping GProxyAddressEnumerator:proxy-resolver 590s ok 54 /Default Values/GProxyAddressEnumerator 590s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 590s ok 56 /Default Values/GSettings # SKIP mandatory construct params 590s ok 57 /Default Values/GSignalGroup 590s ok 58 /Default Values/GSimpleAction 590s ok 59 /Default Values/GSimpleActionGroup 590s ok 60 /Default Values/GSimpleAsyncResult 590s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 590s ok 62 /Default Values/GSimplePermission 590s ok 63 /Default Values/GSimpleProxyResolver 590s # skipping GSocketClient:proxy-resolver 590s ok 64 /Default Values/GSocketClient 590s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 590s ok 66 /Default Values/GSocket # SKIP initialization failed 590s ok 67 /Default Values/GSocketListener 590s ok 68 /Default Values/GSocketService 590s ok 69 /Default Values/GSubprocess # SKIP initialization failed 590s ok 70 /Default Values/GSubprocessLauncher 590s # GLib-GIO-DEBUG: GTask 0x2aa2f7f6f90 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 590s ok 71 /Default Values/GTask 590s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 590s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 590s ok 74 /Default Values/GTestDBus 590s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 590s ok 76 /Default Values/GThreadedSocketService 590s ok 77 /Default Values/GTlsInteraction 590s ok 78 /Default Values/GTlsPassword 590s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 590s ok 80 /Default Values/GUnixFDList 590s ok 81 /Default Values/GVfs 590s ok 82 /Default Values/GVolumeMonitor 590s ok 83 /Default Values/GZlibCompressor 590s ok 84 /Default Values/GZlibDecompressor 590s # End of Default Values tests 590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 590s ok - glib/defaultvalue.test 590s # Running test: glib/fileattributematcher.test 590s TAP version 13 590s # random seed: R02Se6bfac987d7793dd4ba0e5af217e8947 590s 1..3 590s # Start of fileattributematcher tests 590s ok 1 /fileattributematcher/exact 590s ok 2 /fileattributematcher/equality 590s ok 3 /fileattributematcher/subtract 590s # End of fileattributematcher tests 590s ok - glib/fileattributematcher.test 590s # Running test: glib/markup-parse.test 590s TAP version 13 590s # random seed: R02Sc8896ae614ef72315ac10bb37ccc04a6 590s 1..71 590s # Start of markup tests 590s # Start of parse tests 590s ok 1 /markup/parse/fail-5.gmarkup 590s ok 2 /markup/parse/fail-33.gmarkup 590s ok 3 /markup/parse/valid-16.gmarkup 590s ok 4 /markup/parse/fail-45.gmarkup 590s ok 5 /markup/parse/fail-31.gmarkup 590s ok 6 /markup/parse/fail-32.gmarkup 590s ok 7 /markup/parse/fail-19.gmarkup 590s ok 8 /markup/parse/fail-48.gmarkup 590s ok 9 /markup/parse/fail-4.gmarkup 590s ok 10 /markup/parse/valid-9.gmarkup 590s ok 11 /markup/parse/valid-12.gmarkup 590s ok 12 /markup/parse/fail-25.gmarkup 590s ok 13 /markup/parse/fail-52.gmarkup 590s ok 14 /markup/parse/fail-35.gmarkup 590s ok 15 /markup/parse/valid-13.gmarkup 590s ok 16 /markup/parse/fail-34.gmarkup 590s ok 17 /markup/parse/fail-46.gmarkup 590s ok 18 /markup/parse/fail-53.gmarkup 590s ok 19 /markup/parse/fail-27.gmarkup 590s ok 20 /markup/parse/fail-11.gmarkup 590s ok 21 /markup/parse/fail-26.gmarkup 590s ok 22 /markup/parse/valid-8.gmarkup 590s ok 23 /markup/parse/fail-7.gmarkup 590s ok 24 /markup/parse/fail-47.gmarkup 590s ok 25 /markup/parse/fail-38.gmarkup 590s ok 26 /markup/parse/valid-7.gmarkup 590s ok 27 /markup/parse/fail-50.gmarkup 590s ok 28 /markup/parse/fail-20.gmarkup 590s ok 29 /markup/parse/fail-16.gmarkup 590s ok 30 /markup/parse/fail-13.gmarkup 590s ok 31 /markup/parse/fail-3.gmarkup 590s ok 32 /markup/parse/fail-24.gmarkup 590s ok 33 /markup/parse/fail-14.gmarkup 590s ok 34 /markup/parse/fail-40.gmarkup 590s ok 35 /markup/parse/valid-3.gmarkup 590s ok 36 /markup/parse/fail-42.gmarkup 590s ok 37 /markup/parse/fail-41.gmarkup 590s ok 38 /markup/parse/valid-1.gmarkup 590s ok 39 /markup/parse/fail-18.gmarkup 590s ok 40 /markup/parse/fail-6.gmarkup 590s ok 41 /markup/parse/fail-22.gmarkup 590s ok 42 /markup/parse/fail-29.gmarkup 590s ok 43 /markup/parse/fail-17.gmarkup 590s ok 44 /markup/parse/valid-14.gmarkup 590s ok 45 /markup/parse/fail-37.gmarkup 590s ok 46 /markup/parse/fail-1.gmarkup 590s ok 47 /markup/parse/valid-10.gmarkup 590s ok 48 /markup/parse/fail-15.gmarkup 590s ok 49 /markup/parse/fail-43.gmarkup 590s ok 50 /markup/parse/fail-51.gmarkup 590s ok 51 /markup/parse/fail-54.gmarkup 590s ok 52 /markup/parse/valid-2.gmarkup 590s ok 53 /markup/parse/valid-4.gmarkup 590s ok 54 /markup/parse/fail-21.gmarkup 590s ok 55 /markup/parse/fail-10.gmarkup 590s ok 56 /markup/parse/fail-49.gmarkup 590s ok 57 /markup/parse/fail-44.gmarkup 590s ok 58 /markup/parse/valid-11.gmarkup 590s ok 59 /markup/parse/fail-36.gmarkup 590s ok 60 /markup/parse/fail-12.gmarkup 590s ok 61 /markup/parse/valid-15.gmarkup 590s ok 62 /markup/parse/fail-9.gmarkup 590s ok 63 /markup/parse/fail-23.gmarkup 590s ok 64 /markup/parse/fail-39.gmarkup 590s ok 65 /markup/parse/fail-28.gmarkup 590s ok 66 /markup/parse/fail-2.gmarkup 590s ok 67 /markup/parse/valid-6.gmarkup 590s ok 68 /markup/parse/fail-8.gmarkup 590s ok 69 /markup/parse/fail-30.gmarkup 590s ok 70 /markup/parse/valid-5.gmarkup 590s ok 71 /markup/parse/valid-17.gmarkup 590s # End of parse tests 590s # End of markup tests 590s ok - glib/markup-parse.test 590s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 590s TAP version 13 590s # random seed: R02Sb73270302e7993f36c2dbc46b182eb66 590s 1..8 590s # Start of gdbus tests 590s # Start of codegen tests 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/annotations/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/annotations/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/annotations/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/annotations/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/annotations/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/annotations/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/annotations/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/annotations/.dirs/runtime 590s ok 1 /gdbus/codegen/annotations 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/interface_stability/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/interface_stability/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/interface_stability/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/interface_stability/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/interface_stability/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/interface_stability/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/interface_stability/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/interface_stability/.dirs/runtime 590s ok 2 /gdbus/codegen/interface_stability 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/object-manager/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/object-manager/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/object-manager/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/object-manager/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/object-manager/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/object-manager/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/object-manager/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/object-manager/.dirs/runtime 590s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 590s ok 3 /gdbus/codegen/object-manager 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/property-naming/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/property-naming/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/property-naming/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/property-naming/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/property-naming/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/property-naming/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/property-naming/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/property-naming/.dirs/runtime 590s ok 4 /gdbus/codegen/property-naming 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/autocleanups/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/autocleanups/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/autocleanups/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/autocleanups/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/autocleanups/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/autocleanups/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/autocleanups/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/autocleanups/.dirs/runtime 590s ok 5 /gdbus/codegen/autocleanups 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/deprecations/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/deprecations/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/deprecations/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/deprecations/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/deprecations/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/deprecations/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/deprecations/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/deprecations/.dirs/runtime 590s ok 6 /gdbus/codegen/deprecations 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/standalone-interface-info/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/standalone-interface-info/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/standalone-interface-info/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/standalone-interface-info/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/standalone-interface-info/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 590s ok 7 /gdbus/codegen/standalone-interface-info 590s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/unix-fd-list/.dirs/home 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/unix-fd-list/.dirs/cache 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/unix-fd-list/.dirs/config 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/unix-fd-list/.dirs/data 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/unix-fd-list/.dirs/state 590s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_BZMNK2/gdbus/codegen/unix-fd-list/.dirs/runtime 590s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 590s ok 8 /gdbus/codegen/unix-fd-list 590s # End of codegen tests 590s # End of gdbus tests 590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 590s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 590s ok - glib/gdbus-test-codegen-min-required-2-64.test 590s # Running test: glib/objects-refcount2.test 590s TAP version 13 590s # random seed: R02Se32e7227ac4cb475e6cffeb5cd8b074c 590s 1..1 590s # Start of gobject tests 590s # Start of refcount tests 590s # init 0x2aa1d10a740 590s # 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 590s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 591s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # Executing: glib/objects-refcount2.test 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 592s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 593s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 594s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # . 595s # dispose 0x2aa1d10a740! 595s # 595s ok 1 /gobject/refcount/object-advanced 595s # slow test /gobject/refcount/object-advanced executed in 5.11 secs 595s # End of refcount tests 595s # End of gobject tests 595s ok - glib/objects-refcount2.test 595s # Running test: glib/642026.test 595s TAP version 13 595s # random seed: R02Sfbdbc4b428fe32d6c7bc1f0f0af798ff 595s 1..1 595s # Start of glib tests 595s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 595s ok 1 /glib/642026 595s # End of glib tests 595s ok - glib/642026.test 595s # Running test: glib/rcbox.test 595s TAP version 13 595s # random seed: R02S03946ea458bbe41e912d11c44439cc1c 595s 1..8 595s # Start of rcbox tests 595s ok 1 /rcbox/new 595s # global_point = 0x2aa2ba4b840 595s ok 2 /rcbox/release-full 595s # global_point_a = 0x2aa2ba4b840 595s # global_point_b = 0x2aa2ba4b800 595s ok 3 /rcbox/dup 595s ok 4 /rcbox/alignment 595s # End of rcbox tests 595s # Start of atomic-rcbox tests 595s ok 5 /atomic-rcbox/new 595s # global_point = 0x2aa2ba4ba10 595s ok 6 /atomic-rcbox/release-full 595s # global_point_a = 0x2aa2ba4ba10 595s # global_point_b = 0x2aa2ba4b9d0 595s ok 7 /atomic-rcbox/dup 595s ok 8 /atomic-rcbox/alignment 595s # End of atomic-rcbox tests 595s ok - glib/rcbox.test 595s # Running test: glib/contexts.test 595s TAP version 13 595s # random seed: R02Sab52433d0a07ab1bc649569d8c0caefd 595s 1..5 595s # Start of gio tests 595s # Start of contexts tests 595s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 595s ok 1 /gio/contexts/thread-independence 595s ok 2 /gio/contexts/context-independence 595s # Start of context-specific tests 595s ok 3 /gio/contexts/context-specific/identity 595s ok 4 /gio/contexts/context-specific/emit 595s ok 5 /gio/contexts/context-specific/emit-and-unref 595s # End of context-specific tests 595s # End of contexts tests 595s # End of gio tests 595s ok - glib/contexts.test 595s # Running test: glib/mount-operation.test 595s TAP version 13 595s # random seed: R02S90ed8e85a5c0f8ceb579727c31ab9f1c 595s 1..2 595s # Start of mount-operation tests 595s ok 1 /mount-operation/construction 595s ok 2 /mount-operation/properties 595s # End of mount-operation tests 595s ok - glib/mount-operation.test 595s # Running test: glib/atomic-c-17.test 595s TAP version 13 595s # random seed: R02S91a1f3d5ceece8a99d808f0c9f6d5ff0 595s 1..2 595s # Start of atomic tests 595s ok 1 /atomic/types 595s ok 2 /atomic/threaded 595s # End of atomic tests 595s ok - glib/atomic-c-17.test 595s # Running test: glib/642026-ec.test 595s TAP version 13 595s # random seed: R02Sb185afd34aaf7b8bc9c3cb576ef0b79c 595s 1..1 595s # Start of glib tests 595s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 595s ok 1 /glib/642026 595s # End of glib tests 595s ok - glib/642026-ec.test 595s # Running test: glib/appmonitor.test 595s TAP version 13 595s # random seed: R02S2cb00f231f51de70a7eec1d73a8b1349 595s 1..1 595s # Start of monitor tests 595s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_Z38PK2/monitor/app/.dirs/home 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_Z38PK2/monitor/app/.dirs/cache 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_Z38PK2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_Z38PK2/monitor/app/.dirs/system-config2 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_Z38PK2/monitor/app/.dirs/config 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_Z38PK2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_Z38PK2/monitor/app/.dirs/system-data2 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_Z38PK2/monitor/app/.dirs/data 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_Z38PK2/monitor/app/.dirs/state 595s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_Z38PK2/monitor/app/.dirs/runtime 595s # Using data directory: /tmp/test_appmonitor_Z38PK2/monitor/app/.dirs/data 595s ok 1 /monitor/app 595s # End of monitor tests 595s ok - glib/appmonitor.test 595s # Running test: glib/data-input-stream.test 595s TAP version 13 595s # random seed: R02S8519f007176f60db80f1b174d5461082 595s 1..10 595s # Start of data-input-stream tests 595s ok 1 /data-input-stream/basic 596s ok 2 /data-input-stream/read-lines-LF 596s ok 3 /data-input-stream/read-lines-LF-valid-utf8 596s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 596s ok 5 /data-input-stream/read-lines-CR 596s ok 6 /data-input-stream/read-lines-CR-LF 596s ok 7 /data-input-stream/read-lines-any 596s ok 8 /data-input-stream/read-until 596s ok 9 /data-input-stream/read-upto 596s ok 10 /data-input-stream/read-int 596s # End of data-input-stream tests 596s ok - glib/data-input-stream.test 596s # Running test: glib/mem-overflow.test 596s TAP version 13 596s # random seed: R02S988277702ac7990465ed5da5a4f67cf2 596s 1..2 596s # Start of mem tests 596s ok 1 /mem/overflow 596s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 596s ok 2 /mem/empty-alloc 596s # Start of overflow tests 596s # Start of subprocess tests 596s # End of subprocess tests 596s # End of overflow tests 596s # Start of empty-alloc tests 596s # End of empty-alloc tests 596s # End of mem tests 596s ok - glib/mem-overflow.test 596s # Running test: glib/bitlock.test 596s TAP version 13 596s # random seed: R02S34de3cd12b0eda7c5e194f9489122abb 596s 1..1 596s # Start of bitlock tests 596s # Start of performance tests 596s # max perf: iterations per second 596s ok 1 /bitlock/performance/uncontended 596s # End of performance tests 596s # End of bitlock tests 596s ok - glib/bitlock.test 596s # Running test: glib/timeout.test 596s TAP version 13 596s # random seed: R02S68d68117d1db6aeb4bc1dd61f11d51b9 596s 1..5 596s # Start of timeout tests 596s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 597s # Executing: glib/timeout.test 598s ok 1 /timeout/seconds 598s # slow test /timeout/seconds executed in 2.10 secs 600s ok 2 /timeout/seconds-once 600s # slow test /timeout/seconds-once executed in 2.10 secs 600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 602s # Executing: glib/timeout.test 602s ok 3 /timeout/weeks-overflow 602s # slow test /timeout/weeks-overflow executed in 2.10 secs 602s ok 4 /timeout/far-future-ready-time 607s # Executing: glib/timeout.test 612s # Executing: glib/timeout.test 612s ok 5 /timeout/rounding 612s # slow test /timeout/rounding executed in 9.93 secs 612s # End of timeout tests 612s ok - glib/timeout.test 612s # Running test: glib/g-file.test 612s TAP version 13 612s # random seed: R02S5fe05063edfd24dbcc4fedb4f08ae4b8 612s 1..8 612s # Start of g-file tests 612s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 612s ok 1 /g-file/test_g_file_new_null 612s ok 2 /g-file/test_g_file_new_for_path 612s ok 3 /g-file/test_g_file_new_for_uri 612s ok 4 /g-file/test_g_file_dup 612s ok 5 /g-file/test_g_file_get_parse_name_utf8 612s file:///tmp/test-tmp-glib_g-file.test-VES1K2 612s file:///tmp 612s file:///tmp 612s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 612s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 612s ok 6 /g-file/test_g_file_new_for_commandline_arg 612s /dir1 /dir1/dir2/dir3/ 612s /dir1/ /dir1/dir2/dir3/ 612s /dir1 /dir1/dir2/dir3 612s /dir1/ /dir1/dir2/dir3 612s /tmp/ /something/ 612s /dir1/dir2 /dir1/ 612s //dir1/new //dir1/new/dir2/dir3 612s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 612s file:///dir1 file:///dir1/dir2/dir3/ 612s file:///dir1/ file:///dir1/dir2/dir3/ 612s file:///dir1 file:///dir1/dir2/dir3 612s file:///dir1/ file:///dir1/dir2/dir3 612s file:///tmp/ file:///something/ 612s file:///dir1/dir2 file:///dir1/ 612s file:////dir1/new file:////dir1/new/dir2/dir3 612s 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 612s ok 7 /g-file/test_g_file_has_prefix 612s ok 8 /g-file/test_g_file_get_parent_child 612s # End of g-file tests 612s ok - glib/g-file.test 612s # Running test: glib/relation.test 612s TAP version 13 612s # random seed: R02S16cefdac04aa8c7f6cdeb8ebcd1fef4c 612s 1..1 612s # Start of glib tests 612s ok 1 /glib/relation 612s # End of glib tests 612s ok - glib/relation.test 612s # Running test: glib/gdbus-bz627724.test 612s TAP version 13 612s # random seed: R02S6388d6b2404a04619f55d03c232cd031 612s 1..1 612s # Start of gdbus tests 612s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_9QNZK2/gdbus/bz627724/.dirs/home 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_9QNZK2/gdbus/bz627724/.dirs/cache 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_9QNZK2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_9QNZK2/gdbus/bz627724/.dirs/system-config2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_9QNZK2/gdbus/bz627724/.dirs/config 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_9QNZK2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_9QNZK2/gdbus/bz627724/.dirs/system-data2 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_9QNZK2/gdbus/bz627724/.dirs/data 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_9QNZK2/gdbus/bz627724/.dirs/state 612s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_9QNZK2/gdbus/bz627724/.dirs/runtime 612s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 612s ok 1 /gdbus/bz627724 612s # End of gdbus tests 612s ok - glib/gdbus-bz627724.test 612s # Running test: glib/mkenums.py.test 612s TAP version 13 612s ok 1 __main__.TestMkenums.test_available_in 612s # tmpdir: /tmp/tmpevxse35o 612s # rspfile: False, mkenums: /usr/bin/glib-mkenums 612s # /tmp/tmpevxse35o/tmpzftc5txa.h: 612s # typedef enum { 612s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 612s # } GDBusServerFlags; 612s # 612s # /tmp/tmpevxse35o/tmpoz55fm4n.template: 612s # /*** BEGIN file-header ***/ 612s # file-header 612s # /*** END file-header ***/ 612s # 612s # /*** BEGIN file-production ***/ 612s # file-production 612s # filename: @filename@ 612s # basename: @basename@ 612s # /*** END file-production ***/ 612s # 612s # /*** BEGIN enumeration-production ***/ 612s # enumeration-production 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END enumeration-production ***/ 612s # 612s # /*** BEGIN value-header ***/ 612s # value-header 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-header ***/ 612s # 612s # /*** BEGIN value-production ***/ 612s # value-production 612s # VALUENAME: @VALUENAME@ 612s # valuenick: @valuenick@ 612s # valuenum: @valuenum@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-production ***/ 612s # 612s # /*** BEGIN value-tail ***/ 612s # value-tail 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-tail ***/ 612s # 612s # /*** BEGIN comment ***/ 612s # comment 612s # comment: @comment@ 612s # /*** END comment ***/ 612s # 612s # /*** BEGIN file-tail ***/ 612s # file-tail 612s # /*** END file-tail ***/ 612s # 612s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpevxse35o/tmpoz55fm4n.template', '/tmp/tmpevxse35o/tmpzftc5txa.h'] 612s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 612s # Output: comment 612s # 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. 612s # 612s # 612s # file-header 612s # file-production 612s # filename: /tmp/tmpevxse35o/tmpzftc5txa.h 612s # basename: tmpzftc5txa.h 612s # enumeration-production 612s # EnumName: GDBusServerFlags 612s # enum_name: g_dbus_server_flags 612s # ENUMNAME: G_DBUS_SERVER_FLAGS 612s # ENUMSHORT: DBUS_SERVER_FLAGS 612s # ENUMPREFIX: G 612s # enumsince: 612s # type: flags 612s # Type: Flags 612s # TYPE: FLAGS 612s # value-header 612s # EnumName: GDBusServerFlags 612s # enum_name: g_dbus_server_flags 612s # ENUMNAME: G_DBUS_SERVER_FLAGS 612s # ENUMSHORT: DBUS_SERVER_FLAGS 612s # ENUMPREFIX: G 612s # enumsince: 612s # type: flags 612s # Type: Flags 612s # TYPE: FLAGS 612s # value-production 612s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 612s # valuenick: user 612s # valuenum: 4 612s # type: flags 612s # Type: Flags 612s # TYPE: FLAGS 612s # value-tail 612s # EnumName: GDBusServerFlags 612s # enum_name: g_dbus_server_flags 612s # ENUMNAME: G_DBUS_SERVER_FLAGS 612s # ENUMSHORT: DBUS_SERVER_FLAGS 612s # ENUMPREFIX: G 612s # enumsince: 612s # type: flags 612s # Type: Flags 612s # TYPE: FLAGS 612s # file-tail 612s # 612s # comment 612s # comment: Generated data ends here 612s ok 2 __main__.TestMkenums.test_comma_in_enum_value 612s # tmpdir: /tmp/tmpn1dueud7 612s # rspfile: False, mkenums: /usr/bin/glib-mkenums 612s # /tmp/tmpn1dueud7/tmpw66bqoo5.h: 612s # typedef enum { 612s # ENUM_VALUE_WITH_COMMA = ',', 612s # } TestCommaEnum; 612s # 612s # /tmp/tmpn1dueud7/tmp1u6guxzn.template: 612s # /*** BEGIN file-header ***/ 612s # file-header 612s # /*** END file-header ***/ 612s # 612s # /*** BEGIN file-production ***/ 612s # file-production 612s # filename: @filename@ 612s # basename: @basename@ 612s # /*** END file-production ***/ 612s # 612s # /*** BEGIN enumeration-production ***/ 612s # enumeration-production 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END enumeration-production ***/ 612s # 612s # /*** BEGIN value-header ***/ 612s # value-header 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-header ***/ 612s # 612s # /*** BEGIN value-production ***/ 612s # value-production 612s # VALUENAME: @VALUENAME@ 612s # valuenick: @valuenick@ 612s # valuenum: @valuenum@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-production ***/ 612s # 612s # /*** BEGIN value-tail ***/ 612s # value-tail 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-tail ***/ 612s # 612s # /*** BEGIN comment ***/ 612s # comment 612s # comment: @comment@ 612s # /*** END comment ***/ 612s # 612s # /*** BEGIN file-tail ***/ 612s # file-tail 612s # /*** END file-tail ***/ 612s # 612s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpn1dueud7/tmp1u6guxzn.template', '/tmp/tmpn1dueud7/tmpw66bqoo5.h'] 612s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 612s # Output: comment 612s # 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. 612s # 612s # 612s # file-header 612s # file-production 612s # filename: /tmp/tmpn1dueud7/tmpw66bqoo5.h 612s # basename: tmpw66bqoo5.h 612s # enumeration-production 612s # EnumName: TestCommaEnum 612s # enum_name: test_comma_enum 612s # ENUMNAME: TEST_COMMA_ENUM 612s # ENUMSHORT: COMMA_ENUM 612s # ENUMPREFIX: TEST 612s # enumsince: 612s # type: enum 612s # Type: Enum 612s # TYPE: ENUM 612s # value-header 612s # EnumName: TestCommaEnum 612s # enum_name: test_comma_enum 612s # ENUMNAME: TEST_COMMA_ENUM 612s # ENUMSHORT: COMMA_ENUM 612s # ENUMPREFIX: TEST 612s # enumsince: 612s # type: enum 612s # Type: Enum 612s # TYPE: ENUM 612s # value-production 612s # VALUENAME: ENUM_VALUE_WITH_COMMA 612s # valuenick: comma 612s # valuenum: 44 612s # type: enum 612s # Type: Enum 612s # TYPE: ENUM 612s # value-tail 612s # EnumName: TestCommaEnum 612s # enum_name: test_comma_enum 612s # ENUMNAME: TEST_COMMA_ENUM 612s # ENUMSHORT: COMMA_ENUM 612s # ENUMPREFIX: TEST 612s # enumsince: 612s # type: enum 612s # Type: Enum 612s # TYPE: ENUM 612s # file-tail 612s # 612s # comment 612s # comment: Generated data ends here 612s ok 3 __main__.TestMkenums.test_deprecated_in 612s # tmpdir: /tmp/tmpxv_4yr2l 612s # rspfile: False, mkenums: /usr/bin/glib-mkenums 612s # /tmp/tmpxv_4yr2l/tmp_q39802d.h: 612s # typedef enum { 612s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 612s # } GDBusServerFlags; 612s # 612s # /tmp/tmpxv_4yr2l/tmp42tsg3_g.template: 612s # /*** BEGIN file-header ***/ 612s # file-header 612s # /*** END file-header ***/ 612s # 612s # /*** BEGIN file-production ***/ 612s # file-production 612s # filename: @filename@ 612s # basename: @basename@ 612s # /*** END file-production ***/ 612s # 612s # /*** BEGIN enumeration-production ***/ 612s # enumeration-production 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END enumeration-production ***/ 612s # 612s # /*** BEGIN value-header ***/ 612s # value-header 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-header ***/ 612s # 612s # /*** BEGIN value-production ***/ 612s # value-production 612s # VALUENAME: @VALUENAME@ 612s # valuenick: @valuenick@ 612s # valuenum: @valuenum@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-production ***/ 612s # 612s # /*** BEGIN value-tail ***/ 612s # value-tail 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-tail ***/ 612s # 612s # /*** BEGIN comment ***/ 612s # comment 612s # comment: @comment@ 612s # /*** END comment ***/ 612s # 612s # /*** BEGIN file-tail ***/ 612s # file-tail 612s # /*** END file-tail ***/ 612s # 612s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxv_4yr2l/tmp42tsg3_g.template', '/tmp/tmpxv_4yr2l/tmp_q39802d.h'] 612s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 612s # Output: comment 612s # 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. 612s # 612s # 612s # file-header 612s # file-production 612s # filename: /tmp/tmpxv_4yr2l/tmp_q39802d.h 612s # basename: tmp_q39802d.h 612s # enumeration-production 612s # EnumName: GDBusServerFlags 612s # enum_name: g_dbus_server_flags 612s # ENUMNAME: G_DBUS_SERVER_FLAGS 612s # ENUMSHORT: DBUS_SERVER_FLAGS 612s # ENUMPREFIX: G 612s # enumsince: 612s # type: flags 612s # Type: Flags 612s # TYPE: FLAGS 612s # value-header 612s # EnumName: GDBusServerFlags 612s # enum_name: g_dbus_server_flags 612s # ENUMNAME: G_DBUS_SERVER_FLAGS 612s # ENUMSHORT: DBUS_SERVER_FLAGS 612s # ENUMPREFIX: G 612s # enumsince: 612s # type: flags 612s # Type: Flags 612s # TYPE: FLAGS 612s # value-production 612s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 612s # valuenick: user 612s # valuenum: 4 612s # type: flags 612s # Type: Flags 612s # TYPE: FLAGS 612s # value-tail 612s # EnumName: GDBusServerFlags 612s # enum_name: g_dbus_server_flags 612s # ENUMNAME: G_DBUS_SERVER_FLAGS 612s # ENUMSHORT: DBUS_SERVER_FLAGS 612s # ENUMPREFIX: G 612s # enumsince: 612s # type: flags 612s # Type: Flags 612s # TYPE: FLAGS 612s # file-tail 612s # 612s # comment 612s # comment: Generated data ends here 612s ok 4 __main__.TestMkenums.test_deprecated_in_for 612s # tmpdir: /tmp/tmpigtmyodi 612s # rspfile: False, mkenums: /usr/bin/glib-mkenums 612s # /tmp/tmpigtmyodi/tmpllddnz2_.h: 612s # typedef enum { 612s # 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) 612s # } GDBusServerFlags; 612s # 612s # /tmp/tmpigtmyodi/tmpx46cfs93.template: 612s # /*** BEGIN file-header ***/ 612s # file-header 612s # /*** END file-header ***/ 612s # 612s # /*** BEGIN file-production ***/ 612s # file-production 612s # filename: @filename@ 612s # basename: @basename@ 612s # /*** END file-production ***/ 612s # 612s # /*** BEGIN enumeration-production ***/ 612s # enumeration-production 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END enumeration-production ***/ 612s # 612s # /*** BEGIN value-header ***/ 612s # value-header 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-header ***/ 612s # 612s # /*** BEGIN value-production ***/ 612s # value-production 612s # VALUENAME: @VALUENAME@ 612s # valuenick: @valuenick@ 612s # valuenum: @valuenum@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-production ***/ 612s # 612s # /*** BEGIN value-tail ***/ 612s # value-tail 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-tail ***/ 612s # 612s # /*** BEGIN comment ***/ 612s # comment 612s # comment: @comment@ 612s # /*** END comment ***/ 612s # 612s # /*** BEGIN file-tail ***/ 612s # file-tail 612s # /*** END file-tail ***/ 612s # 612s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpigtmyodi/tmpx46cfs93.template', '/tmp/tmpigtmyodi/tmpllddnz2_.h'] 612s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 612s # Output: comment 612s # 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. 612s # 612s # 612s # file-header 612s # file-production 612s # filename: /tmp/tmpigtmyodi/tmpllddnz2_.h 612s # basename: tmpllddnz2_.h 612s # enumeration-production 612s # EnumName: GDBusServerFlags 612s # enum_name: g_dbus_server_flags 612s # ENUMNAME: G_DBUS_SERVER_FLAGS 612s # ENUMSHORT: DBUS_SERVER_FLAGS 612s # ENUMPREFIX: G 612s # enumsince: 612s # type: flags 612s # Type: Flags 612s # TYPE: FLAGS 612s # value-header 612s # EnumName: GDBusServerFlags 612s # enum_name: g_dbus_server_flags 612s # ENUMNAME: G_DBUS_SERVER_FLAGS 612s # ENUMSHORT: DBUS_SERVER_FLAGS 612s # ENUMPREFIX: G 612s # enumsince: 612s # type: flags 612s # Type: Flags 612s # TYPE: FLAGS 612s # value-production 612s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 612s # valuenick: user 612s # valuenum: 4 612s # type: flags 612s # Type: Flags 612s # TYPE: FLAGS 612s # value-tail 612s # EnumName: GDBusServerFlags 612s # enum_name: g_dbus_server_flags 612s # ENUMNAME: G_DBUS_SERVER_FLAGS 612s # ENUMSHORT: DBUS_SERVER_FLAGS 612s # ENUMPREFIX: G 612s # enumsince: 612s # type: flags 612s # Type: Flags 612s # TYPE: FLAGS 612s # file-tail 612s # 612s # comment 612s # comment: Generated data ends here 612s ok 5 __main__.TestMkenums.test_empty_header 612s # tmpdir: /tmp/tmpd5ufxoqb 612s # rspfile: False, mkenums: /usr/bin/glib-mkenums 612s # /tmp/tmpd5ufxoqb/tmp9_w4cv0w.h: 612s # /tmp/tmpd5ufxoqb/tmp8t58knp_.template: 612s # /*** BEGIN file-header ***/ 612s # file-header 612s # /*** END file-header ***/ 612s # 612s # /*** BEGIN file-production ***/ 612s # file-production 612s # filename: @filename@ 612s # basename: @basename@ 612s # /*** END file-production ***/ 612s # 612s # /*** BEGIN enumeration-production ***/ 612s # enumeration-production 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END enumeration-production ***/ 612s # 612s # /*** BEGIN value-header ***/ 612s # value-header 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-header ***/ 612s # 612s # /*** BEGIN value-production ***/ 612s # value-production 612s # VALUENAME: @VALUENAME@ 612s # valuenick: @valuenick@ 612s # valuenum: @valuenum@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-production ***/ 612s # 612s # /*** BEGIN value-tail ***/ 612s # value-tail 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-tail ***/ 612s # 612s # /*** BEGIN comment ***/ 612s # comment 612s # comment: @comment@ 612s # /*** END comment ***/ 612s # 612s # /*** BEGIN file-tail ***/ 612s # file-tail 612s # /*** END file-tail ***/ 612s # 612s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpd5ufxoqb/tmp8t58knp_.template', '/tmp/tmpd5ufxoqb/tmp9_w4cv0w.h'] 612s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 612s # Output: comment 612s # 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. 612s # 612s # 612s # file-header 612s # file-tail 612s # 612s # comment 612s # comment: Generated data ends here 612s ok 6 __main__.TestMkenums.test_empty_template 612s # tmpdir: /tmp/tmppjlzi1em 612s # rspfile: False, mkenums: /usr/bin/glib-mkenums 612s # /tmp/tmppjlzi1em/tmpi6w7xmm3.template: 612s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmppjlzi1em/tmpi6w7xmm3.template'] 612s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 612s # 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. */ 612s # 612s # 612s # /* Generated data ends here */ 612s ok 7 __main__.TestMkenums.test_enum_name 612s # tmpdir: /tmp/tmpt02upib5 612s # rspfile: False, mkenums: /usr/bin/glib-mkenums 612s # /tmp/tmpt02upib5/tmpe0s2o7np.h: 612s # typedef enum _SomeEnumIdentifier { 612s # ENUM_VALUE 612s # } SomeEnumIdentifier; 612s # 612s # /tmp/tmpt02upib5/tmpfkynhdbo.template: 612s # /*** BEGIN file-header ***/ 612s # file-header 612s # /*** END file-header ***/ 612s # 612s # /*** BEGIN file-production ***/ 612s # file-production 612s # filename: @filename@ 612s # basename: @basename@ 612s # /*** END file-production ***/ 612s # 612s # /*** BEGIN enumeration-production ***/ 612s # enumeration-production 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END enumeration-production ***/ 612s # 612s # /*** BEGIN value-header ***/ 612s # value-header 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-header ***/ 612s # 612s # /*** BEGIN value-production ***/ 612s # value-production 612s # VALUENAME: @VALUENAME@ 612s # valuenick: @valuenick@ 612s # valuenum: @valuenum@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-production ***/ 612s # 612s # /*** BEGIN value-tail ***/ 612s # value-tail 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-tail ***/ 612s # 612s # /*** BEGIN comment ***/ 612s # comment 612s # comment: @comment@ 612s # /*** END comment ***/ 612s # 612s # /*** BEGIN file-tail ***/ 612s # file-tail 612s # /*** END file-tail ***/ 612s # 612s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt02upib5/tmpfkynhdbo.template', '/tmp/tmpt02upib5/tmpe0s2o7np.h'] 612s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 612s # Output: comment 612s # 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. 612s # 612s # 612s # file-header 612s # file-production 612s # filename: /tmp/tmpt02upib5/tmpe0s2o7np.h 612s # basename: tmpe0s2o7np.h 612s # enumeration-production 612s # EnumName: SomeEnumIdentifier 612s # enum_name: some_enum_identifier 612s # ENUMNAME: SOME_ENUM_IDENTIFIER 612s # ENUMSHORT: ENUM_IDENTIFIER 612s # ENUMPREFIX: SOME 612s # enumsince: 612s # type: enum 612s # Type: Enum 612s # TYPE: ENUM 612s # value-header 612s # EnumName: SomeEnumIdentifier 612s # enum_name: some_enum_identifier 612s # ENUMNAME: SOME_ENUM_IDENTIFIER 612s # ENUMSHORT: ENUM_IDENTIFIER 612s # ENUMPREFIX: SOME 612s # enumsince: 612s # type: enum 612s # Type: Enum 612s # TYPE: ENUM 612s # value-production 612s # VALUENAME: ENUM_VALUE 612s # valuenick: value 612s # valuenum: 0 612s # type: enum 612s # Type: Enum 612s # TYPE: ENUM 612s # value-tail 612s # EnumName: SomeEnumIdentifier 612s # enum_name: some_enum_identifier 612s # ENUMNAME: SOME_ENUM_IDENTIFIER 612s # ENUMSHORT: ENUM_IDENTIFIER 612s # ENUMPREFIX: SOME 612s # enumsince: 612s # type: enum 612s # Type: Enum 612s # TYPE: ENUM 612s # file-tail 612s # 612s # comment 612s # comment: Generated data ends here 612s ok 8 __main__.TestMkenums.test_enum_private_public 612s # tmpdir: /tmp/tmphywk48fc 612s # rspfile: False, mkenums: /usr/bin/glib-mkenums 612s # /tmp/tmphywk48fc/tmplkbna1bz.h: 612s # typedef enum { 612s # ENUM_VALUE_PUBLIC1, 612s # /*< private >*/ 612s # ENUM_VALUE_PRIVATE, 612s # } SomeEnumA 612s # 612s # /tmp/tmphywk48fc/tmpzsn7uy5a.template: 612s # /*** BEGIN file-header ***/ 612s # file-header 612s # /*** END file-header ***/ 612s # 612s # /*** BEGIN file-production ***/ 612s # file-production 612s # filename: @filename@ 612s # basename: @basename@ 612s # /*** END file-production ***/ 612s # 612s # /*** BEGIN enumeration-production ***/ 612s # enumeration-production 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END enumeration-production ***/ 612s # 612s # /*** BEGIN value-header ***/ 612s # value-header 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-header ***/ 612s # 612s # /*** BEGIN value-production ***/ 612s # value-production 612s # VALUENAME: @VALUENAME@ 612s # valuenick: @valuenick@ 612s # valuenum: @valuenum@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-production ***/ 612s # 612s # /*** BEGIN value-tail ***/ 612s # value-tail 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-tail ***/ 612s # 612s # /*** BEGIN comment ***/ 612s # comment 612s # comment: @comment@ 612s # /*** END comment ***/ 612s # 612s # /*** BEGIN file-tail ***/ 612s # file-tail 612s # /*** END file-tail ***/ 612s # 612s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphywk48fc/tmpzsn7uy5a.template', '/tmp/tmphywk48fc/tmplkbna1bz.h'] 612s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 612s # Output: comment 612s # 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. 612s # 612s # 612s # file-header 612s # file-production 612s # filename: /tmp/tmphywk48fc/tmplkbna1bz.h 612s # basename: tmplkbna1bz.h 612s # enumeration-production 612s # EnumName: SomeEnumA 612s # enum_name: some_enum_a 612s # ENUMNAME: SOME_ENUM_A 612s # ENUMSHORT: ENUM_A 612s # ENUMPREFIX: SOME 612s # enumsince: 612s # type: enum 612s # Type: Enum 612s # TYPE: ENUM 612s # value-header 612s # EnumName: SomeEnumA 612s # enum_name: some_enum_a 612s # ENUMNAME: SOME_ENUM_A 612s # ENUMSHORT: ENUM_A 612s # ENUMPREFIX: SOME 612s # enumsince: 612s # type: enum 612s # Type: Enum 612s # TYPE: ENUM 612s # value-production 612s # VALUENAME: ENUM_VALUE_PUBLIC1 612s # valuenick: public1 612s # valuenum: 0 612s # type: enum 612s # Type: Enum 612s # TYPE: ENUM 612s # value-tail 612s # EnumName: SomeEnumA 612s # enum_name: some_enum_a 612s # ENUMNAME: SOME_ENUM_A 612s # ENUMSHORT: ENUM_A 612s # ENUMPREFIX: SOME 612s # enumsince: 612s # type: enum 612s # Type: Enum 612s # TYPE: ENUM 612s # file-tail 612s # 612s # comment 612s # comment: Generated data ends here 612s # /tmp/tmphywk48fc/tmpk6gjte3d.h: 612s # typedef enum { 612s # /*< private >*/ 612s # ENUM_VALUE_PRIVATE, 612s # /*< public >*/ 612s # ENUM_VALUE_PUBLIC2, 612s # } SomeEnumB; 612s # 612s # /tmp/tmphywk48fc/tmpo91p7rwa.template: 612s # /*** BEGIN file-header ***/ 612s # file-header 612s # /*** END file-header ***/ 612s # 612s # /*** BEGIN file-production ***/ 612s # file-production 612s # filename: @filename@ 612s # basename: @basename@ 612s # /*** END file-production ***/ 612s # 612s # /*** BEGIN enumeration-production ***/ 612s # enumeration-production 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END enumeration-production ***/ 612s # 612s # /*** BEGIN value-header ***/ 612s # value-header 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-header ***/ 612s # 612s # /*** BEGIN value-production ***/ 612s # value-production 612s # VALUENAME: @VALUENAME@ 612s # valuenick: @valuenick@ 612s # valuenum: @valuenum@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-production ***/ 612s # 612s # /*** BEGIN value-tail ***/ 612s # value-tail 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-tail ***/ 612s # 612s # /*** BEGIN comment ***/ 612s # comment 612s # comment: @comment@ 612s # /*** END comment ***/ 612s # 612s # /*** BEGIN file-tail ***/ 612s # file-tail 612s # /*** END file-tail ***/ 612s # 612s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphywk48fc/tmpo91p7rwa.template', '/tmp/tmphywk48fc/tmpk6gjte3d.h'] 612s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 612s # Output: comment 612s # 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. 612s # 612s # 612s # file-header 612s # file-production 612s # filename: /tmp/tmphywk48fc/tmpk6gjte3d.h 612s # basename: tmpk6gjte3d.h 612s # enumeration-production 612s # EnumName: SomeEnumB 612s # enum_name: some_enum_b 612s # ENUMNAME: SOME_ENUM_B 612s # ENUMSHORT: ENUM_B 612s # ENUMPREFIX: SOME 612s # enumsince: 612s # type: enum 612s # Type: Enum 612s # TYPE: ENUM 612s # value-header 612s # EnumName: SomeEnumB 612s # enum_name: some_enum_b 612s # ENUMNAME: SOME_ENUM_B 612s # ENUMSHORT: ENUM_B 612s # ENUMPREFIX: SOME 612s # enumsince: 612s # type: enum 612s # Type: Enum 612s # TYPE: ENUM 612s # value-production 612s # VALUENAME: ENUM_VALUE_PUBLIC2 612s # valuenick: public2 612s # valuenum: 1 612s # type: enum 612s # Type: Enum 612s # TYPE: ENUM 612s # value-tail 612s # EnumName: SomeEnumB 612s # enum_name: some_enum_b 612s # ENUMNAME: SOME_ENUM_B 612s # ENUMSHORT: ENUM_B 612s # ENUMPREFIX: SOME 612s # enumsince: 612s # type: enum 612s # Type: Enum 612s # TYPE: ENUM 612s # file-tail 612s # 612s # comment 612s # comment: Generated data ends here 612s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 612s # tmpdir: /tmp/tmpmbva8b9_ 612s # rspfile: False, mkenums: /usr/bin/glib-mkenums 612s # /tmp/tmpmbva8b9_/tmp39cot15p.h: 612s # typedef enum { 612s # /*< private >*/ 612s # ENUM_VALUE_PRIVATE = 5, 612s # /*< public >*/ 612s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 612s # } TestSymbolicEnum; 612s # 612s # /tmp/tmpmbva8b9_/tmp118f4gw_.template: 612s # /*** BEGIN file-header ***/ 612s # file-header 612s # /*** END file-header ***/ 612s # 612s # /*** BEGIN file-production ***/ 612s # file-production 612s # filename: @filename@ 612s # basename: @basename@ 612s # /*** END file-production ***/ 612s # 612s # /*** BEGIN enumeration-production ***/ 612s # enumeration-production 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END enumeration-production ***/ 612s # 612s # /*** BEGIN value-header ***/ 612s # value-header 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-header ***/ 612s # 612s # /*** BEGIN value-production ***/ 612s # value-production 612s # VALUENAME: @VALUENAME@ 612s # valuenick: @valuenick@ 612s # valuenum: @valuenum@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-production ***/ 612s # 612s # /*** BEGIN value-tail ***/ 612s # value-tail 612s # EnumName: @EnumName@ 612s # enum_name: @enum_name@ 612s # ENUMNAME: @ENUMNAME@ 612s # ENUMSHORT: @ENUMSHORT@ 612s # ENUMPREFIX: @ENUMPREFIX@ 612s # enumsince: @enumsince@ 612s # type: @type@ 612s # Type: @Type@ 612s # TYPE: @TYPE@ 612s # /*** END value-tail ***/ 612s # 612s # /*** BEGIN comment ***/ 612s # comment 612s # comment: @comment@ 612s # /*** END comment ***/ 612s # 612s # /*** BEGIN file-tail ***/ 612s # file-tail 612s # /*** END file-tail ***/ 612s # 612s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmbva8b9_/tmp118f4gw_.template', '/tmp/tmpmbva8b9_/tmp39cot15p.h'] 612s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 612s # Output: comment 612s # 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. 612s # 612s # 612s # file-header 612s # file-production 612s # filename: /tmp/tmpmbva8b9_/tmp39cot15p.h 612s # basename: tmp39cot15p.h 612s # enumeration-production 612s # EnumName: TestSymbolicEnum 612s # enum_name: test_symbolic_enum 612s # ENUMNAME: TEST_SYMBOLIC_ENUM 612s # ENUMSHORT: SYMBOLIC_ENUM 612s # ENUMPREFIX: TEST 612s # enumsince: 612s # type: enum 612s # Type: Enum 612s # TYPE: ENUM 612s # value-header 612s # EnumName: TestSymbolicEnum 612s # enum_name: test_symbolic_enum 612s # ENUMNAME: TEST_SYMBOLIC_ENUM 612s # ENUMSHORT: SYMBOLIC_ENUM 612s # ENUMPREFIX: TEST 612s # enumsince: 612s # type: enum 612s # Type: Enum 612s # TYPE: ENUM 612s # value-production 612s # VALUENAME: ENUM_VALUE_PUBLIC 612s # valuenick: public 612s # valuenum: 7 612s # type: enum 612s # Type: Enum 612s # TYPE: ENUM 612s # value-tail 612s # EnumName: TestSymbolicEnum 612s # enum_name: test_symbolic_enum 612s # ENUMNAME: TEST_SYMBOLIC_ENUM 612s # ENUMSHORT: SYMBOLIC_ENUM 612s # ENUMPREFIX: TEST 612s # enumsince: 612s # type: enum 612s # Type: Enum 612s # TYPE: ENUM 612s # file-tail 612s # 612s # comment 612s # comment: Generated data ends here 612s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 612s # tmpdir: /tmp/tmpjkdcy4zk 612s # rspfile: False, mkenums: /usr/bin/glib-mkenums 612s # /tmp/tmpjkdcy4zk/tmpjh2n4run.template: 612s # /*** BEGIN file-header ***/ 612s # file-header 612s # filename: @filename@ 612s # basename: @basename@ 612s # /*** END file-header ***/ 612s # 612s # /*** BEGIN comment ***/ 612s # comment 612s # comment: @comment@ 612s # /*** END comment ***/ 612s # 612s # /*** BEGIN file-tail ***/ 612s # file-tail 612s # filename: @filename@ 612s # basename: @basename@ 612s # /*** END file-tail ***/ 612s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpjkdcy4zk/tmpjh2n4run.template'] 612s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 612s # Output: comment 612s # 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. 612s # 612s # 612s # file-header 612s # filename: @filename@ 612s # basename: @basename@ 612s # file-tail 612s # filename: @filename@ 612s # basename: @basename@ 612s # 612s # comment 612s # comment: Generated data ends here 613s ok 11 __main__.TestMkenums.test_help 613s # tmpdir: /tmp/tmpqfxorq3_ 613s # rspfile: False, mkenums: /usr/bin/glib-mkenums 613s # Running: ['/usr/bin/glib-mkenums', '--help'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 613s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 613s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 613s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 613s # [--comments COMMENT_TMPL] [--template TEMPLATE] 613s # [--output OUTPUT] [--version] 613s # [args ...] 613s # 613s # positional arguments: 613s # args One or more input files, or a single argument 613s # @rspfile_path pointing to a file that contains the 613s # actual arguments 613s # 613s # options: 613s # -h, --help show this help message and exit 613s # --identifier-prefix IDPREFIX 613s # Identifier prefix 613s # --symbol-prefix SYMPREFIX 613s # Symbol prefix 613s # --fhead FHEAD Output file header 613s # --ftail FTAIL Output file footer 613s # --fprod FPROD Put out TEXT every time a new input file is being 613s # processed. 613s # --eprod EPROD Per enum text, produced prior to value iterations 613s # --vhead VHEAD Value header, produced before iterating over enum 613s # values 613s # --vprod VPROD Value text, produced for each enum value. 613s # --vtail VTAIL Value tail, produced after iterating over enum values 613s # --comments COMMENT_TMPL 613s # Comment structure 613s # --template TEMPLATE Template file 613s # --output OUTPUT 613s # --version, -v Print version information 613s # 613s # Production text substitutions: 613s # @EnumName@ PrefixTheXEnum 613s # @enum_name@ prefix_the_xenum 613s # @ENUMNAME@ PREFIX_THE_XENUM 613s # @ENUMSHORT@ THE_XENUM 613s # @ENUMPREFIX@ PREFIX 613s # @enumsince@ the user-provided since value given 613s # @VALUENAME@ PREFIX_THE_XVALUE 613s # @valuenick@ the-xvalue 613s # @valuenum@ the integer value (limited support, Since: 2.26) 613s # @type@ either enum or flags 613s # @Type@ either Enum or Flags 613s # @TYPE@ either ENUM or FLAGS 613s # @filename@ name of current input file 613s # @basename@ base name of the current input file (Since: 2.22) 613s ok 12 __main__.TestMkenums.test_no_args 613s # tmpdir: /tmp/tmp5bq5h9i0 613s # rspfile: False, mkenums: /usr/bin/glib-mkenums 613s # Running: ['/usr/bin/glib-mkenums'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # 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. */ 613s # 613s # 613s # /* Generated data ends here */ 613s ok 13 __main__.TestMkenums.test_no_headers 613s # tmpdir: /tmp/tmpj65jkqy9 613s # rspfile: False, mkenums: /usr/bin/glib-mkenums 613s # /tmp/tmpj65jkqy9/tmp9jpu_h1m.template: 613s # /*** BEGIN file-header ***/ 613s # file-header 613s # /*** END file-header ***/ 613s # 613s # /*** BEGIN file-production ***/ 613s # file-production 613s # filename: @filename@ 613s # basename: @basename@ 613s # /*** END file-production ***/ 613s # 613s # /*** BEGIN enumeration-production ***/ 613s # enumeration-production 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END enumeration-production ***/ 613s # 613s # /*** BEGIN value-header ***/ 613s # value-header 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-header ***/ 613s # 613s # /*** BEGIN value-production ***/ 613s # value-production 613s # VALUENAME: @VALUENAME@ 613s # valuenick: @valuenick@ 613s # valuenum: @valuenum@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-production ***/ 613s # 613s # /*** BEGIN value-tail ***/ 613s # value-tail 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-tail ***/ 613s # 613s # /*** BEGIN comment ***/ 613s # comment 613s # comment: @comment@ 613s # /*** END comment ***/ 613s # 613s # /*** BEGIN file-tail ***/ 613s # file-tail 613s # /*** END file-tail ***/ 613s # 613s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpj65jkqy9/tmp9jpu_h1m.template'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # Output: comment 613s # 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. 613s # 613s # 613s # file-header 613s # file-tail 613s # 613s # comment 613s # comment: Generated data ends here 613s ok 14 __main__.TestMkenums.test_no_nick 613s # tmpdir: /tmp/tmp_jo9qagc 613s # rspfile: False, mkenums: /usr/bin/glib-mkenums 613s # /tmp/tmp_jo9qagc/tmpkcsbven3.h: 613s # typedef enum { 613s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 613s # } GeglSamplerType; 613s # 613s # /tmp/tmp_jo9qagc/tmpns10qupm.template: 613s # /*** BEGIN file-header ***/ 613s # file-header 613s # /*** END file-header ***/ 613s # 613s # /*** BEGIN file-production ***/ 613s # file-production 613s # filename: @filename@ 613s # basename: @basename@ 613s # /*** END file-production ***/ 613s # 613s # /*** BEGIN enumeration-production ***/ 613s # enumeration-production 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END enumeration-production ***/ 613s # 613s # /*** BEGIN value-header ***/ 613s # value-header 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-header ***/ 613s # 613s # /*** BEGIN value-production ***/ 613s # value-production 613s # VALUENAME: @VALUENAME@ 613s # valuenick: @valuenick@ 613s # valuenum: @valuenum@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-production ***/ 613s # 613s # /*** BEGIN value-tail ***/ 613s # value-tail 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-tail ***/ 613s # 613s # /*** BEGIN comment ***/ 613s # comment 613s # comment: @comment@ 613s # /*** END comment ***/ 613s # 613s # /*** BEGIN file-tail ***/ 613s # file-tail 613s # /*** END file-tail ***/ 613s # 613s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_jo9qagc/tmpns10qupm.template', '/tmp/tmp_jo9qagc/tmpkcsbven3.h'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # Output: comment 613s # 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. 613s # 613s # 613s # file-header 613s # file-production 613s # filename: /tmp/tmp_jo9qagc/tmpkcsbven3.h 613s # basename: tmpkcsbven3.h 613s # enumeration-production 613s # EnumName: GeglSamplerType 613s # enum_name: gegl_sampler_type 613s # ENUMNAME: GEGL_SAMPLER_TYPE 613s # ENUMSHORT: SAMPLER_TYPE 613s # ENUMPREFIX: GEGL 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-header 613s # EnumName: GeglSamplerType 613s # enum_name: gegl_sampler_type 613s # ENUMNAME: GEGL_SAMPLER_TYPE 613s # ENUMSHORT: SAMPLER_TYPE 613s # ENUMPREFIX: GEGL 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-production 613s # VALUENAME: GEGL_SAMPLER_NEAREST 613s # valuenick: nearest 613s # valuenum: 0 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-tail 613s # EnumName: GeglSamplerType 613s # enum_name: gegl_sampler_type 613s # ENUMNAME: GEGL_SAMPLER_TYPE 613s # ENUMSHORT: SAMPLER_TYPE 613s # ENUMPREFIX: GEGL 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # file-tail 613s # 613s # comment 613s # comment: Generated data ends here 613s ok 15 __main__.TestMkenums.test_non_utf8_encoding 613s # tmpdir: /tmp/tmpz2uynon9 613s # rspfile: False, mkenums: /usr/bin/glib-mkenums 613s # /tmp/tmpz2uynon9/tmpbo3uewjz.h: 613s # /* Copyright © La Peña */ 613s # typedef enum { 613s # ENUM_VALUE 613s # } SomeEnumIdentifier; 613s # 613s # /tmp/tmpz2uynon9/tmpq8wid66w.template: 613s # /*** BEGIN file-header ***/ 613s # file-header 613s # /*** END file-header ***/ 613s # 613s # /*** BEGIN file-production ***/ 613s # file-production 613s # filename: @filename@ 613s # basename: @basename@ 613s # /*** END file-production ***/ 613s # 613s # /*** BEGIN enumeration-production ***/ 613s # enumeration-production 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END enumeration-production ***/ 613s # 613s # /*** BEGIN value-header ***/ 613s # value-header 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-header ***/ 613s # 613s # /*** BEGIN value-production ***/ 613s # value-production 613s # VALUENAME: @VALUENAME@ 613s # valuenick: @valuenick@ 613s # valuenum: @valuenum@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-production ***/ 613s # 613s # /*** BEGIN value-tail ***/ 613s # value-tail 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-tail ***/ 613s # 613s # /*** BEGIN comment ***/ 613s # comment 613s # comment: @comment@ 613s # /*** END comment ***/ 613s # 613s # /*** BEGIN file-tail ***/ 613s # file-tail 613s # /*** END file-tail ***/ 613s # 613s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpz2uynon9/tmpq8wid66w.template', '/tmp/tmpz2uynon9/tmpbo3uewjz.h'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # Output: comment 613s # 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. 613s # 613s # 613s # file-header 613s # file-production 613s # filename: /tmp/tmpz2uynon9/tmpbo3uewjz.h 613s # basename: tmpbo3uewjz.h 613s # enumeration-production 613s # EnumName: SomeEnumIdentifier 613s # enum_name: some_enum_identifier 613s # ENUMNAME: SOME_ENUM_IDENTIFIER 613s # ENUMSHORT: ENUM_IDENTIFIER 613s # ENUMPREFIX: SOME 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-header 613s # EnumName: SomeEnumIdentifier 613s # enum_name: some_enum_identifier 613s # ENUMNAME: SOME_ENUM_IDENTIFIER 613s # ENUMSHORT: ENUM_IDENTIFIER 613s # ENUMPREFIX: SOME 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-production 613s # VALUENAME: ENUM_VALUE 613s # valuenick: value 613s # valuenum: 0 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-tail 613s # EnumName: SomeEnumIdentifier 613s # enum_name: some_enum_identifier 613s # ENUMNAME: SOME_ENUM_IDENTIFIER 613s # ENUMSHORT: ENUM_IDENTIFIER 613s # ENUMPREFIX: SOME 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # file-tail 613s # 613s # comment 613s # comment: Generated data ends here 613s ok 16 __main__.TestMkenums.test_reproducible 613s # tmpdir: /tmp/tmpcmiw7_6y 613s # rspfile: False, mkenums: /usr/bin/glib-mkenums 613s # /tmp/tmpcmiw7_6y/tmp2jxogrp5.template: template 613s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcmiw7_6y/tmp2jxogrp5.template', '/tmp/tmpcmiw7_6y/tmpnmmm86xb1.h', '/tmp/tmpcmiw7_6y/tmp0u5_j03j2.h'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # 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. */ 613s # 613s # 613s # /* Generated data ends here */ 613s # /tmp/tmpcmiw7_6y/tmp6ks23cmc.template: template 613s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcmiw7_6y/tmp6ks23cmc.template', '/tmp/tmpcmiw7_6y/tmp0u5_j03j2.h', '/tmp/tmpcmiw7_6y/tmpnmmm86xb1.h'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # 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. */ 613s # 613s # 613s # /* Generated data ends here */ 613s ok 17 __main__.TestMkenums.test_since 613s # tmpdir: /tmp/tmpafh89sjw 613s # rspfile: False, mkenums: /usr/bin/glib-mkenums 613s # /tmp/tmpafh89sjw/tmpkpw7xx5k.h: 613s # typedef enum { /*< since=1.0 >*/ 613s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 613s # } QmiWmsMessageProtocol; 613s # 613s # /tmp/tmpafh89sjw/tmpwwj2h0_6.template: 613s # /*** BEGIN file-header ***/ 613s # file-header 613s # /*** END file-header ***/ 613s # 613s # /*** BEGIN file-production ***/ 613s # file-production 613s # filename: @filename@ 613s # basename: @basename@ 613s # /*** END file-production ***/ 613s # 613s # /*** BEGIN enumeration-production ***/ 613s # enumeration-production 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END enumeration-production ***/ 613s # 613s # /*** BEGIN value-header ***/ 613s # value-header 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-header ***/ 613s # 613s # /*** BEGIN value-production ***/ 613s # value-production 613s # VALUENAME: @VALUENAME@ 613s # valuenick: @valuenick@ 613s # valuenum: @valuenum@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-production ***/ 613s # 613s # /*** BEGIN value-tail ***/ 613s # value-tail 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-tail ***/ 613s # 613s # /*** BEGIN comment ***/ 613s # comment 613s # comment: @comment@ 613s # /*** END comment ***/ 613s # 613s # /*** BEGIN file-tail ***/ 613s # file-tail 613s # /*** END file-tail ***/ 613s # 613s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpafh89sjw/tmpwwj2h0_6.template', '/tmp/tmpafh89sjw/tmpkpw7xx5k.h'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # Output: comment 613s # 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. 613s # 613s # 613s # file-header 613s # file-production 613s # filename: /tmp/tmpafh89sjw/tmpkpw7xx5k.h 613s # basename: tmpkpw7xx5k.h 613s # enumeration-production 613s # EnumName: QmiWmsMessageProtocol 613s # enum_name: qmi_wms_message_protocol 613s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 613s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 613s # ENUMPREFIX: QMI 613s # enumsince: 1.0 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-header 613s # EnumName: QmiWmsMessageProtocol 613s # enum_name: qmi_wms_message_protocol 613s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 613s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 613s # ENUMPREFIX: QMI 613s # enumsince: 1.0 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-production 613s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 613s # valuenick: cdma 613s # valuenum: 0 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-tail 613s # EnumName: QmiWmsMessageProtocol 613s # enum_name: qmi_wms_message_protocol 613s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 613s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 613s # ENUMPREFIX: QMI 613s # enumsince: 1.0 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # file-tail 613s # 613s # comment 613s # comment: Generated data ends here 613s ok 18 __main__.TestMkenums.test_with_double_quotes 613s # tmpdir: /tmp/tmp7_x73nll 613s # rspfile: False, mkenums: /usr/bin/glib-mkenums 613s # /tmp/tmp7_x73nll/tmp22zlkiag.h: 613s # typedef enum { 613s # FOO_VALUE /*< nick="eek, a comma" >*/ 613s # } Foo; 613s # 613s # /tmp/tmp7_x73nll/tmpuo36qnpd.template: 613s # /*** BEGIN file-header ***/ 613s # file-header 613s # /*** END file-header ***/ 613s # 613s # /*** BEGIN file-production ***/ 613s # file-production 613s # filename: @filename@ 613s # basename: @basename@ 613s # /*** END file-production ***/ 613s # 613s # /*** BEGIN enumeration-production ***/ 613s # enumeration-production 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END enumeration-production ***/ 613s # 613s # /*** BEGIN value-header ***/ 613s # value-header 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-header ***/ 613s # 613s # /*** BEGIN value-production ***/ 613s # value-production 613s # VALUENAME: @VALUENAME@ 613s # valuenick: @valuenick@ 613s # valuenum: @valuenum@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-production ***/ 613s # 613s # /*** BEGIN value-tail ***/ 613s # value-tail 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-tail ***/ 613s # 613s # /*** BEGIN comment ***/ 613s # comment 613s # comment: @comment@ 613s # /*** END comment ***/ 613s # 613s # /*** BEGIN file-tail ***/ 613s # file-tail 613s # /*** END file-tail ***/ 613s # 613s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp7_x73nll/tmpuo36qnpd.template', '/tmp/tmp7_x73nll/tmp22zlkiag.h'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # Output: comment 613s # 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. 613s # 613s # 613s # file-header 613s # file-production 613s # filename: /tmp/tmp7_x73nll/tmp22zlkiag.h 613s # basename: tmp22zlkiag.h 613s # enumeration-production 613s # EnumName: Foo 613s # enum_name: foo_ 613s # ENUMNAME: FOO_ 613s # ENUMSHORT: 613s # ENUMPREFIX: FOO 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-header 613s # EnumName: Foo 613s # enum_name: foo_ 613s # ENUMNAME: FOO_ 613s # ENUMSHORT: 613s # ENUMPREFIX: FOO 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-production 613s # VALUENAME: FOO_VALUE 613s # valuenick: eek, a comma 613s # valuenum: 0 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-tail 613s # EnumName: Foo 613s # enum_name: foo_ 613s # ENUMNAME: FOO_ 613s # ENUMSHORT: 613s # ENUMPREFIX: FOO 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # file-tail 613s # 613s # comment 613s # comment: Generated data ends here 613s ok 19 __main__.TestRspMkenums.test_available_in 613s # tmpdir: /tmp/tmpd6swv0f6 613s # rspfile: True, mkenums: /usr/bin/glib-mkenums 613s # /tmp/tmpd6swv0f6/tmpqffytjob.h: 613s # typedef enum { 613s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 613s # } GDBusServerFlags; 613s # 613s # /tmp/tmpd6swv0f6/tmptdpvklny.template: 613s # /*** BEGIN file-header ***/ 613s # file-header 613s # /*** END file-header ***/ 613s # 613s # /*** BEGIN file-production ***/ 613s # file-production 613s # filename: @filename@ 613s # basename: @basename@ 613s # /*** END file-production ***/ 613s # 613s # /*** BEGIN enumeration-production ***/ 613s # enumeration-production 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END enumeration-production ***/ 613s # 613s # /*** BEGIN value-header ***/ 613s # value-header 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-header ***/ 613s # 613s # /*** BEGIN value-production ***/ 613s # value-production 613s # VALUENAME: @VALUENAME@ 613s # valuenick: @valuenick@ 613s # valuenum: @valuenum@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-production ***/ 613s # 613s # /*** BEGIN value-tail ***/ 613s # value-tail 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-tail ***/ 613s # 613s # /*** BEGIN comment ***/ 613s # comment 613s # comment: @comment@ 613s # /*** END comment ***/ 613s # 613s # /*** BEGIN file-tail ***/ 613s # file-tail 613s # /*** END file-tail ***/ 613s # 613s # Response file contains: --template /tmp/tmpd6swv0f6/tmptdpvklny.template /tmp/tmpd6swv0f6/tmpqffytjob.h 613s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpd6swv0f6/tmp7te3g9o2'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # Output: comment 613s # 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. 613s # 613s # 613s # file-header 613s # file-production 613s # filename: /tmp/tmpd6swv0f6/tmpqffytjob.h 613s # basename: tmpqffytjob.h 613s # enumeration-production 613s # EnumName: GDBusServerFlags 613s # enum_name: g_dbus_server_flags 613s # ENUMNAME: G_DBUS_SERVER_FLAGS 613s # ENUMSHORT: DBUS_SERVER_FLAGS 613s # ENUMPREFIX: G 613s # enumsince: 613s # type: flags 613s # Type: Flags 613s # TYPE: FLAGS 613s # value-header 613s # EnumName: GDBusServerFlags 613s # enum_name: g_dbus_server_flags 613s # ENUMNAME: G_DBUS_SERVER_FLAGS 613s # ENUMSHORT: DBUS_SERVER_FLAGS 613s # ENUMPREFIX: G 613s # enumsince: 613s # type: flags 613s # Type: Flags 613s # TYPE: FLAGS 613s # value-production 613s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 613s # valuenick: user 613s # valuenum: 4 613s # type: flags 613s # Type: Flags 613s # TYPE: FLAGS 613s # value-tail 613s # EnumName: GDBusServerFlags 613s # enum_name: g_dbus_server_flags 613s # ENUMNAME: G_DBUS_SERVER_FLAGS 613s # ENUMSHORT: DBUS_SERVER_FLAGS 613s # ENUMPREFIX: G 613s # enumsince: 613s # type: flags 613s # Type: Flags 613s # TYPE: FLAGS 613s # file-tail 613s # 613s # comment 613s # comment: Generated data ends here 613s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 613s # tmpdir: /tmp/tmpa46u65jq 613s # rspfile: True, mkenums: /usr/bin/glib-mkenums 613s # /tmp/tmpa46u65jq/tmpg7dw04k8.h: 613s # typedef enum { 613s # ENUM_VALUE_WITH_COMMA = ',', 613s # } TestCommaEnum; 613s # 613s # /tmp/tmpa46u65jq/tmpyu2h70u6.template: 613s # /*** BEGIN file-header ***/ 613s # file-header 613s # /*** END file-header ***/ 613s # 613s # /*** BEGIN file-production ***/ 613s # file-production 613s # filename: @filename@ 613s # basename: @basename@ 613s # /*** END file-production ***/ 613s # 613s # /*** BEGIN enumeration-production ***/ 613s # enumeration-production 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END enumeration-production ***/ 613s # 613s # /*** BEGIN value-header ***/ 613s # value-header 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-header ***/ 613s # 613s # /*** BEGIN value-production ***/ 613s # value-production 613s # VALUENAME: @VALUENAME@ 613s # valuenick: @valuenick@ 613s # valuenum: @valuenum@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-production ***/ 613s # 613s # /*** BEGIN value-tail ***/ 613s # value-tail 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-tail ***/ 613s # 613s # /*** BEGIN comment ***/ 613s # comment 613s # comment: @comment@ 613s # /*** END comment ***/ 613s # 613s # /*** BEGIN file-tail ***/ 613s # file-tail 613s # /*** END file-tail ***/ 613s # 613s # Response file contains: --template /tmp/tmpa46u65jq/tmpyu2h70u6.template /tmp/tmpa46u65jq/tmpg7dw04k8.h 613s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpa46u65jq/tmp7zvie4sy'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # Output: comment 613s # 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. 613s # 613s # 613s # file-header 613s # file-production 613s # filename: /tmp/tmpa46u65jq/tmpg7dw04k8.h 613s # basename: tmpg7dw04k8.h 613s # enumeration-production 613s # EnumName: TestCommaEnum 613s # enum_name: test_comma_enum 613s # ENUMNAME: TEST_COMMA_ENUM 613s # ENUMSHORT: COMMA_ENUM 613s # ENUMPREFIX: TEST 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-header 613s # EnumName: TestCommaEnum 613s # enum_name: test_comma_enum 613s # ENUMNAME: TEST_COMMA_ENUM 613s # ENUMSHORT: COMMA_ENUM 613s # ENUMPREFIX: TEST 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-production 613s # VALUENAME: ENUM_VALUE_WITH_COMMA 613s # valuenick: comma 613s # valuenum: 44 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-tail 613s # EnumName: TestCommaEnum 613s # enum_name: test_comma_enum 613s # ENUMNAME: TEST_COMMA_ENUM 613s # ENUMSHORT: COMMA_ENUM 613s # ENUMPREFIX: TEST 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # file-tail 613s # 613s # comment 613s # comment: Generated data ends here 613s ok 21 __main__.TestRspMkenums.test_deprecated_in 613s # tmpdir: /tmp/tmp1q_zdwjn 613s # rspfile: True, mkenums: /usr/bin/glib-mkenums 613s # /tmp/tmp1q_zdwjn/tmp225t_z8h.h: 613s # typedef enum { 613s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 613s # } GDBusServerFlags; 613s # 613s # /tmp/tmp1q_zdwjn/tmp3ozf2zmq.template: 613s # /*** BEGIN file-header ***/ 613s # file-header 613s # /*** END file-header ***/ 613s # 613s # /*** BEGIN file-production ***/ 613s # file-production 613s # filename: @filename@ 613s # basename: @basename@ 613s # /*** END file-production ***/ 613s # 613s # /*** BEGIN enumeration-production ***/ 613s # enumeration-production 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END enumeration-production ***/ 613s # 613s # /*** BEGIN value-header ***/ 613s # value-header 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-header ***/ 613s # 613s # /*** BEGIN value-production ***/ 613s # value-production 613s # VALUENAME: @VALUENAME@ 613s # valuenick: @valuenick@ 613s # valuenum: @valuenum@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-production ***/ 613s # 613s # /*** BEGIN value-tail ***/ 613s # value-tail 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-tail ***/ 613s # 613s # /*** BEGIN comment ***/ 613s # comment 613s # comment: @comment@ 613s # /*** END comment ***/ 613s # 613s # /*** BEGIN file-tail ***/ 613s # file-tail 613s # /*** END file-tail ***/ 613s # 613s # Response file contains: --template /tmp/tmp1q_zdwjn/tmp3ozf2zmq.template /tmp/tmp1q_zdwjn/tmp225t_z8h.h 613s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp1q_zdwjn/tmp_mhc7k6_'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # Output: comment 613s # 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. 613s # 613s # 613s # file-header 613s # file-production 613s # filename: /tmp/tmp1q_zdwjn/tmp225t_z8h.h 613s # basename: tmp225t_z8h.h 613s # enumeration-production 613s # EnumName: GDBusServerFlags 613s # enum_name: g_dbus_server_flags 613s # ENUMNAME: G_DBUS_SERVER_FLAGS 613s # ENUMSHORT: DBUS_SERVER_FLAGS 613s # ENUMPREFIX: G 613s # enumsince: 613s # type: flags 613s # Type: Flags 613s # TYPE: FLAGS 613s # value-header 613s # EnumName: GDBusServerFlags 613s # enum_name: g_dbus_server_flags 613s # ENUMNAME: G_DBUS_SERVER_FLAGS 613s # ENUMSHORT: DBUS_SERVER_FLAGS 613s # ENUMPREFIX: G 613s # enumsince: 613s # type: flags 613s # Type: Flags 613s # TYPE: FLAGS 613s # value-production 613s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 613s # valuenick: user 613s # valuenum: 4 613s # type: flags 613s # Type: Flags 613s # TYPE: FLAGS 613s # value-tail 613s # EnumName: GDBusServerFlags 613s # enum_name: g_dbus_server_flags 613s # ENUMNAME: G_DBUS_SERVER_FLAGS 613s # ENUMSHORT: DBUS_SERVER_FLAGS 613s # ENUMPREFIX: G 613s # enumsince: 613s # type: flags 613s # Type: Flags 613s # TYPE: FLAGS 613s # file-tail 613s # 613s # comment 613s # comment: Generated data ends here 613s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 613s # tmpdir: /tmp/tmpgld5no0_ 613s # rspfile: True, mkenums: /usr/bin/glib-mkenums 613s # /tmp/tmpgld5no0_/tmptbedln8c.h: 613s # typedef enum { 613s # 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) 613s # } GDBusServerFlags; 613s # 613s # /tmp/tmpgld5no0_/tmpkbs8w_dy.template: 613s # /*** BEGIN file-header ***/ 613s # file-header 613s # /*** END file-header ***/ 613s # 613s # /*** BEGIN file-production ***/ 613s # file-production 613s # filename: @filename@ 613s # basename: @basename@ 613s # /*** END file-production ***/ 613s # 613s # /*** BEGIN enumeration-production ***/ 613s # enumeration-production 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END enumeration-production ***/ 613s # 613s # /*** BEGIN value-header ***/ 613s # value-header 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-header ***/ 613s # 613s # /*** BEGIN value-production ***/ 613s # value-production 613s # VALUENAME: @VALUENAME@ 613s # valuenick: @valuenick@ 613s # valuenum: @valuenum@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-production ***/ 613s # 613s # /*** BEGIN value-tail ***/ 613s # value-tail 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-tail ***/ 613s # 613s # /*** BEGIN comment ***/ 613s # comment 613s # comment: @comment@ 613s # /*** END comment ***/ 613s # 613s # /*** BEGIN file-tail ***/ 613s # file-tail 613s # /*** END file-tail ***/ 613s # 613s # Response file contains: --template /tmp/tmpgld5no0_/tmpkbs8w_dy.template /tmp/tmpgld5no0_/tmptbedln8c.h 613s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgld5no0_/tmp1xkudysi'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # Output: comment 613s # 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. 613s # 613s # 613s # file-header 613s # file-production 613s # filename: /tmp/tmpgld5no0_/tmptbedln8c.h 613s # basename: tmptbedln8c.h 613s # enumeration-production 613s # EnumName: GDBusServerFlags 613s # enum_name: g_dbus_server_flags 613s # ENUMNAME: G_DBUS_SERVER_FLAGS 613s # ENUMSHORT: DBUS_SERVER_FLAGS 613s # ENUMPREFIX: G 613s # enumsince: 613s # type: flags 613s # Type: Flags 613s # TYPE: FLAGS 613s # value-header 613s # EnumName: GDBusServerFlags 613s # enum_name: g_dbus_server_flags 613s # ENUMNAME: G_DBUS_SERVER_FLAGS 613s # ENUMSHORT: DBUS_SERVER_FLAGS 613s # ENUMPREFIX: G 613s # enumsince: 613s # type: flags 613s # Type: Flags 613s # TYPE: FLAGS 613s # value-production 613s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 613s # valuenick: user 613s # valuenum: 4 613s # type: flags 613s # Type: Flags 613s # TYPE: FLAGS 613s # value-tail 613s # EnumName: GDBusServerFlags 613s # enum_name: g_dbus_server_flags 613s # ENUMNAME: G_DBUS_SERVER_FLAGS 613s # ENUMSHORT: DBUS_SERVER_FLAGS 613s # ENUMPREFIX: G 613s # enumsince: 613s # type: flags 613s # Type: Flags 613s # TYPE: FLAGS 613s # file-tail 613s # 613s # comment 613s # comment: Generated data ends here 613s ok 23 __main__.TestRspMkenums.test_empty_header 613s # tmpdir: /tmp/tmpjyok_tdm 613s # rspfile: True, mkenums: /usr/bin/glib-mkenums 613s # /tmp/tmpjyok_tdm/tmpkqwauun0.h: 613s # /tmp/tmpjyok_tdm/tmpw31bxw0i.template: 613s # /*** BEGIN file-header ***/ 613s # file-header 613s # /*** END file-header ***/ 613s # 613s # /*** BEGIN file-production ***/ 613s # file-production 613s # filename: @filename@ 613s # basename: @basename@ 613s # /*** END file-production ***/ 613s # 613s # /*** BEGIN enumeration-production ***/ 613s # enumeration-production 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END enumeration-production ***/ 613s # 613s # /*** BEGIN value-header ***/ 613s # value-header 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-header ***/ 613s # 613s # /*** BEGIN value-production ***/ 613s # value-production 613s # VALUENAME: @VALUENAME@ 613s # valuenick: @valuenick@ 613s # valuenum: @valuenum@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-production ***/ 613s # 613s # /*** BEGIN value-tail ***/ 613s # value-tail 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-tail ***/ 613s # 613s # /*** BEGIN comment ***/ 613s # comment 613s # comment: @comment@ 613s # /*** END comment ***/ 613s # 613s # /*** BEGIN file-tail ***/ 613s # file-tail 613s # /*** END file-tail ***/ 613s # 613s # Response file contains: --template /tmp/tmpjyok_tdm/tmpw31bxw0i.template /tmp/tmpjyok_tdm/tmpkqwauun0.h 613s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjyok_tdm/tmp19sq6dn9'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # Output: comment 613s # 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. 613s # 613s # 613s # file-header 613s # file-tail 613s # 613s # comment 613s # comment: Generated data ends here 613s ok 24 __main__.TestRspMkenums.test_empty_template 613s # tmpdir: /tmp/tmpze6ogve3 613s # rspfile: True, mkenums: /usr/bin/glib-mkenums 613s # /tmp/tmpze6ogve3/tmpu_ish2_9.template: 613s # Response file contains: --template /tmp/tmpze6ogve3/tmpu_ish2_9.template 613s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpze6ogve3/tmp94tl3xlh'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # 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. */ 613s # 613s # 613s # /* Generated data ends here */ 613s ok 25 __main__.TestRspMkenums.test_enum_name 613s # tmpdir: /tmp/tmpkme5bchb 613s # rspfile: True, mkenums: /usr/bin/glib-mkenums 613s # /tmp/tmpkme5bchb/tmpz363y7w6.h: 613s # typedef enum _SomeEnumIdentifier { 613s # ENUM_VALUE 613s # } SomeEnumIdentifier; 613s # 613s # /tmp/tmpkme5bchb/tmpehg47pce.template: 613s # /*** BEGIN file-header ***/ 613s # file-header 613s # /*** END file-header ***/ 613s # 613s # /*** BEGIN file-production ***/ 613s # file-production 613s # filename: @filename@ 613s # basename: @basename@ 613s # /*** END file-production ***/ 613s # 613s # /*** BEGIN enumeration-production ***/ 613s # enumeration-production 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END enumeration-production ***/ 613s # 613s # /*** BEGIN value-header ***/ 613s # value-header 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-header ***/ 613s # 613s # /*** BEGIN value-production ***/ 613s # value-production 613s # VALUENAME: @VALUENAME@ 613s # valuenick: @valuenick@ 613s # valuenum: @valuenum@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-production ***/ 613s # 613s # /*** BEGIN value-tail ***/ 613s # value-tail 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-tail ***/ 613s # 613s # /*** BEGIN comment ***/ 613s # comment 613s # comment: @comment@ 613s # /*** END comment ***/ 613s # 613s # /*** BEGIN file-tail ***/ 613s # file-tail 613s # /*** END file-tail ***/ 613s # 613s # Response file contains: --template /tmp/tmpkme5bchb/tmpehg47pce.template /tmp/tmpkme5bchb/tmpz363y7w6.h 613s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpkme5bchb/tmp38f4bup9'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # Output: comment 613s # 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. 613s # 613s # 613s # file-header 613s # file-production 613s # filename: /tmp/tmpkme5bchb/tmpz363y7w6.h 613s # basename: tmpz363y7w6.h 613s # enumeration-production 613s # EnumName: SomeEnumIdentifier 613s # enum_name: some_enum_identifier 613s # ENUMNAME: SOME_ENUM_IDENTIFIER 613s # ENUMSHORT: ENUM_IDENTIFIER 613s # ENUMPREFIX: SOME 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-header 613s # EnumName: SomeEnumIdentifier 613s # enum_name: some_enum_identifier 613s # ENUMNAME: SOME_ENUM_IDENTIFIER 613s # ENUMSHORT: ENUM_IDENTIFIER 613s # ENUMPREFIX: SOME 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-production 613s # VALUENAME: ENUM_VALUE 613s # valuenick: value 613s # valuenum: 0 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-tail 613s # EnumName: SomeEnumIdentifier 613s # enum_name: some_enum_identifier 613s # ENUMNAME: SOME_ENUM_IDENTIFIER 613s # ENUMSHORT: ENUM_IDENTIFIER 613s # ENUMPREFIX: SOME 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # file-tail 613s # 613s # comment 613s # comment: Generated data ends here 613s ok 26 __main__.TestRspMkenums.test_enum_private_public 613s # tmpdir: /tmp/tmpn4w2rjb0 613s # rspfile: True, mkenums: /usr/bin/glib-mkenums 613s # /tmp/tmpn4w2rjb0/tmpc1dfkdn9.h: 613s # typedef enum { 613s # ENUM_VALUE_PUBLIC1, 613s # /*< private >*/ 613s # ENUM_VALUE_PRIVATE, 613s # } SomeEnumA 613s # 613s # /tmp/tmpn4w2rjb0/tmpni1biupy.template: 613s # /*** BEGIN file-header ***/ 613s # file-header 613s # /*** END file-header ***/ 613s # 613s # /*** BEGIN file-production ***/ 613s # file-production 613s # filename: @filename@ 613s # basename: @basename@ 613s # /*** END file-production ***/ 613s # 613s # /*** BEGIN enumeration-production ***/ 613s # enumeration-production 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END enumeration-production ***/ 613s # 613s # /*** BEGIN value-header ***/ 613s # value-header 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-header ***/ 613s # 613s # /*** BEGIN value-production ***/ 613s # value-production 613s # VALUENAME: @VALUENAME@ 613s # valuenick: @valuenick@ 613s # valuenum: @valuenum@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-production ***/ 613s # 613s # /*** BEGIN value-tail ***/ 613s # value-tail 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-tail ***/ 613s # 613s # /*** BEGIN comment ***/ 613s # comment 613s # comment: @comment@ 613s # /*** END comment ***/ 613s # 613s # /*** BEGIN file-tail ***/ 613s # file-tail 613s # /*** END file-tail ***/ 613s # 613s # Response file contains: --template /tmp/tmpn4w2rjb0/tmpni1biupy.template /tmp/tmpn4w2rjb0/tmpc1dfkdn9.h 613s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpn4w2rjb0/tmp51enoxo5'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # Output: comment 613s # 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. 613s # 613s # 613s # file-header 613s # file-production 613s # filename: /tmp/tmpn4w2rjb0/tmpc1dfkdn9.h 613s # basename: tmpc1dfkdn9.h 613s # enumeration-production 613s # EnumName: SomeEnumA 613s # enum_name: some_enum_a 613s # ENUMNAME: SOME_ENUM_A 613s # ENUMSHORT: ENUM_A 613s # ENUMPREFIX: SOME 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-header 613s # EnumName: SomeEnumA 613s # enum_name: some_enum_a 613s # ENUMNAME: SOME_ENUM_A 613s # ENUMSHORT: ENUM_A 613s # ENUMPREFIX: SOME 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-production 613s # VALUENAME: ENUM_VALUE_PUBLIC1 613s # valuenick: public1 613s # valuenum: 0 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-tail 613s # EnumName: SomeEnumA 613s # enum_name: some_enum_a 613s # ENUMNAME: SOME_ENUM_A 613s # ENUMSHORT: ENUM_A 613s # ENUMPREFIX: SOME 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # file-tail 613s # 613s # comment 613s # comment: Generated data ends here 613s # /tmp/tmpn4w2rjb0/tmp9gz4k2di.h: 613s # typedef enum { 613s # /*< private >*/ 613s # ENUM_VALUE_PRIVATE, 613s # /*< public >*/ 613s # ENUM_VALUE_PUBLIC2, 613s # } SomeEnumB; 613s # 613s # /tmp/tmpn4w2rjb0/tmpzeaslso2.template: 613s # /*** BEGIN file-header ***/ 613s # file-header 613s # /*** END file-header ***/ 613s # 613s # /*** BEGIN file-production ***/ 613s # file-production 613s # filename: @filename@ 613s # basename: @basename@ 613s # /*** END file-production ***/ 613s # 613s # /*** BEGIN enumeration-production ***/ 613s # enumeration-production 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END enumeration-production ***/ 613s # 613s # /*** BEGIN value-header ***/ 613s # value-header 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-header ***/ 613s # 613s # /*** BEGIN value-production ***/ 613s # value-production 613s # VALUENAME: @VALUENAME@ 613s # valuenick: @valuenick@ 613s # valuenum: @valuenum@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-production ***/ 613s # 613s # /*** BEGIN value-tail ***/ 613s # value-tail 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-tail ***/ 613s # 613s # /*** BEGIN comment ***/ 613s # comment 613s # comment: @comment@ 613s # /*** END comment ***/ 613s # 613s # /*** BEGIN file-tail ***/ 613s # file-tail 613s # /*** END file-tail ***/ 613s # 613s # Response file contains: --template /tmp/tmpn4w2rjb0/tmpzeaslso2.template /tmp/tmpn4w2rjb0/tmp9gz4k2di.h 613s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpn4w2rjb0/tmp27qo891_'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # Output: comment 613s # 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. 613s # 613s # 613s # file-header 613s # file-production 613s # filename: /tmp/tmpn4w2rjb0/tmp9gz4k2di.h 613s # basename: tmp9gz4k2di.h 613s # enumeration-production 613s # EnumName: SomeEnumB 613s # enum_name: some_enum_b 613s # ENUMNAME: SOME_ENUM_B 613s # ENUMSHORT: ENUM_B 613s # ENUMPREFIX: SOME 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-header 613s # EnumName: SomeEnumB 613s # enum_name: some_enum_b 613s # ENUMNAME: SOME_ENUM_B 613s # ENUMSHORT: ENUM_B 613s # ENUMPREFIX: SOME 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-production 613s # VALUENAME: ENUM_VALUE_PUBLIC2 613s # valuenick: public2 613s # valuenum: 1 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-tail 613s # EnumName: SomeEnumB 613s # enum_name: some_enum_b 613s # ENUMNAME: SOME_ENUM_B 613s # ENUMSHORT: ENUM_B 613s # ENUMPREFIX: SOME 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # file-tail 613s # 613s # comment 613s # comment: Generated data ends here 613s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 613s # tmpdir: /tmp/tmp_4up_bfl 613s # rspfile: True, mkenums: /usr/bin/glib-mkenums 613s # /tmp/tmp_4up_bfl/tmp5zppabpe.h: 613s # typedef enum { 613s # /*< private >*/ 613s # ENUM_VALUE_PRIVATE = 5, 613s # /*< public >*/ 613s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 613s # } TestSymbolicEnum; 613s # 613s # /tmp/tmp_4up_bfl/tmpzqvxd144.template: 613s # /*** BEGIN file-header ***/ 613s # file-header 613s # /*** END file-header ***/ 613s # 613s # /*** BEGIN file-production ***/ 613s # file-production 613s # filename: @filename@ 613s # basename: @basename@ 613s # /*** END file-production ***/ 613s # 613s # /*** BEGIN enumeration-production ***/ 613s # enumeration-production 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END enumeration-production ***/ 613s # 613s # /*** BEGIN value-header ***/ 613s # value-header 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-header ***/ 613s # 613s # /*** BEGIN value-production ***/ 613s # value-production 613s # VALUENAME: @VALUENAME@ 613s # valuenick: @valuenick@ 613s # valuenum: @valuenum@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-production ***/ 613s # 613s # /*** BEGIN value-tail ***/ 613s # value-tail 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-tail ***/ 613s # 613s # /*** BEGIN comment ***/ 613s # comment 613s # comment: @comment@ 613s # /*** END comment ***/ 613s # 613s # /*** BEGIN file-tail ***/ 613s # file-tail 613s # /*** END file-tail ***/ 613s # 613s # Response file contains: --template /tmp/tmp_4up_bfl/tmpzqvxd144.template /tmp/tmp_4up_bfl/tmp5zppabpe.h 613s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_4up_bfl/tmpbdvtkpfw'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # Output: comment 613s # 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. 613s # 613s # 613s # file-header 613s # file-production 613s # filename: /tmp/tmp_4up_bfl/tmp5zppabpe.h 613s # basename: tmp5zppabpe.h 613s # enumeration-production 613s # EnumName: TestSymbolicEnum 613s # enum_name: test_symbolic_enum 613s # ENUMNAME: TEST_SYMBOLIC_ENUM 613s # ENUMSHORT: SYMBOLIC_ENUM 613s # ENUMPREFIX: TEST 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-header 613s # EnumName: TestSymbolicEnum 613s # enum_name: test_symbolic_enum 613s # ENUMNAME: TEST_SYMBOLIC_ENUM 613s # ENUMSHORT: SYMBOLIC_ENUM 613s # ENUMPREFIX: TEST 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-production 613s # VALUENAME: ENUM_VALUE_PUBLIC 613s # valuenick: public 613s # valuenum: 7 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # value-tail 613s # EnumName: TestSymbolicEnum 613s # enum_name: test_symbolic_enum 613s # ENUMNAME: TEST_SYMBOLIC_ENUM 613s # ENUMSHORT: SYMBOLIC_ENUM 613s # ENUMPREFIX: TEST 613s # enumsince: 613s # type: enum 613s # Type: Enum 613s # TYPE: ENUM 613s # file-tail 613s # 613s # comment 613s # comment: Generated data ends here 613s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 613s # tmpdir: /tmp/tmp_kwd6wjc 613s # rspfile: True, mkenums: /usr/bin/glib-mkenums 613s # /tmp/tmp_kwd6wjc/tmpgborxqm2.template: 613s # /*** BEGIN file-header ***/ 613s # file-header 613s # filename: @filename@ 613s # basename: @basename@ 613s # /*** END file-header ***/ 613s # 613s # /*** BEGIN comment ***/ 613s # comment 613s # comment: @comment@ 613s # /*** END comment ***/ 613s # 613s # /*** BEGIN file-tail ***/ 613s # file-tail 613s # filename: @filename@ 613s # basename: @basename@ 613s # /*** END file-tail ***/ 613s # Response file contains: --template /tmp/tmp_kwd6wjc/tmpgborxqm2.template 613s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_kwd6wjc/tmprgsxi46f'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # Output: comment 613s # 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. 613s # 613s # 613s # file-header 613s # filename: @filename@ 613s # basename: @basename@ 613s # file-tail 613s # filename: @filename@ 613s # basename: @basename@ 613s # 613s # comment 613s # comment: Generated data ends here 613s ok 29 __main__.TestRspMkenums.test_help 613s # tmpdir: /tmp/tmpjp74xlin 613s # rspfile: True, mkenums: /usr/bin/glib-mkenums 613s # Response file contains: --help 613s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjp74xlin/tmp8cuz71pk'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 613s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 613s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 613s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 613s # [--comments COMMENT_TMPL] [--template TEMPLATE] 613s # [--output OUTPUT] [--version] 613s # [args ...] 613s # 613s # positional arguments: 613s # args One or more input files, or a single argument 613s # @rspfile_path pointing to a file that contains the 613s # actual arguments 613s # 613s # options: 613s # -h, --help show this help message and exit 613s # --identifier-prefix IDPREFIX 613s # Identifier prefix 613s # --symbol-prefix SYMPREFIX 613s # Symbol prefix 613s # --fhead FHEAD Output file header 613s # --ftail FTAIL Output file footer 613s # --fprod FPROD Put out TEXT every time a new input file is being 613s # processed. 613s # --eprod EPROD Per enum text, produced prior to value iterations 613s # --vhead VHEAD Value header, produced before iterating over enum 613s # values 613s # --vprod VPROD Value text, produced for each enum value. 613s # --vtail VTAIL Value tail, produced after iterating over enum values 613s # --comments COMMENT_TMPL 613s # Comment structure 613s # --template TEMPLATE Template file 613s # --output OUTPUT 613s # --version, -v Print version information 613s # 613s # Production text substitutions: 613s # @EnumName@ PrefixTheXEnum 613s # @enum_name@ prefix_the_xenum 613s # @ENUMNAME@ PREFIX_THE_XENUM 613s # @ENUMSHORT@ THE_XENUM 613s # @ENUMPREFIX@ PREFIX 613s # @enumsince@ the user-provided since value given 613s # @VALUENAME@ PREFIX_THE_XVALUE 613s # @valuenick@ the-xvalue 613s # @valuenum@ the integer value (limited support, Since: 2.26) 613s # @type@ either enum or flags 613s # @Type@ either Enum or Flags 613s # @TYPE@ either ENUM or FLAGS 613s # @filename@ name of current input file 613s # @basename@ base name of the current input file (Since: 2.22) 613s ok 30 __main__.TestRspMkenums.test_no_args 613s # tmpdir: /tmp/tmphp5dxckb 613s # rspfile: True, mkenums: /usr/bin/glib-mkenums 613s # Response file contains: 613s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphp5dxckb/tmpmsrybpft'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # 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. */ 613s # 613s # 613s # /* Generated data ends here */ 613s ok 31 __main__.TestRspMkenums.test_no_headers 613s # tmpdir: /tmp/tmp5e5q_xi5 613s # rspfile: True, mkenums: /usr/bin/glib-mkenums 613s # /tmp/tmp5e5q_xi5/tmpaa0_kglu.template: 613s # /*** BEGIN file-header ***/ 613s # file-header 613s # /*** END file-header ***/ 613s # 613s # /*** BEGIN file-production ***/ 613s # file-production 613s # filename: @filename@ 613s # basename: @basename@ 613s # /*** END file-production ***/ 613s # 613s # /*** BEGIN enumeration-production ***/ 613s # enumeration-production 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END enumeration-production ***/ 613s # 613s # /*** BEGIN value-header ***/ 613s # value-header 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-header ***/ 613s # 613s # /*** BEGIN value-production ***/ 613s # value-production 613s # VALUENAME: @VALUENAME@ 613s # valuenick: @valuenick@ 613s # valuenum: @valuenum@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-production ***/ 613s # 613s # /*** BEGIN value-tail ***/ 613s # value-tail 613s # EnumName: @EnumName@ 613s # enum_name: @enum_name@ 613s # ENUMNAME: @ENUMNAME@ 613s # ENUMSHORT: @ENUMSHORT@ 613s # ENUMPREFIX: @ENUMPREFIX@ 613s # enumsince: @enumsince@ 613s # type: @type@ 613s # Type: @Type@ 613s # TYPE: @TYPE@ 613s # /*** END value-tail ***/ 613s # 613s # /*** BEGIN comment ***/ 613s # comment 613s # comment: @comment@ 613s # /*** END comment ***/ 613s # 613s # /*** BEGIN file-tail ***/ 613s # file-tail 613s # /*** END file-tail ***/ 613s # 613s # Response file contains: --template /tmp/tmp5e5q_xi5/tmpaa0_kglu.template 613s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp5e5q_xi5/tmpm8aanu7m'] 613s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 613s # Output: comment 613s # 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. 613s # 613s # 613s # file-header 613s # file-tail 613s # 613s # comment 613s # comment: Generated data ends here 614s ok 32 __main__.TestRspMkenums.test_no_nick 614s # tmpdir: /tmp/tmpua3bu3vp 614s # rspfile: True, mkenums: /usr/bin/glib-mkenums 614s # /tmp/tmpua3bu3vp/tmpwpil34ge.h: 614s # typedef enum { 614s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 614s # } GeglSamplerType; 614s # 614s # /tmp/tmpua3bu3vp/tmp2uifrtx5.template: 614s # /*** BEGIN file-header ***/ 614s # file-header 614s # /*** END file-header ***/ 614s # 614s # /*** BEGIN file-production ***/ 614s # file-production 614s # filename: @filename@ 614s # basename: @basename@ 614s # /*** END file-production ***/ 614s # 614s # /*** BEGIN enumeration-production ***/ 614s # enumeration-production 614s # EnumName: @EnumName@ 614s # enum_name: @enum_name@ 614s # ENUMNAME: @ENUMNAME@ 614s # ENUMSHORT: @ENUMSHORT@ 614s # ENUMPREFIX: @ENUMPREFIX@ 614s # enumsince: @enumsince@ 614s # type: @type@ 614s # Type: @Type@ 614s # TYPE: @TYPE@ 614s # /*** END enumeration-production ***/ 614s # 614s # /*** BEGIN value-header ***/ 614s # value-header 614s # EnumName: @EnumName@ 614s # enum_name: @enum_name@ 614s # ENUMNAME: @ENUMNAME@ 614s # ENUMSHORT: @ENUMSHORT@ 614s # ENUMPREFIX: @ENUMPREFIX@ 614s # enumsince: @enumsince@ 614s # type: @type@ 614s # Type: @Type@ 614s # TYPE: @TYPE@ 614s # /*** END value-header ***/ 614s # 614s # /*** BEGIN value-production ***/ 614s # value-production 614s # VALUENAME: @VALUENAME@ 614s # valuenick: @valuenick@ 614s # valuenum: @valuenum@ 614s # type: @type@ 614s # Type: @Type@ 614s # TYPE: @TYPE@ 614s # /*** END value-production ***/ 614s # 614s # /*** BEGIN value-tail ***/ 614s # value-tail 614s # EnumName: @EnumName@ 614s # enum_name: @enum_name@ 614s # ENUMNAME: @ENUMNAME@ 614s # ENUMSHORT: @ENUMSHORT@ 614s # ENUMPREFIX: @ENUMPREFIX@ 614s # enumsince: @enumsince@ 614s # type: @type@ 614s # Type: @Type@ 614s # TYPE: @TYPE@ 614s # /*** END value-tail ***/ 614s # 614s # /*** BEGIN comment ***/ 614s # comment 614s # comment: @comment@ 614s # /*** END comment ***/ 614s # 614s # /*** BEGIN file-tail ***/ 614s # file-tail 614s # /*** END file-tail ***/ 614s # 614s # Response file contains: --template /tmp/tmpua3bu3vp/tmp2uifrtx5.template /tmp/tmpua3bu3vp/tmpwpil34ge.h 614s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpua3bu3vp/tmp7ovf7mfm'] 614s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 614s # Output: comment 614s # 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. 614s # 614s # 614s # file-header 614s # file-production 614s # filename: /tmp/tmpua3bu3vp/tmpwpil34ge.h 614s # basename: tmpwpil34ge.h 614s # enumeration-production 614s # EnumName: GeglSamplerType 614s # enum_name: gegl_sampler_type 614s # ENUMNAME: GEGL_SAMPLER_TYPE 614s # ENUMSHORT: SAMPLER_TYPE 614s # ENUMPREFIX: GEGL 614s # enumsince: 614s # type: enum 614s # Type: Enum 614s # TYPE: ENUM 614s # value-header 614s # EnumName: GeglSamplerType 614s # enum_name: gegl_sampler_type 614s # ENUMNAME: GEGL_SAMPLER_TYPE 614s # ENUMSHORT: SAMPLER_TYPE 614s # ENUMPREFIX: GEGL 614s # enumsince: 614s # type: enum 614s # Type: Enum 614s # TYPE: ENUM 614s # value-production 614s # VALUENAME: GEGL_SAMPLER_NEAREST 614s # valuenick: nearest 614s # valuenum: 0 614s # type: enum 614s # Type: Enum 614s # TYPE: ENUM 614s # value-tail 614s # EnumName: GeglSamplerType 614s # enum_name: gegl_sampler_type 614s # ENUMNAME: GEGL_SAMPLER_TYPE 614s # ENUMSHORT: SAMPLER_TYPE 614s # ENUMPREFIX: GEGL 614s # enumsince: 614s # type: enum 614s # Type: Enum 614s # TYPE: ENUM 614s # file-tail 614s # 614s # comment 614s # comment: Generated data ends here 614s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 614s # tmpdir: /tmp/tmpei2svd4s 614s # rspfile: True, mkenums: /usr/bin/glib-mkenums 614s # /tmp/tmpei2svd4s/tmpx5khyicz.h: 614s # /* Copyright © La Peña */ 614s # typedef enum { 614s # ENUM_VALUE 614s # } SomeEnumIdentifier; 614s # 614s # /tmp/tmpei2svd4s/tmp8n9ru1xb.template: 614s # /*** BEGIN file-header ***/ 614s # file-header 614s # /*** END file-header ***/ 614s # 614s # /*** BEGIN file-production ***/ 614s # file-production 614s # filename: @filename@ 614s # basename: @basename@ 614s # /*** END file-production ***/ 614s # 614s # /*** BEGIN enumeration-production ***/ 614s # enumeration-production 614s # EnumName: @EnumName@ 614s # enum_name: @enum_name@ 614s # ENUMNAME: @ENUMNAME@ 614s # ENUMSHORT: @ENUMSHORT@ 614s # ENUMPREFIX: @ENUMPREFIX@ 614s # enumsince: @enumsince@ 614s # type: @type@ 614s # Type: @Type@ 614s # TYPE: @TYPE@ 614s # /*** END enumeration-production ***/ 614s # 614s # /*** BEGIN value-header ***/ 614s # value-header 614s # EnumName: @EnumName@ 614s # enum_name: @enum_name@ 614s # ENUMNAME: @ENUMNAME@ 614s # ENUMSHORT: @ENUMSHORT@ 614s # ENUMPREFIX: @ENUMPREFIX@ 614s # enumsince: @enumsince@ 614s # type: @type@ 614s # Type: @Type@ 614s # TYPE: @TYPE@ 614s # /*** END value-header ***/ 614s # 614s # /*** BEGIN value-production ***/ 614s # value-production 614s # VALUENAME: @VALUENAME@ 614s # valuenick: @valuenick@ 614s # valuenum: @valuenum@ 614s # type: @type@ 614s # Type: @Type@ 614s # TYPE: @TYPE@ 614s # /*** END value-production ***/ 614s # 614s # /*** BEGIN value-tail ***/ 614s # value-tail 614s # EnumName: @EnumName@ 614s # enum_name: @enum_name@ 614s # ENUMNAME: @ENUMNAME@ 614s # ENUMSHORT: @ENUMSHORT@ 614s # ENUMPREFIX: @ENUMPREFIX@ 614s # enumsince: @enumsince@ 614s # type: @type@ 614s # Type: @Type@ 614s # TYPE: @TYPE@ 614s # /*** END value-tail ***/ 614s # 614s # /*** BEGIN comment ***/ 614s # comment 614s # comment: @comment@ 614s # /*** END comment ***/ 614s # 614s # /*** BEGIN file-tail ***/ 614s # file-tail 614s # /*** END file-tail ***/ 614s # 614s # Response file contains: --template /tmp/tmpei2svd4s/tmp8n9ru1xb.template /tmp/tmpei2svd4s/tmpx5khyicz.h 614s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpei2svd4s/tmpu4n1m4ns'] 614s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 614s # Output: comment 614s # 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. 614s # 614s # 614s # file-header 614s # file-production 614s # filename: /tmp/tmpei2svd4s/tmpx5khyicz.h 614s # basename: tmpx5khyicz.h 614s # enumeration-production 614s # EnumName: SomeEnumIdentifier 614s # enum_name: some_enum_identifier 614s # ENUMNAME: SOME_ENUM_IDENTIFIER 614s # ENUMSHORT: ENUM_IDENTIFIER 614s # ENUMPREFIX: SOME 614s # enumsince: 614s # type: enum 614s # Type: Enum 614s # TYPE: ENUM 614s # value-header 614s # EnumName: SomeEnumIdentifier 614s # enum_name: some_enum_identifier 614s # ENUMNAME: SOME_ENUM_IDENTIFIER 614s # ENUMSHORT: ENUM_IDENTIFIER 614s # ENUMPREFIX: SOME 614s # enumsince: 614s # type: enum 614s # Type: Enum 614s # TYPE: ENUM 614s # value-production 614s # VALUENAME: ENUM_VALUE 614s # valuenick: value 614s # valuenum: 0 614s # type: enum 614s # Type: Enum 614s # TYPE: ENUM 614s # value-tail 614s # EnumName: SomeEnumIdentifier 614s # enum_name: some_enum_identifier 614s # ENUMNAME: SOME_ENUM_IDENTIFIER 614s # ENUMSHORT: ENUM_IDENTIFIER 614s # ENUMPREFIX: SOME 614s # enumsince: 614s # type: enum 614s # Type: Enum 614s # TYPE: ENUM 614s # file-tail 614s # 614s # comment 614s # comment: Generated data ends here 614s ok 34 __main__.TestRspMkenums.test_reproducible 614s # tmpdir: /tmp/tmp6p5tnkkt 614s # rspfile: True, mkenums: /usr/bin/glib-mkenums 614s # /tmp/tmp6p5tnkkt/tmpe_qrqk14.template: template 614s # Response file contains: --template /tmp/tmp6p5tnkkt/tmpe_qrqk14.template /tmp/tmp6p5tnkkt/tmpli2cteqa1.h /tmp/tmp6p5tnkkt/tmpiladk4ce2.h 614s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6p5tnkkt/tmp_8z2aso9'] 614s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 614s # 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. */ 614s # 614s # 614s # /* Generated data ends here */ 614s # /tmp/tmp6p5tnkkt/tmph6x8icda.template: template 614s # Response file contains: --template /tmp/tmp6p5tnkkt/tmph6x8icda.template /tmp/tmp6p5tnkkt/tmpiladk4ce2.h /tmp/tmp6p5tnkkt/tmpli2cteqa1.h 614s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6p5tnkkt/tmpxrgno7zz'] 614s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 614s # 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. */ 614s # 614s # 614s # /* Generated data ends here */ 614s ok 35 __main__.TestRspMkenums.test_since 614s # tmpdir: /tmp/tmps2koy75o 614s # rspfile: True, mkenums: /usr/bin/glib-mkenums 614s # /tmp/tmps2koy75o/tmpvwthyw_b.h: 614s # typedef enum { /*< since=1.0 >*/ 614s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 614s # } QmiWmsMessageProtocol; 614s # 614s # /tmp/tmps2koy75o/tmp7aviiooh.template: 614s # /*** BEGIN file-header ***/ 614s # file-header 614s # /*** END file-header ***/ 614s # 614s # /*** BEGIN file-production ***/ 614s # file-production 614s # filename: @filename@ 614s # basename: @basename@ 614s # /*** END file-production ***/ 614s # 614s # /*** BEGIN enumeration-production ***/ 614s # enumeration-production 614s # EnumName: @EnumName@ 614s # enum_name: @enum_name@ 614s # ENUMNAME: @ENUMNAME@ 614s # ENUMSHORT: @ENUMSHORT@ 614s # ENUMPREFIX: @ENUMPREFIX@ 614s # enumsince: @enumsince@ 614s # type: @type@ 614s # Type: @Type@ 614s # TYPE: @TYPE@ 614s # /*** END enumeration-production ***/ 614s # 614s # /*** BEGIN value-header ***/ 614s # value-header 614s # EnumName: @EnumName@ 614s # enum_name: @enum_name@ 614s # ENUMNAME: @ENUMNAME@ 614s # ENUMSHORT: @ENUMSHORT@ 614s # ENUMPREFIX: @ENUMPREFIX@ 614s # enumsince: @enumsince@ 614s # type: @type@ 614s # Type: @Type@ 614s # TYPE: @TYPE@ 614s # /*** END value-header ***/ 614s # 614s # /*** BEGIN value-production ***/ 614s # value-production 614s # VALUENAME: @VALUENAME@ 614s # valuenick: @valuenick@ 614s # valuenum: @valuenum@ 614s # type: @type@ 614s # Type: @Type@ 614s # TYPE: @TYPE@ 614s # /*** END value-production ***/ 614s # 614s # /*** BEGIN value-tail ***/ 614s # value-tail 614s # EnumName: @EnumName@ 614s # enum_name: @enum_name@ 614s # ENUMNAME: @ENUMNAME@ 614s # ENUMSHORT: @ENUMSHORT@ 614s # ENUMPREFIX: @ENUMPREFIX@ 614s # enumsince: @enumsince@ 614s # type: @type@ 614s # Type: @Type@ 614s # TYPE: @TYPE@ 614s # /*** END value-tail ***/ 614s # 614s # /*** BEGIN comment ***/ 614s # comment 614s # comment: @comment@ 614s # /*** END comment ***/ 614s # 614s # /*** BEGIN file-tail ***/ 614s # file-tail 614s # /*** END file-tail ***/ 614s # 614s # Response file contains: --template /tmp/tmps2koy75o/tmp7aviiooh.template /tmp/tmps2koy75o/tmpvwthyw_b.h 614s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmps2koy75o/tmp3e_gq_2u'] 614s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 614s # Output: comment 614s # 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. 614s # 614s # 614s # file-header 614s # file-production 614s # filename: /tmp/tmps2koy75o/tmpvwthyw_b.h 614s # basename: tmpvwthyw_b.h 614s # enumeration-production 614s # EnumName: QmiWmsMessageProtocol 614s # enum_name: qmi_wms_message_protocol 614s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 614s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 614s # ENUMPREFIX: QMI 614s # enumsince: 1.0 614s # type: enum 614s # Type: Enum 614s # TYPE: ENUM 614s # value-header 614s # EnumName: QmiWmsMessageProtocol 614s # enum_name: qmi_wms_message_protocol 614s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 614s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 614s # ENUMPREFIX: QMI 614s # enumsince: 1.0 614s # type: enum 614s # Type: Enum 614s # TYPE: ENUM 614s # value-production 614s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 614s # valuenick: cdma 614s # valuenum: 0 614s # type: enum 614s # Type: Enum 614s # TYPE: ENUM 614s # value-tail 614s # EnumName: QmiWmsMessageProtocol 614s # enum_name: qmi_wms_message_protocol 614s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 614s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 614s # ENUMPREFIX: QMI 614s # enumsince: 1.0 614s # type: enum 614s # Type: Enum 614s # TYPE: ENUM 614s # file-tail 614s # 614s # comment 614s # comment: Generated data ends here 614s ok 36 __main__.TestRspMkenums.test_with_double_quotes 614s # tmpdir: /tmp/tmpbkgsjs0u 614s # rspfile: True, mkenums: /usr/bin/glib-mkenums 614s # /tmp/tmpbkgsjs0u/tmpu6lucuy0.h: 614s # typedef enum { 614s # FOO_VALUE /*< nick="eek, a comma" >*/ 614s # } Foo; 614s # 614s # /tmp/tmpbkgsjs0u/tmp3s58_o8i.template: 614s # /*** BEGIN file-header ***/ 614s # file-header 614s # /*** END file-header ***/ 614s # 614s # /*** BEGIN file-production ***/ 614s # file-production 614s # filename: @filename@ 614s # basename: @basename@ 614s # /*** END file-production ***/ 614s # 614s # /*** BEGIN enumeration-production ***/ 614s # enumeration-production 614s # EnumName: @EnumName@ 614s # enum_name: @enum_name@ 614s # ENUMNAME: @ENUMNAME@ 614s # ENUMSHORT: @ENUMSHORT@ 614s # ENUMPREFIX: @ENUMPREFIX@ 614s # enumsince: @enumsince@ 614s # type: @type@ 614s # Type: @Type@ 614s # TYPE: @TYPE@ 614s # /*** END enumeration-production ***/ 614s # 614s # /*** BEGIN value-header ***/ 614s # value-header 614s # EnumName: @EnumName@ 614s # enum_name: @enum_name@ 614s # ENUMNAME: @ENUMNAME@ 614s # ENUMSHORT: @ENUMSHORT@ 614s # ENUMPREFIX: @ENUMPREFIX@ 614s # enumsince: @enumsince@ 614s # type: @type@ 614s # Type: @Type@ 614s # TYPE: @TYPE@ 614s # /*** END value-header ***/ 614s # 614s # /*** BEGIN value-production ***/ 614s # value-production 614s # VALUENAME: @VALUENAME@ 614s # valuenick: @valuenick@ 614s # valuenum: @valuenum@ 614s # type: @type@ 614s # Type: @Type@ 614s # TYPE: @TYPE@ 614s # /*** END value-production ***/ 614s # 614s # /*** BEGIN value-tail ***/ 614s # value-tail 614s # EnumName: @EnumName@ 614s # enum_name: @enum_name@ 614s # ENUMNAME: @ENUMNAME@ 614s # ENUMSHORT: @ENUMSHORT@ 614s # ENUMPREFIX: @ENUMPREFIX@ 614s # enumsince: @enumsince@ 614s # type: @type@ 614s # Type: @Type@ 614s # TYPE: @TYPE@ 614s # /*** END value-tail ***/ 614s # 614s # /*** BEGIN comment ***/ 614s # comment 614s # comment: @comment@ 614s # /*** END comment ***/ 614s # 614s # /*** BEGIN file-tail ***/ 614s # file-tail 614s # /*** END file-tail ***/ 614s # 614s # Response file contains: --template /tmp/tmpbkgsjs0u/tmp3s58_o8i.template /tmp/tmpbkgsjs0u/tmpu6lucuy0.h 614s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbkgsjs0u/tmpilj6ci3z'] 614s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 614s # Output: comment 614s # 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. 614s # 614s # 614s # file-header 614s # file-production 614s # filename: /tmp/tmpbkgsjs0u/tmpu6lucuy0.h 614s # basename: tmpu6lucuy0.h 614s # enumeration-production 614s # EnumName: Foo 614s # enum_name: foo_ 614s # ENUMNAME: FOO_ 614s # ENUMSHORT: 614s # ENUMPREFIX: FOO 614s # enumsince: 614s # type: enum 614s # Type: Enum 614s # TYPE: ENUM 614s # value-header 614s # EnumName: Foo 614s # enum_name: foo_ 614s # ENUMNAME: FOO_ 614s # ENUMSHORT: 614s # ENUMPREFIX: FOO 614s # enumsince: 614s # type: enum 614s # Type: Enum 614s # TYPE: ENUM 614s # value-production 614s # VALUENAME: FOO_VALUE 614s # valuenick: eek, a comma 614s # valuenum: 0 614s # type: enum 614s # Type: Enum 614s # TYPE: ENUM 614s # value-tail 614s # EnumName: Foo 614s # enum_name: foo_ 614s # ENUMNAME: FOO_ 614s # ENUMSHORT: 614s # ENUMPREFIX: FOO 614s # enumsince: 614s # type: enum 614s # Type: Enum 614s # TYPE: ENUM 614s # file-tail 614s # 614s # comment 614s # comment: Generated data ends here 614s 1..36 614s ok - glib/mkenums.py.test 614s # Running test: glib/gdbus-message.test 614s TAP version 13 614s # random seed: R02S05bfa1eef523be8b53e32a9756691bc5 614s 1..3 614s # Start of gdbus tests 614s # Start of message tests 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_RFFUK2/gdbus/message/lock/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_RFFUK2/gdbus/message/lock/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_RFFUK2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_RFFUK2/gdbus/message/lock/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_RFFUK2/gdbus/message/lock/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_RFFUK2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_RFFUK2/gdbus/message/lock/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_RFFUK2/gdbus/message/lock/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_RFFUK2/gdbus/message/lock/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_RFFUK2/gdbus/message/lock/.dirs/runtime 614s ok 1 /gdbus/message/lock 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_RFFUK2/gdbus/message/copy/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_RFFUK2/gdbus/message/copy/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_RFFUK2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_RFFUK2/gdbus/message/copy/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_RFFUK2/gdbus/message/copy/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_RFFUK2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_RFFUK2/gdbus/message/copy/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_RFFUK2/gdbus/message/copy/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_RFFUK2/gdbus/message/copy/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_RFFUK2/gdbus/message/copy/.dirs/runtime 614s ok 2 /gdbus/message/copy 614s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_RFFUK2/gdbus/message/bytes-needed/.dirs/home 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_RFFUK2/gdbus/message/bytes-needed/.dirs/cache 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_RFFUK2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_RFFUK2/gdbus/message/bytes-needed/.dirs/system-config2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_RFFUK2/gdbus/message/bytes-needed/.dirs/config 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_RFFUK2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_RFFUK2/gdbus/message/bytes-needed/.dirs/system-data2 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_RFFUK2/gdbus/message/bytes-needed/.dirs/data 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_RFFUK2/gdbus/message/bytes-needed/.dirs/state 614s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_RFFUK2/gdbus/message/bytes-needed/.dirs/runtime 614s # Vector: 0 614s # Vector: 1 614s # Vector: 2 614s # Vector: 3 614s # Vector: 4 614s # Vector: 5 614s ok 3 /gdbus/message/bytes-needed 614s # End of message tests 614s # End of gdbus tests 614s ok - glib/gdbus-message.test 614s # Running test: glib/signals-refcount4.test 614s TAP version 13 614s # random seed: R02Se311fc6500e8af2906bad307602abf9b 614s 1..1 614s # Start of gobject tests 614s # Start of refcount tests 614s # init 0x2aa3a398420 614s # 614s # init 0x2aa3a3985c0 614s # 617s # Executing: glib/signals-refcount4.test 619s # dispose 0x2aa3a398420! 619s # 619s # dispose 0x2aa3a3985c0! 619s # 619s ok 1 /gobject/refcount/signals 619s # slow test /gobject/refcount/signals executed in 5.00 secs 619s # End of refcount tests 619s # End of gobject tests 619s ok - glib/signals-refcount4.test 619s # Running test: glib/cache.test 619s TAP version 13 619s # random seed: R02S1813bde2c1c6455d56e1a453e8f5d9ce 619s 1..1 619s # Start of cache tests 619s ok 1 /cache/basic 619s # End of cache tests 619s ok - glib/cache.test 619s # Running test: glib/closure-refcount.test 619s TAP version 13 619s # random seed: R02S3620aefef3d3593ff37c25c8baa072db 619s 1..1 619s # Start of closure tests 619s # Init 0x2aa177d91d0 619s # Yielding from main thread 619s # Yielding from main thread 619s # Yielding from main thread 619s # Yielding from thread1 619s # Yielding from thread2 619s # Yielding from main thread 619s # Yielding from main thread 619s # Yielding from main thread 619s # Yielding from thread2 619s # Yielding from thread1 619s # Yielding from main thread 619s # Yielding from thread2 619s # Yielding from main thread 619s # Yielding from main thread 619s # Yielding from main thread 619s # Yielding from thread1 619s # Yielding from main thread 619s # Yielding from thread1 619s # Yielding from main thread 619s # Yielding from thread2 619s # Yielding from main thread 619s # Yielding from main thread 619s # Yielding from thread2 619s # Yielding from main thread 619s # Yielding from thread1 619s # Yielding from main thread 619s # Yielding from thread2 619s # Yielding from main thread 619s # Yielding from main thread 619s # Yielding from main thread 619s # Yielding from thread1 619s # Yielding from main thread 619s # Yielding from thread2 619s # Yielding from main thread 619s # Yielding from thread1 619s # Yielding from main thread 619s # Yielding from main thread 619s # Yielding from thread1 619s # Yielding from thread2 619s # Yielding from main thread 619s # Yielding from main thread 619s # Yielding from thread2 619s # Yielding from main thread 619s # Yielding from main thread 619s # Yielding from main thread 619s # Yielding from thread1 619s # Yielding from main thread 619s # Yielding from thread2 619s # Yielding from main thread 619s # Yielding from thread1 620s # Yielding from thread2 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread1 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread2 620s # Yielding from main thread 620s # Yielding from thread1 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread2 620s # Yielding from thread1 620s # Yielding from main thread 620s # Yielding from thread2 620s # Yielding from thread1 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread2 620s # Yielding from thread1 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread2 620s # Yielding from thread1 620s # Yielding from thread2 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread1 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread2 620s # Yielding from thread1 620s # Yielding from main thread 620s # Yielding from thread2 620s # Yielding from thread1 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread2 620s # Yielding from thread1 620s # Yielding from main thread 620s # Yielding from thread2 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread1 620s # Yielding from thread2 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread1 620s # Yielding from thread2 620s # Yielding from main thread 620s # Yielding from thread1 620s # Yielding from thread2 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread2 620s # Yielding from thread1 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread1 620s # Yielding from thread2 620s # Yielding from main thread 620s # Yielding from thread2 620s # Yielding from thread1 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread2 620s # Yielding from main thread 620s # Yielding from thread1 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread2 620s # Yielding from main thread 620s # Yielding from thread1 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread2 620s # Yielding from thread1 620s # Yielding from thread2 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread1 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread1 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread2 620s # Yielding from thread1 620s # Yielding from main thread 620s # Yielding from thread2 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread1 620s # Yielding from main thread 620s # Yielding from thread2 620s # Yielding from thread1 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread2 620s # Yielding from main thread 620s # Yielding from thread1 620s # Yielding from thread2 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread1 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread2 620s # Yielding from main thread 620s # Yielding from main thread 620s # Yielding from thread1 620s # Stopping 620s # Stopped 620s ok 1 /closure/refcount 620s # slow test /closure/refcount executed in 1.68 secs 620s # End of closure tests 620s ok - glib/closure-refcount.test 620s # Running test: glib/init.test 620s TAP version 13 620s # random seed: R02S38f315e12c6d4dd061b586d32cfe60a2 620s 1..2 620s # Start of thread tests 620s # Start of deprecated tests 620s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_9S1PK2/thread/deprecated/init/.dirs/home 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_9S1PK2/thread/deprecated/init/.dirs/cache 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_9S1PK2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_9S1PK2/thread/deprecated/init/.dirs/system-config2 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_9S1PK2/thread/deprecated/init/.dirs/config 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_9S1PK2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_9S1PK2/thread/deprecated/init/.dirs/system-data2 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_9S1PK2/thread/deprecated/init/.dirs/data 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_9S1PK2/thread/deprecated/init/.dirs/state 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_9S1PK2/thread/deprecated/init/.dirs/runtime 620s ok 1 /thread/deprecated/init 620s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_9S1PK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_9S1PK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_9S1PK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_9S1PK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_9S1PK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_9S1PK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_9S1PK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_9S1PK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_9S1PK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 620s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_9S1PK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 620s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 620s # End of deprecated tests 620s # End of thread tests 620s ok - glib/init.test 620s # Running test: glib/unicode-encoding.test 620s TAP version 13 620s # random seed: R02S5c001ed52a3016036e0019e784d39129 620s 1..1 620s # Start of unicode tests 620s ok 1 /unicode/encoding 620s # End of unicode tests 620s ok - glib/unicode-encoding.test 620s # Running test: glib/memory-monitor.test 620s TAP version 13 620s # random seed: R02S7748cec128529090541da6a71d0315c7 620s 1..1 620s # Start of memory-monitor tests 620s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 620s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 620s ok 1 /memory-monitor/default 620s # End of memory-monitor tests 620s ok - glib/memory-monitor.test 620s # Running test: glib/module-test-plugin.test 620s TAP version 13 620s # random seed: R02Se6ccc3be72b03b0278405de2db02b792 620s 1..2 620s # Start of module tests 620s ok 1 /module/basics 620s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 620s ok 2 /module/invalid-libtool-archive 620s # End of module tests 620s ok - glib/module-test-plugin.test 620s # Running test: glib/closure.test 620s TAP version 13 620s # random seed: R02S7427b277319f7bba17b3eb9fac365285 620s 1..6 620s # Start of closure tests 620s ok 1 /closure/idle 620s ok 2 /closure/timeout 620s ok 3 /closure/iochannel 620s ok 4 /closure/child 620s ok 5 /closure/fd 620s ok 6 /closure/signal 620s # End of closure tests 620s ok - glib/closure.test 620s # Running test: glib/rec-mutex.test 620s TAP version 13 620s # random seed: R02S9add03a7fb95a83a7fc01c3454a53813 620s 1..29 620s # Start of thread tests 620s ok 1 /thread/rec-mutex1 620s ok 2 /thread/rec-mutex2 620s ok 3 /thread/rec-mutex3 621s ok 4 /thread/rec-mutex4 621s # Start of rec-mutex tests 621s # Start of perf tests 621s # Start of uncontended tests 621s # max perf: inf mips 621s ok 5 /thread/rec-mutex/perf/uncontended/depth1 621s # max perf: inf mips 621s ok 6 /thread/rec-mutex/perf/uncontended/depth2 621s # max perf: inf mips 621s ok 7 /thread/rec-mutex/perf/uncontended/depth3 621s # max perf: 1.000000 mips 621s ok 8 /thread/rec-mutex/perf/uncontended/depth4 621s # max perf: inf mips 621s ok 9 /thread/rec-mutex/perf/uncontended/depth5 621s # End of uncontended tests 621s # Start of contended1 tests 621s # max perf: 2.000000 mips 621s ok 10 /thread/rec-mutex/perf/contended1/depth1 621s # max perf: inf mips 621s ok 11 /thread/rec-mutex/perf/contended1/depth2 621s # max perf: inf mips 621s ok 12 /thread/rec-mutex/perf/contended1/depth3 621s # max perf: 2.000000 mips 621s ok 13 /thread/rec-mutex/perf/contended1/depth4 621s # max perf: 2.000000 mips 621s ok 14 /thread/rec-mutex/perf/contended1/depth5 621s # End of contended1 tests 621s # Start of contended2 tests 621s # max perf: inf mips 621s ok 15 /thread/rec-mutex/perf/contended2/depth1 621s # max perf: inf mips 621s ok 16 /thread/rec-mutex/perf/contended2/depth2 621s # max perf: inf mips 621s ok 17 /thread/rec-mutex/perf/contended2/depth3 621s # max perf: inf mips 621s ok 18 /thread/rec-mutex/perf/contended2/depth4 621s # max perf: 3.000000 mips 621s ok 19 /thread/rec-mutex/perf/contended2/depth5 621s # End of contended2 tests 621s # Start of contended3 tests 621s # max perf: inf mips 621s ok 20 /thread/rec-mutex/perf/contended3/depth1 621s # max perf: inf mips 621s ok 21 /thread/rec-mutex/perf/contended3/depth2 621s # max perf: inf mips 621s ok 22 /thread/rec-mutex/perf/contended3/depth3 621s # max perf: inf mips 621s ok 23 /thread/rec-mutex/perf/contended3/depth4 621s # max perf: 4.000000 mips 621s ok 24 /thread/rec-mutex/perf/contended3/depth5 621s # End of contended3 tests 621s # Start of contended4 tests 621s # max perf: inf mips 621s ok 25 /thread/rec-mutex/perf/contended4/depth1 621s # max perf: inf mips 621s ok 26 /thread/rec-mutex/perf/contended4/depth2 621s # max perf: 5.000000 mips 621s ok 27 /thread/rec-mutex/perf/contended4/depth3 621s # max perf: 5.000000 mips 621s ok 28 /thread/rec-mutex/perf/contended4/depth4 621s # max perf: inf mips 621s ok 29 /thread/rec-mutex/perf/contended4/depth5 621s # End of contended4 tests 621s # End of perf tests 621s # End of rec-mutex tests 621s # End of thread tests 621s ok - glib/rec-mutex.test 621s # Running test: glib/gdbus-address-get-session.test 621s TAP version 13 621s # random seed: R02S906dae04a60c8c7a4fca2785ad492db6 621s 1..2 621s # Start of gdbus tests 621s ok 1 /gdbus/x11-autolaunch 621s ok 2 /gdbus/xdg-runtime 621s # End of gdbus tests 621s ok - glib/gdbus-address-get-session.test 621s # Running test: glib/vfs.test 621s TAP version 13 621s # random seed: R02S28fe530c7f360b6eae10c2a96f5f4e2d 621s 1..3 621s # Start of gvfs tests 621s ok 1 /gvfs/local 621s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 621s ok 2 /gvfs/register-scheme 621s # Start of resource tests 621s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 621s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 621s ok 3 /gvfs/resource/malformed-escaping 621s # End of resource tests 621s # End of gvfs tests 621s ok - glib/vfs.test 621s # Running test: glib/unix-mounts.test 621s TAP version 13 621s # random seed: R02S983a21e6e4562917af5cf97b8f3729b2 621s 1..2 621s # Start of unix-mounts tests 621s ok 1 /unix-mounts/is-system-fs-type 621s ok 2 /unix-mounts/is-system-device-path 621s # End of unix-mounts tests 621s ok - glib/unix-mounts.test 621s # Running test: glib/srvtarget.test 621s TAP version 13 621s # random seed: R02S8034a676e4e40cadd29ac70d4426d70c 621s 1..1 621s # Start of srvtarget tests 621s ok 1 /srvtarget/srv-target-ordering 621s # slow test /srvtarget/srv-target-ordering executed in 0.89 secs 621s # End of srvtarget tests 621s ok - glib/srvtarget.test 621s # Running test: glib/gdbus-connection-slow.test 621s TAP version 13 621s # random seed: R02S4e825dea83a29d649348bdde227b1634 621s 1..2 621s # Start of gdbus tests 621s # Start of connection tests 621s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_8JFQK2/gdbus/connection/flush/.dirs/home 621s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_8JFQK2/gdbus/connection/flush/.dirs/cache 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_8JFQK2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_8JFQK2/gdbus/connection/flush/.dirs/system-config2 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_8JFQK2/gdbus/connection/flush/.dirs/config 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_8JFQK2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_8JFQK2/gdbus/connection/flush/.dirs/system-data2 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_8JFQK2/gdbus/connection/flush/.dirs/data 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_8JFQK2/gdbus/connection/flush/.dirs/state 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_8JFQK2/gdbus/connection/flush/.dirs/runtime 622s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s ok 1 /gdbus/connection/flush 622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_8JFQK2/gdbus/connection/large_message/.dirs/home 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_8JFQK2/gdbus/connection/large_message/.dirs/cache 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_8JFQK2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_8JFQK2/gdbus/connection/large_message/.dirs/system-config2 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_8JFQK2/gdbus/connection/large_message/.dirs/config 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_8JFQK2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_8JFQK2/gdbus/connection/large_message/.dirs/system-data2 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_8JFQK2/gdbus/connection/large_message/.dirs/data 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_8JFQK2/gdbus/connection/large_message/.dirs/state 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_8JFQK2/gdbus/connection/large_message/.dirs/runtime 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 622s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 622s # Executing: glib/gdbus-connection-slow.test 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s ok 2 /gdbus/connection/large_message 622s # End of connection tests 622s # End of gdbus tests 622s ok - glib/gdbus-connection-slow.test 622s # Running test: glib/gobject-query.py.test 622s TAP version 13 622s ok 1 __main__.TestGobjectQuery.test_froots 622s # gobject-query: /usr/bin/gobject-query 622s # Running: ['/usr/bin/gobject-query', 'froots'] 622s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 622s # Output: ├void 622s # ├GInterface 622s # │ └GTypePlugin 622s # ├gchar 622s # ├guchar 622s # ├gboolean 622s # ├gint 622s # ├guint 622s # ├glong 622s # ├gulong 622s # ├gint64 622s # ├guint64 622s # ├GEnum 622s # ├GFlags 622s # ├gfloat 622s # ├gdouble 622s # ├gchararray 622s # ├gpointer 622s # │ └GType 622s # ├GBoxed 622s # │ └GValueArray 622s # ├GParam 622s # │ ├GParamChar 622s # │ ├GParamUChar 622s # │ ├GParamBoolean 622s # │ ├GParamInt 622s # │ ├GParamUInt 622s # │ ├GParamLong 622s # │ ├GParamULong 622s # │ ├GParamInt64 622s # │ ├GParamUInt64 622s # │ ├GParamUnichar 622s # │ ├GParamEnum 622s # │ ├GParamFlags 622s # │ ├GParamFloat 622s # │ ├GParamDouble 622s # │ ├GParamString 622s # │ ├GParamParam 622s # │ ├GParamBoxed 622s # │ ├GParamPointer 622s # │ ├GParamValueArray 622s # │ ├GParamObject 622s # │ ├GParamOverride 622s # │ ├GParamGType 622s # │ └GParamVariant 622s # ├GObject 622s # └GVariant 622s ok 2 __main__.TestGobjectQuery.test_help 622s # gobject-query: /usr/bin/gobject-query 622s # Running: ['/usr/bin/gobject-query', '--help'] 622s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 622s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 622s # -r specify root type 622s # -n don't descend type tree 622s # -h show help 622s # -b specify indent string 622s # -i specify incremental indent string 622s # -s specify line spacing 622s # qualifiers: 622s # froots iterate over fundamental roots 622s # tree print type tree 622s ok 3 __main__.TestGobjectQuery.test_tree 622s # gobject-query: /usr/bin/gobject-query 622s # Running: ['/usr/bin/gobject-query', 'tree'] 622s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 622s # Output: GObject 622s ok 4 __main__.TestGobjectQuery.test_version 622s # gobject-query: /usr/bin/gobject-query 622s # Running: ['/usr/bin/gobject-query', '--version'] 622s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 622s # Output: 2.79.3 622s 1..4 622s ok - glib/gobject-query.py.test 622s # Running test: glib/gdbus-connection-loss.test 622s TAP version 13 622s # random seed: R02Scf4b2f1d23b70adeaa170b394496efab 622s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 622s 1..1 622s # Start of gdbus tests 622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_BSTJK2/gdbus/connection-loss/.dirs/home 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_BSTJK2/gdbus/connection-loss/.dirs/cache 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_BSTJK2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_BSTJK2/gdbus/connection-loss/.dirs/system-config2 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_BSTJK2/gdbus/connection-loss/.dirs/config 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_BSTJK2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_BSTJK2/gdbus/connection-loss/.dirs/system-data2 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_BSTJK2/gdbus/connection-loss/.dirs/data 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_BSTJK2/gdbus/connection-loss/.dirs/state 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_BSTJK2/gdbus/connection-loss/.dirs/runtime 622s ok 1 /gdbus/connection-loss 622s # End of gdbus tests 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s ok - glib/gdbus-connection-loss.test 622s # Running test: glib/rwlock.test 622s TAP version 13 622s # random seed: R02S22bf0a2b7024555b5ace21894f299348 622s 1..8 622s # Start of thread tests 622s ok 1 /thread/rwlock1 622s ok 2 /thread/rwlock2 622s ok 3 /thread/rwlock3 622s ok 4 /thread/rwlock4 622s ok 5 /thread/rwlock5 622s ok 6 /thread/rwlock6 627s # Executing: glib/rwlock.test 629s ok 7 /thread/rwlock7 629s # slow test /thread/rwlock7 executed in 7.12 secs 629s ok 8 /thread/rwlock8 629s # End of thread tests 629s ok - glib/rwlock.test 629s # Running test: glib/sandbox.test 629s TAP version 13 629s # random seed: R02S71d8277bd0b9c3a9136db3b4f0beb1b2 629s 1..4 629s # Start of sandbox tests 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_DROPK2/sandbox/none/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_DROPK2/sandbox/none/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_DROPK2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_DROPK2/sandbox/none/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_DROPK2/sandbox/none/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_DROPK2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_DROPK2/sandbox/none/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_DROPK2/sandbox/none/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_DROPK2/sandbox/none/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_DROPK2/sandbox/none/.dirs/runtime 630s ok 1 /sandbox/none 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_DROPK2/sandbox/snap/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_DROPK2/sandbox/snap/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_DROPK2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_DROPK2/sandbox/snap/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_DROPK2/sandbox/snap/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_DROPK2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_DROPK2/sandbox/snap/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_DROPK2/sandbox/snap/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_DROPK2/sandbox/snap/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_DROPK2/sandbox/snap/.dirs/runtime 630s # Created snap.yaml in /tmp/test_sandbox_DROPK2/snap/current/meta/snap.yaml 630s ok 2 /sandbox/snap 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_DROPK2/sandbox/classic-snap/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_DROPK2/sandbox/classic-snap/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_DROPK2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_DROPK2/sandbox/classic-snap/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_DROPK2/sandbox/classic-snap/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_DROPK2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_DROPK2/sandbox/classic-snap/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_DROPK2/sandbox/classic-snap/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_DROPK2/sandbox/classic-snap/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_DROPK2/sandbox/classic-snap/.dirs/runtime 630s # Created snap.yaml in /tmp/test_sandbox_DROPK2/snap/current/meta/snap.yaml 630s ok 3 /sandbox/classic-snap 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_DROPK2/sandbox/flatpak/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_DROPK2/sandbox/flatpak/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_DROPK2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_DROPK2/sandbox/flatpak/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_DROPK2/sandbox/flatpak/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_DROPK2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_DROPK2/sandbox/flatpak/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_DROPK2/sandbox/flatpak/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_DROPK2/sandbox/flatpak/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_DROPK2/sandbox/flatpak/.dirs/runtime 630s # Creating .flatpak-info in /tmp/test_sandbox_DROPK2/sandbox/flatpak/.dirs/runtime/.flatpak-info 630s ok 4 /sandbox/flatpak 630s # End of sandbox tests 630s ok - glib/sandbox.test 630s # Running test: glib/sort.test 630s TAP version 13 630s # random seed: R02S1a9f377b64bea9865ed163af9c0c2f0a 630s 1..4 630s # Start of sort tests 630s ok 1 /sort/basic 630s ok 2 /sort/zero-elements 630s ok 3 /sort/stable 630s ok 4 /sort/big 630s # End of sort tests 630s ok - glib/sort.test 630s # Running test: glib/markup-collect.test 630s TAP version 13 630s # random seed: R02S6e767e7c4489c8d1d5ff03c9d228c3dd 630s 1..21 630s # Start of markup tests 630s # Start of collect tests 630s ok 1 /markup/collect/0 630s ok 2 /markup/collect/1 630s ok 3 /markup/collect/2 630s ok 4 /markup/collect/3 630s ok 5 /markup/collect/4 630s ok 6 /markup/collect/5 630s ok 7 /markup/collect/6 630s ok 8 /markup/collect/7 630s ok 9 /markup/collect/8 630s ok 10 /markup/collect/9 630s ok 11 /markup/collect/10 630s ok 12 /markup/collect/11 630s ok 13 /markup/collect/12 630s ok 14 /markup/collect/13 630s ok 15 /markup/collect/14 630s ok 16 /markup/collect/15 630s ok 17 /markup/collect/16 630s ok 18 /markup/collect/17 630s ok 19 /markup/collect/18 630s ok 20 /markup/collect/19 630s ok 21 /markup/collect/cleanup 630s # End of collect tests 630s # End of markup tests 630s ok - glib/markup-collect.test 630s # Running test: glib/registered-type-info.test 630s TAP version 13 630s # random seed: R02S1db7aa127092270698c0bdcc4f32f1c8 630s 1..1 630s # Start of registered-type-info tests 630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_6WTPK2/registered-type-info/boxed/.dirs/home 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_6WTPK2/registered-type-info/boxed/.dirs/cache 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_6WTPK2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_6WTPK2/registered-type-info/boxed/.dirs/system-config2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_6WTPK2/registered-type-info/boxed/.dirs/config 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_6WTPK2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_6WTPK2/registered-type-info/boxed/.dirs/system-data2 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_6WTPK2/registered-type-info/boxed/.dirs/data 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_6WTPK2/registered-type-info/boxed/.dirs/state 630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_6WTPK2/registered-type-info/boxed/.dirs/runtime 630s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 630s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 630s # Expecting CClosure to not be boxed 630s # Expecting TypeCValue to not be boxed 630s # Expecting InitiallyUnownedClass to not be boxed 630s # Expecting BookmarkFile to be boxed 630s # Expecting Closure to be boxed 630s # Expecting Object to not be boxed 630s ok 1 /registered-type-info/boxed 630s # End of registered-type-info tests 630s ok - glib/registered-type-info.test 630s # Running test: glib/properties-refcount2.test 630s TAP version 13 630s # random seed: R02Sdf2bafe40cc2332a442eebf0d1859bd0 630s 1..1 630s # Start of gobject tests 630s # Start of refcount tests 630s # init 0x2aa27158770 630s # 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # . 630s # dispose 0x2aa27158770! 630s # 630s ok 1 /gobject/refcount/properties-2 630s # slow test /gobject/refcount/properties-2 executed in 0.80 secs 630s # End of refcount tests 630s # End of gobject tests 630s ok - glib/properties-refcount2.test 630s # Running test: glib/cxx-20.test 630s TAP version 13 630s # random seed: R02S6e0306a4ba6282b03ab9de14c0b919a3 630s 1..2 630s # Start of gtask tests 630s # 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. 630s ok 1 /gtask/name 630s # Start of name tests 630s # 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. 630s ok 2 /gtask/name/macro-wrapper 630s # End of name tests 630s # End of gtask tests 630s ok - glib/cxx-20.test 630s # Running test: glib/simple-async-result.test 630s TAP version 13 630s # random seed: R02Sf4d06d6073e0c3f5fba43aa993decb1a 630s 1..2 630s # Start of gio tests 630s # Start of simple-async-result tests 630s ok 1 /gio/simple-async-result/test 630s # GLib-GIO-DEBUG: GTask 0x2aa059746e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 630s ok 2 /gio/simple-async-result/valid 630s # End of simple-async-result tests 630s # End of gio tests 630s ok - glib/simple-async-result.test 630s # Running test: glib/gio-tool.py.test 630s TAP version 13 630s ok 1 __main__.TestGioTool.test_help 630s # tmpdir: /tmp/tmp6lzcuz1j 630s # gio: /usr/bin/gio 630s # Running: ['/usr/bin/gio', '--help'] 630s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 630s # Output: Usage: 630s # gio COMMAND [ARGS…] 630s # 630s # Commands: 630s # help Print help 630s # version Print version 630s # cat Concatenate files to standard output 630s # copy Copy one or more files 630s # info Show information about locations 630s # launch Launch an application from a desktop file 630s # list List the contents of locations 630s # mime Get or set the handler for a mimetype 630s # mkdir Create directories 630s # monitor Monitor files and directories for changes 630s # mount Mount or unmount the locations 630s # move Move one or more files 630s # open Open files with the default application 630s # rename Rename a file 630s # remove Delete one or more files 630s # save Read from standard input and save 630s # set Set a file attribute 630s # trash Move files or directories to the trash 630s # tree Lists the contents of locations in a tree 630s # 630s # Use “gio help COMMAND†to get detailed help. 630s # Running: ['/usr/bin/gio', 'help'] 630s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 630s # Output: Usage: 630s # gio COMMAND [ARGS…] 630s # 630s # Commands: 630s # help Print help 630s # version Print version 630s # cat Concatenate files to standard output 630s # copy Copy one or more files 630s # info Show information about locations 630s # launch Launch an application from a desktop file 630s # list List the contents of locations 630s # mime Get or set the handler for a mimetype 630s # mkdir Create directories 630s # monitor Monitor files and directories for changes 630s # mount Mount or unmount the locations 630s # move Move one or more files 630s # open Open files with the default application 630s # rename Rename a file 630s # remove Delete one or more files 630s # save Read from standard input and save 630s # set Set a file attribute 630s # trash Move files or directories to the trash 630s # tree Lists the contents of locations in a tree 630s # 630s # Use “gio help COMMAND†to get detailed help. 630s ok 2 __main__.TestGioTool.test_info_non_default_attributes 630s # tmpdir: /tmp/tmpex0fngkj 630s # gio: /usr/bin/gio 630s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpex0fngkj/tmpfn1bw4re'] 630s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 630s # Output: uri: file:///tmp/tmpex0fngkj/tmpfn1bw4re 630s # local path: /tmp/tmpex0fngkj/tmpfn1bw4re 630s # unix mount: /dev/sda1 / ext4 rw,relatime,discard,errors=remount-ro 630s # attributes: 630s # standard::content-type: application/x-zerosize 630s ok 3 __main__.TestGioTool.test_no_args 630s # tmpdir: /tmp/tmpoum9mef1 630s # gio: /usr/bin/gio 630s # Running: ['/usr/bin/gio'] 630s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 630s 1..3 630s ok - glib/gio-tool.py.test 630s # Running test: glib/network-address.test 630s TAP version 13 630s # random seed: R02Sb6404489bd50dd856f7013ea64b7403e 630s 1..72 630s # Start of network-address tests 630s ok 1 /network-address/basic 630s ok 2 /network-address/scope-id 630s ok 3 /network-address/uri-scope-id 630s ok 4 /network-address/to-string 630s # Start of parse-host tests 630s ok 5 /network-address/parse-host/0 630s ok 6 /network-address/parse-host/1 630s ok 7 /network-address/parse-host/2 630s ok 8 /network-address/parse-host/3 630s ok 9 /network-address/parse-host/4 630s ok 10 /network-address/parse-host/5 630s ok 11 /network-address/parse-host/6 630s ok 12 /network-address/parse-host/7 630s ok 13 /network-address/parse-host/8 630s ok 14 /network-address/parse-host/9 630s ok 15 /network-address/parse-host/10 630s ok 16 /network-address/parse-host/11 630s ok 17 /network-address/parse-host/12 630s ok 18 /network-address/parse-host/13 630s # End of parse-host tests 630s # Start of parse-uri tests 630s ok 19 /network-address/parse-uri/0 630s ok 20 /network-address/parse-uri/1 630s ok 21 /network-address/parse-uri/2 630s ok 22 /network-address/parse-uri/3 630s ok 23 /network-address/parse-uri/4 630s ok 24 /network-address/parse-uri/5 630s ok 25 /network-address/parse-uri/6 630s ok 26 /network-address/parse-uri/7 630s ok 27 /network-address/parse-uri/8 630s ok 28 /network-address/parse-uri/9 630s # End of parse-uri tests 630s # Start of resolve-address tests 630s # Input: 192.168.1.2 630s ok 29 /network-address/resolve-address/0 630s # Input: fe80::42 630s ok 30 /network-address/resolve-address/1 630s # Input: 192.168.1.2:80 630s ok 31 /network-address/resolve-address/2 630s # Input: [fe80::42] 630s ok 32 /network-address/resolve-address/3 630s # Input: [fe80::42]:80 630s ok 33 /network-address/resolve-address/4 630s # Input: 192.168.258 630s ok 34 /network-address/resolve-address/5 630s # Input: 192.11010306 630s ok 35 /network-address/resolve-address/6 630s # Input: 3232235778 630s ok 36 /network-address/resolve-address/7 630s # Input: 0300.0250.0001.0001 630s ok 37 /network-address/resolve-address/8 630s # Input: 0xC0.0xA8.0x01.0x02 630s ok 38 /network-address/resolve-address/9 630s # Input: 0xc0.0xa8.0x01.0x02 630s ok 39 /network-address/resolve-address/10 630s # Input: 0xc0a80102 630s ok 40 /network-address/resolve-address/11 630s # End of resolve-address tests 630s # Start of loopback tests 630s ok 41 /network-address/loopback/basic 630s ok 42 /network-address/loopback/sync 630s ok 43 /network-address/loopback/async 630s # End of loopback tests 630s # Start of localhost tests 630s ok 44 /network-address/localhost/async 630s ok 45 /network-address/localhost/sync 630s # End of localhost tests 630s # Start of happy-eyeballs tests 630s ok 46 /network-address/happy-eyeballs/basic 631s ok 47 /network-address/happy-eyeballs/parallel 631s ok 48 /network-address/happy-eyeballs/slow-ipv4 631s ok 49 /network-address/happy-eyeballs/slow-ipv6 631s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 632s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 632s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 632s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 632s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 632s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 632s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 632s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 632s # /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. 632s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 632s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 632s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 632s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 632s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 632s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 632s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 632s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 632s ok 57 /network-address/happy-eyeballs/both-error 632s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 632s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 632s ok 58 /network-address/happy-eyeballs/both-error-delays-1 632s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 632s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 632s ok 59 /network-address/happy-eyeballs/both-error-delays-2 632s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 632s # Executing: glib/network-address.test 632s ok 60 /network-address/happy-eyeballs/both-error-delays-3 632s # End of happy-eyeballs tests 632s # End of network-address tests 632s # Start of gresolver tests 632s # Start of resolve-address tests 632s # Input: 192.168.1.2 632s ok 61 /gresolver/resolve-address/0 632s # Input: fe80::42 632s ok 62 /gresolver/resolve-address/1 632s # Input: 192.168.1.2:80 632s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 632s ok 63 /gresolver/resolve-address/2 632s # Input: [fe80::42] 632s # Error: Error resolving ?[fe80::42]?: Name or service not known 632s ok 64 /gresolver/resolve-address/3 632s # Input: [fe80::42]:80 632s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 632s ok 65 /gresolver/resolve-address/4 632s # Input: 192.168.258 632s # Error: Error resolving ?192.168.258?: Name or service not known 632s ok 66 /gresolver/resolve-address/5 632s # Input: 192.11010306 632s # Error: Error resolving ?192.11010306?: Name or service not known 632s ok 67 /gresolver/resolve-address/6 632s # Input: 3232235778 632s # Error: Error resolving ?3232235778?: Name or service not known 632s ok 68 /gresolver/resolve-address/7 632s # Input: 0300.0250.0001.0001 632s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 632s ok 69 /gresolver/resolve-address/8 632s # Input: 0xC0.0xA8.0x01.0x02 632s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 632s ok 70 /gresolver/resolve-address/9 632s # Input: 0xc0.0xa8.0x01.0x02 632s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 632s ok 71 /gresolver/resolve-address/10 632s # Input: 0xc0a80102 632s # Error: Error resolving ?0xc0a80102?: Name or service not known 632s ok 72 /gresolver/resolve-address/11 632s # End of resolve-address tests 632s # End of gresolver tests 632s ok - glib/network-address.test 632s # Running test: glib/gdbus-peer-object-manager.test 632s TAP version 13 632s # random seed: R02Sf1a8f7cbd3630cc27d691dd3352ca8bb 632s 1..2 632s # Start of gdbus tests 632s # Start of peer-object-manager tests 632s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_MO52K2/gdbus/peer-object-manager/normal/.dirs/home 632s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_MO52K2/gdbus/peer-object-manager/normal/.dirs/cache 632s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_MO52K2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_MO52K2/gdbus/peer-object-manager/normal/.dirs/system-config2 632s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_MO52K2/gdbus/peer-object-manager/normal/.dirs/config 632s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_MO52K2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_MO52K2/gdbus/peer-object-manager/normal/.dirs/system-data2 632s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_MO52K2/gdbus/peer-object-manager/normal/.dirs/data 632s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_MO52K2/gdbus/peer-object-manager/normal/.dirs/state 632s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_MO52K2/gdbus/peer-object-manager/normal/.dirs/runtime 632s ok 1 /gdbus/peer-object-manager/normal 632s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_MO52K2/gdbus/peer-object-manager/root/.dirs/home 632s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_MO52K2/gdbus/peer-object-manager/root/.dirs/cache 632s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_MO52K2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_MO52K2/gdbus/peer-object-manager/root/.dirs/system-config2 632s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_MO52K2/gdbus/peer-object-manager/root/.dirs/config 632s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_MO52K2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_MO52K2/gdbus/peer-object-manager/root/.dirs/system-data2 632s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_MO52K2/gdbus/peer-object-manager/root/.dirs/data 632s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_MO52K2/gdbus/peer-object-manager/root/.dirs/state 632s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_MO52K2/gdbus/peer-object-manager/root/.dirs/runtime 632s ok 2 /gdbus/peer-object-manager/root 632s # End of peer-object-manager tests 632s # End of gdbus tests 632s ok - glib/gdbus-peer-object-manager.test 632s # Running test: glib/readwrite.test 632s TAP version 13 632s # random seed: R02S4a64d5a700f44b7abdd7cab0311f426e 632s 1..3 632s # Start of readwrite tests 632s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 632s ok 1 /readwrite/test_g_file_open_readwrite 632s ok 2 /readwrite/test_g_file_create_readwrite 632s ok 3 /readwrite/test_g_file_replace_readwrite 632s # End of readwrite tests 632s ok - glib/readwrite.test 632s # Running test: glib/spawn-multithreaded.test 632s TAP version 13 632s # random seed: R02Sbedb2cc18d5e2bfd65430a85a2a334ce 632s 1..4 632s # Start of gthread tests 633s # Child 5157 (ttl 1) exited, status 0 634s # Child 5158 (ttl 2) exited, status 0 634s ok 1 /gthread/spawn-childs 634s # slow test /gthread/spawn-childs executed in 2.00 secs 634s # Created pid: 5162 (ttl 1) 634s # Created pid: 5163 (ttl 2) 635s # Child 5162 (ttl 1) exited, status 0 636s # Child 5163 (ttl 2) exited, status 0 636s ok 2 /gthread/spawn-childs-threads 636s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 636s ok 3 /gthread/spawn-sync 636s ok 4 /gthread/spawn-async 636s # End of gthread tests 636s ok - glib/spawn-multithreaded.test 636s # Running test: glib/timer.test 636s TAP version 13 636s # random seed: R02S412eaa7b14b0e5e8e61a491a32073d9b 636s 1..10 636s # Start of timer tests 636s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 636s ok 2 /timer/stop 636s ok 3 /timer/continue 636s ok 4 /timer/reset 636s ok 5 /timer/is_active 636s # End of timer tests 636s # Start of timeval tests 636s ok 6 /timeval/add 636s ok 7 /timeval/from-iso8601 636s ok 8 /timeval/to-iso8601 636s # Start of to-iso8601 tests 636s ok 9 /timeval/to-iso8601/overflow 636s # End of to-iso8601 tests 636s # End of timeval tests 636s # Start of usleep tests 636s ok 10 /usleep/with-zero-wait 636s # End of usleep tests 636s ok - glib/timer.test 636s # Running test: glib/fileutils.test 636s TAP version 13 636s # random seed: R02Sd70302854b3b64184e58cff3e55e4ca8 636s 1..27 636s # Start of fileutils tests 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/paths/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/paths/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/paths/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/paths/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/paths/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/paths/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/paths/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/paths/.dirs/runtime 636s ok 1 /fileutils/paths 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/build-path/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/build-path/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/build-path/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/build-path/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/build-path/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/build-path/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/build-path/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/build-path/.dirs/runtime 636s ok 2 /fileutils/build-path 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/build-pathv/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/build-pathv/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/build-pathv/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/build-pathv/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/build-pathv/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/build-pathv/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/build-pathv/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/build-pathv/.dirs/runtime 636s ok 3 /fileutils/build-pathv 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/build-filename/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/build-filename/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/build-filename/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/build-filename/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/build-filename/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/build-filename/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/build-filename/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/build-filename/.dirs/runtime 636s ok 4 /fileutils/build-filename 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/build-filenamev/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/build-filenamev/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/build-filenamev/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/build-filenamev/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/build-filenamev/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/build-filenamev/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/build-filenamev/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/build-filenamev/.dirs/runtime 636s ok 5 /fileutils/build-filenamev 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/mkdir-with-parents/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/mkdir-with-parents/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/mkdir-with-parents/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/mkdir-with-parents/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/mkdir-with-parents/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/mkdir-with-parents/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/mkdir-with-parents/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/mkdir-with-parents/.dirs/runtime 636s # We do not have CAP_DAC_OVERRIDE or equivalent 636s ok 6 /fileutils/mkdir-with-parents 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/mkdir-with-parents-permission/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/mkdir-with-parents-permission/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/mkdir-with-parents-permission/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/mkdir-with-parents-permission/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/mkdir-with-parents-permission/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/mkdir-with-parents-permission/.dirs/runtime 636s # We do not have CAP_DAC_OVERRIDE or equivalent 636s ok 7 /fileutils/mkdir-with-parents-permission 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/format-size-for-display/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/format-size-for-display/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/format-size-for-display/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/format-size-for-display/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/format-size-for-display/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/format-size-for-display/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/format-size-for-display/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/format-size-for-display/.dirs/runtime 636s ok 8 /fileutils/format-size-for-display 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/errors/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/errors/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/errors/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/errors/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/errors/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/errors/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/errors/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/errors/.dirs/runtime 636s ok 9 /fileutils/errors 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/basename/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/basename/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/basename/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/basename/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/basename/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/basename/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/basename/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/basename/.dirs/runtime 636s ok 10 /fileutils/basename 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/get-basename/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/get-basename/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/get-basename/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/get-basename/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/get-basename/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/get-basename/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/get-basename/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/get-basename/.dirs/runtime 636s ok 11 /fileutils/get-basename 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/dirname/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/dirname/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/dirname/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/dirname/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/dirname/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/dirname/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/dirname/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/dirname/.dirs/runtime 636s ok 12 /fileutils/dirname 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/dir-make-tmp/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/dir-make-tmp/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/dir-make-tmp/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/dir-make-tmp/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/dir-make-tmp/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/dir-make-tmp/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/dir-make-tmp/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/dir-make-tmp/.dirs/runtime 636s ok 13 /fileutils/dir-make-tmp 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/file-open-tmp/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/file-open-tmp/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/file-open-tmp/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/file-open-tmp/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/file-open-tmp/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/file-open-tmp/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/file-open-tmp/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/file-open-tmp/.dirs/runtime 636s ok 14 /fileutils/file-open-tmp 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/file-test/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/file-test/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/file-test/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/file-test/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/file-test/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/file-test/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/file-test/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/file-test/.dirs/runtime 636s ok 15 /fileutils/file-test 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/mkstemp/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/mkstemp/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/mkstemp/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/mkstemp/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/mkstemp/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/mkstemp/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/mkstemp/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/mkstemp/.dirs/runtime 636s ok 16 /fileutils/mkstemp 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/mkdtemp/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/mkdtemp/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/mkdtemp/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/mkdtemp/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/mkdtemp/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/mkdtemp/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/mkdtemp/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/mkdtemp/.dirs/runtime 636s ok 17 /fileutils/mkdtemp 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/get-contents/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/get-contents/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/get-contents/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/get-contents/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/get-contents/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/get-contents/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/get-contents/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/get-contents/.dirs/runtime 636s ok 18 /fileutils/get-contents 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/get-contents-large-file/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/get-contents-large-file/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/get-contents-large-file/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/get-contents-large-file/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/get-contents-large-file/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/get-contents-large-file/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/get-contents-large-file/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/get-contents-large-file/.dirs/runtime 636s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/set-contents/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/set-contents/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/set-contents/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/set-contents/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/set-contents/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/set-contents/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/set-contents/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/set-contents/.dirs/runtime 636s ok 20 /fileutils/set-contents 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/set-contents-full/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/set-contents-full/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/.dirs/runtime 636s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 636s # Flags 0 and test 0 636s # Flags 0 and test 1 636s # Flags 0 and test 2 636s # Flags 0 and test 3 636s # Flags 0 and test 4 636s # Flags 0 and test 5 636s # Flags 1 and test 0 636s # Flags 1 and test 1 636s # Flags 1 and test 2 636s # Flags 1 and test 3 636s # Flags 1 and test 4 636s # Flags 1 and test 5 636s # Flags 2 and test 0 636s # Flags 2 and test 1 636s # Flags 2 and test 2 636s # Flags 2 and test 3 636s # Flags 2 and test 4 636s # Flags 2 and test 5 636s # Flags 3 and test 0 636s # Flags 3 and test 1 636s # Flags 3 and test 2 636s # Flags 3 and test 3 636s # Flags 3 and test 4 636s # Flags 3 and test 5 636s # Flags 4 and test 0 636s # Flags 4 and test 1 636s # Flags 4 and test 2 636s # Flags 4 and test 3 636s # Flags 4 and test 4 636s # Flags 4 and test 5 636s # Flags 5 and test 0 636s # Flags 5 and test 1 636s # Flags 5 and test 2 636s # Flags 5 and test 3 636s # Flags 5 and test 4 636s # Flags 5 and test 5 636s # Flags 6 and test 0 636s # Flags 6 and test 1 636s # Flags 6 and test 2 636s # Flags 6 and test 3 636s # Flags 6 and test 4 636s # Flags 6 and test 5 636s ok 21 /fileutils/set-contents-full 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/read-link/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/read-link/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/read-link/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/read-link/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/read-link/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/read-link/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/read-link/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/read-link/.dirs/runtime 636s ok 22 /fileutils/read-link 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/stdio-wrappers/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/stdio-wrappers/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/stdio-wrappers/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/stdio-wrappers/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/stdio-wrappers/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/stdio-wrappers/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/stdio-wrappers/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/stdio-wrappers/.dirs/runtime 636s # We do not have CAP_DAC_OVERRIDE or equivalent 636s ok 23 /fileutils/stdio-wrappers 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/fopen-modes/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/fopen-modes/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/fopen-modes/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/fopen-modes/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/fopen-modes/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/fopen-modes/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/fopen-modes/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/fopen-modes/.dirs/runtime 636s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 636s # Testing fopen() mode 'w' 636s # Testing fopen() mode 'r' 636s # Testing fopen() mode 'a' 636s # Testing fopen() mode 'w+' 636s # Testing fopen() mode 'r+' 636s # Testing fopen() mode 'a+' 636s # Testing fopen() mode 'wb' 636s # Testing fopen() mode 'rb' 636s # Testing fopen() mode 'ab' 636s # Testing fopen() mode 'w+b' 636s # Testing fopen() mode 'r+b' 636s # Testing fopen() mode 'a+b' 636s # Testing fopen() mode 'wb+' 636s # Testing fopen() mode 'rb+' 636s # Testing fopen() mode 'ab+' 636s ok 24 /fileutils/fopen-modes 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/clear-fd/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/clear-fd/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/clear-fd/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/clear-fd/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/clear-fd/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/clear-fd/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/clear-fd/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/clear-fd/.dirs/runtime 636s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 636s # Will be closed by autocleanup: 3, -42 636s # Testing error handling 636s ok 25 /fileutils/clear-fd 636s # Start of set-contents-full tests 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/read-only-file/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/read-only-file/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/read-only-file/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/read-only-file/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/read-only-file/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/read-only-file/.dirs/runtime 636s # We do not have CAP_DAC_OVERRIDE or equivalent 636s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 636s ok 26 /fileutils/set-contents-full/read-only-file 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/read-only-directory/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/read-only-directory/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_D810K2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/read-only-directory/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_D810K2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/read-only-directory/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/read-only-directory/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_D810K2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 636s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 636s # Flags 0 636s # We do not have CAP_DAC_OVERRIDE or equivalent 636s # Flags 1 636s # We do not have CAP_DAC_OVERRIDE or equivalent 636s # Flags 2 636s # We do not have CAP_DAC_OVERRIDE or equivalent 636s # Flags 3 636s # We do not have CAP_DAC_OVERRIDE or equivalent 636s # Flags 4 636s # We do not have CAP_DAC_OVERRIDE or equivalent 636s # Flags 5 636s # We do not have CAP_DAC_OVERRIDE or equivalent 636s # Flags 6 636s # We do not have CAP_DAC_OVERRIDE or equivalent 636s ok 27 /fileutils/set-contents-full/read-only-directory 636s # End of set-contents-full tests 636s # Start of clear-fd tests 636s # Start of subprocess tests 636s # End of subprocess tests 636s # End of clear-fd tests 636s # End of fileutils tests 636s ok - glib/fileutils.test 636s # Running test: glib/flags.test 636s TAP version 13 636s # random seed: R02S7f4535f805d49a1ee458a0f5ef78736f 636s 1..1 636s # Start of gobject tests 636s # Start of flags tests 636s ok 1 /gobject/flags/validate 636s # End of flags tests 636s # End of gobject tests 636s ok - glib/flags.test 636s # Running test: glib/pathbuf.test 636s TAP version 13 636s # random seed: R02Sd0f07e3130abf4d9faa74d06e57e459e 636s 1..3 636s # Start of pathbuf tests 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_Q7RZK2/pathbuf/init/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_Q7RZK2/pathbuf/init/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_Q7RZK2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_Q7RZK2/pathbuf/init/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_Q7RZK2/pathbuf/init/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_Q7RZK2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_Q7RZK2/pathbuf/init/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_Q7RZK2/pathbuf/init/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_Q7RZK2/pathbuf/init/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_Q7RZK2/pathbuf/init/.dirs/runtime 636s # Initializing empty path buf 636s # Initializing with empty path 636s # Initializing with full path 636s # Initializing with no path 636s # Allocating GPathBuf on the heap 636s ok 1 /pathbuf/init 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_Q7RZK2/pathbuf/push-pop/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_Q7RZK2/pathbuf/push-pop/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_Q7RZK2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_Q7RZK2/pathbuf/push-pop/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_Q7RZK2/pathbuf/push-pop/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_Q7RZK2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_Q7RZK2/pathbuf/push-pop/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_Q7RZK2/pathbuf/push-pop/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_Q7RZK2/pathbuf/push-pop/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_Q7RZK2/pathbuf/push-pop/.dirs/runtime 636s # Pushing relative path component 636s # Pushing absolute path component 636s # Popping a path component 636s # Can't pop the last element of a path buffer 636s ok 2 /pathbuf/push-pop 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_Q7RZK2/pathbuf/filename-extension/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_Q7RZK2/pathbuf/filename-extension/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_Q7RZK2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_Q7RZK2/pathbuf/filename-extension/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_Q7RZK2/pathbuf/filename-extension/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_Q7RZK2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_Q7RZK2/pathbuf/filename-extension/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_Q7RZK2/pathbuf/filename-extension/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_Q7RZK2/pathbuf/filename-extension/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_Q7RZK2/pathbuf/filename-extension/.dirs/runtime 636s ok 3 /pathbuf/filename-extension 636s # End of pathbuf tests 636s ok - glib/pathbuf.test 636s # Running test: glib/socket-address.test 636s TAP version 13 636s # random seed: R02S9d9ad0f0df548e5cabd7e0d4bd1e4aa3 636s 1..2 636s # Start of socket tests 636s # Start of address tests 636s # Start of unix tests 636s ok 1 /socket/address/unix/construct 636s ok 2 /socket/address/unix/to-string 636s # End of unix tests 636s # End of address tests 636s # End of socket tests 636s ok - glib/socket-address.test 636s # Running test: glib/portal-support-snap-classic.test 636s TAP version 13 636s # random seed: R02S485890bdb2ef90883cc8187be013aded 636s 1..3 636s # Start of portal-support tests 636s # Start of snap-classic tests 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/no-snapctl/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/no-snapctl/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/no-snapctl/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/no-snapctl/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/no-snapctl/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/no-snapctl/.dirs/runtime 636s ok 1 /portal-support/snap-classic/no-snapctl 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/none/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/none/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/none/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/none/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/none/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/none/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/none/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/none/.dirs/runtime 636s # Created snap.yaml in /tmp/test_portal-support-snap-classic_JPMZK2/meta/snap.yaml 636s # Created snapctl in /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/none/.dirs/runtime/snapctl 636s ok 2 /portal-support/snap-classic/none 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/all/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/all/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/all/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/all/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/all/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/all/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/all/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/all/.dirs/runtime 636s # Created snap.yaml in /tmp/test_portal-support-snap-classic_JPMZK2/meta/snap.yaml 636s # Created snapctl in /tmp/test_portal-support-snap-classic_JPMZK2/portal-support/snap-classic/all/.dirs/runtime/snapctl 636s ok 3 /portal-support/snap-classic/all 636s # End of snap-classic tests 636s # End of portal-support tests 636s ok - glib/portal-support-snap-classic.test 636s # Running test: glib/socket-service.test 636s TAP version 13 636s # random seed: R02Sccb68dce80f480cb06780ee3fbdd056e 636s 1..4 636s # Start of socket-service tests 636s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 636s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa17b95330 and GSocketClientAsyncConnectData 0x2aa17b8d620 636s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 636s ok 1 /socket-service/start-stop 636s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa17b96e90 and GSocketClientAsyncConnectData 0x2aa17b96c30 636s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 636s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 636s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa17b973a0 for GSocketClientAsyncConnectData 0x2aa17b8d620 636s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 636s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 636s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 636s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 636s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 636s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa17b98220 for GSocketClientAsyncConnectData 0x2aa17b96c30 636s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 636s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 636s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 636s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 636s ok 2 /socket-service/read_write_async 636s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa17b96f70 and GSocketClientAsyncConnectData 0x2aa17b95900 636s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 636s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 636s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa17b99160 for GSocketClientAsyncConnectData 0x2aa17b95900 636s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 636s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 636s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 636s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 636s ok 3 /socket-service/read_writev_async 636s # Start of threaded tests 636s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 636s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa17b9c6f0 and GSocketClientAsyncConnectData 0x2aa17b8d620 636s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 636s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 636s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa17b9c870 for GSocketClientAsyncConnectData 0x2aa17b8d620 636s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 636s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 636s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 636s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 636s ok 4 /socket-service/threaded/712570 636s # End of threaded tests 636s # End of socket-service tests 636s ok - glib/socket-service.test 636s # Running test: glib/scannerapi.test 636s TAP version 13 636s # random seed: R02S0c5f4ad800e04be5ae54663f031a9673 636s 1..4 636s # Start of scanner tests 636s ok 1 /scanner/warn 636s ok 2 /scanner/error 636s ok 3 /scanner/symbols 636s ok 4 /scanner/tokens 636s # End of scanner tests 636s ok - glib/scannerapi.test 636s # Running test: glib/buffered-output-stream.test 636s TAP version 13 636s # random seed: R02S662060eecc141e329ede478b535c02ae 636s 1..5 636s # Start of buffered-output-stream tests 636s ok 1 /buffered-output-stream/write 636s ok 2 /buffered-output-stream/grow 636s ok 3 /buffered-output-stream/seek 636s ok 4 /buffered-output-stream/truncate 636s # End of buffered-output-stream tests 636s # Start of filter-output-stream tests 636s ok 5 /filter-output-stream/close 636s # End of filter-output-stream tests 636s ok - glib/buffered-output-stream.test 636s # Running test: glib/filter-streams.test 636s TAP version 13 636s # random seed: R02S2a238b9ab7583311e68f6d5c4dc287fd 636s 1..4 636s # Start of filter-stream tests 636s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 636s ok 1 /filter-stream/input 636s ok 2 /filter-stream/output 636s ok 3 /filter-stream/async-input 636s ok 4 /filter-stream/async-output 636s # End of filter-stream tests 636s ok - glib/filter-streams.test 636s # Running test: glib/queue.test 636s TAP version 13 636s # random seed: R02Saeb7afa4c0954334fa9ec8d2260049f5 636s 1..12 636s # Start of queue tests 636s ok 1 /queue/basic 636s ok 2 /queue/copy 636s ok 3 /queue/off-by-one 636s ok 4 /queue/find-custom 636s ok 5 /queue/static 636s ok 6 /queue/clear 636s ok 7 /queue/free-full 636s ok 8 /queue/clear-full 636s ok 9 /queue/insert-sibling-link 636s ok 10 /queue/push-nth-link 636s # Start of clear-full tests 636s ok 11 /queue/clear-full/noop 636s # End of clear-full tests 636s # Start of random tests 636s ok 12 /queue/random/seed:1489689600 636s # End of random tests 636s # End of queue tests 636s ok - glib/queue.test 636s # Running test: glib/memchunk.test 636s TAP version 13 636s # random seed: R02Scd903b339bfaeec5720437d3f16be0fb 636s 1..1 636s # Start of memchunk tests 636s ok 1 /memchunk/basic 636s # End of memchunk tests 636s ok - glib/memchunk.test 636s # Running test: glib/resources.test 636s TAP version 13 636s # random seed: R02S1c8390320de2cddb3f828949759c1040 636s 1..17 636s # Start of resource tests 636s ok 1 /resource/file 636s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 636s ok 2 /resource/file-path 636s ok 3 /resource/data 636s ok 4 /resource/data_unaligned 636s ok 5 /resource/data-corrupt 636s ok 6 /resource/data-empty 636s ok 7 /resource/registered 636s ok 8 /resource/manual 636s ok 9 /resource/manual2 636s ok 10 /resource/automatic 636s ok 11 /resource/module 636s ok 12 /resource/binary-linked 636s ok 13 /resource/64k 636s GLib-GIO-Message: 18:28:53.717: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 636s ok 14 /resource/overlay 636s ok 15 /resource/digits 636s # Start of uri tests 636s ok 16 /resource/uri/query-info 636s ok 17 /resource/uri/file 636s # End of uri tests 636s # End of resource tests 636s ok - glib/resources.test 636s # Running test: glib/inet-address.test 636s TAP version 13 636s # random seed: R02S0d843c22b6fc8f0b09dc2ade48db85aa 636s 1..11 636s # Start of inet-address tests 636s ok 1 /inet-address/parse 636s ok 2 /inet-address/any 636s ok 3 /inet-address/loopback 636s ok 4 /inet-address/bytes 636s ok 5 /inet-address/property 636s # End of inet-address tests 636s # Start of socket-address tests 636s ok 6 /socket-address/basic 636s ok 7 /socket-address/to-string 636s # End of socket-address tests 636s # Start of address-mask tests 636s ok 8 /address-mask/parse 636s ok 9 /address-mask/property 636s ok 10 /address-mask/equal 636s ok 11 /address-mask/match 636s # End of address-mask tests 636s ok - glib/inet-address.test 636s # Running test: glib/gdbus-peer.test 636s TAP version 13 636s # random seed: R02S281115fadeb64b7dc167576276468310 636s 1..12 636s # Start of gdbus tests 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/.dirs/runtime 636s # Testing with unix:dir address 636s # Testing with unix:tmpdir address 636s # Testing with unix:path address 636s ok 1 /gdbus/peer-to-peer 636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/delayed-message-processing/.dirs/home 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/delayed-message-processing/.dirs/cache 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_DOLIK2/gdbus/delayed-message-processing/.dirs/system-config2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/delayed-message-processing/.dirs/config 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_DOLIK2/gdbus/delayed-message-processing/.dirs/system-data2 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/delayed-message-processing/.dirs/data 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/delayed-message-processing/.dirs/state 636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DOLIK2/gdbus/delayed-message-processing/.dirs/runtime 636s # Testing with unix:dir address 637s ok 2 /gdbus/delayed-message-processing 637s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 637s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/nonce-tcp/.dirs/home 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/nonce-tcp/.dirs/cache 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_DOLIK2/gdbus/nonce-tcp/.dirs/system-config2 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/nonce-tcp/.dirs/config 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_DOLIK2/gdbus/nonce-tcp/.dirs/system-data2 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/nonce-tcp/.dirs/data 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/nonce-tcp/.dirs/state 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DOLIK2/gdbus/nonce-tcp/.dirs/runtime 637s ok 3 /gdbus/nonce-tcp 637s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/tcp-anonymous/.dirs/home 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/tcp-anonymous/.dirs/cache 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_DOLIK2/gdbus/tcp-anonymous/.dirs/system-config2 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/tcp-anonymous/.dirs/config 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_DOLIK2/gdbus/tcp-anonymous/.dirs/system-data2 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/tcp-anonymous/.dirs/data 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/tcp-anonymous/.dirs/state 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DOLIK2/gdbus/tcp-anonymous/.dirs/runtime 637s ok 4 /gdbus/tcp-anonymous 637s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/credentials/.dirs/home 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/credentials/.dirs/cache 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_DOLIK2/gdbus/credentials/.dirs/system-config2 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/credentials/.dirs/config 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_DOLIK2/gdbus/credentials/.dirs/system-data2 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/credentials/.dirs/data 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/credentials/.dirs/state 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DOLIK2/gdbus/credentials/.dirs/runtime 637s ok 5 /gdbus/credentials 637s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/codegen-peer-to-peer/.dirs/home 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/codegen-peer-to-peer/.dirs/cache 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_DOLIK2/gdbus/codegen-peer-to-peer/.dirs/system-config2 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/codegen-peer-to-peer/.dirs/config 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_DOLIK2/gdbus/codegen-peer-to-peer/.dirs/system-data2 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/codegen-peer-to-peer/.dirs/data 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/codegen-peer-to-peer/.dirs/state 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DOLIK2/gdbus/codegen-peer-to-peer/.dirs/runtime 637s # Testing with unix:dir address 637s # Executing: glib/gdbus-peer.test 637s # Machine ID: ed6c9abd520e446fb3f044506937a171 638s ok 6 /gdbus/codegen-peer-to-peer 638s # slow test /gdbus/codegen-peer-to-peer executed in 1.10 secs 638s # Start of peer-to-peer tests 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/signals/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/signals/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/signals/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/signals/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/signals/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/signals/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/signals/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/signals/.dirs/runtime 638s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 638s # Testing with unix:dir address 638s ok 7 /gdbus/peer-to-peer/signals 638s # Start of invalid tests 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/server/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/server/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/server/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/server/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/server/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 638s ok 8 /gdbus/peer-to-peer/invalid/server 638s # Start of conn tests 638s # Start of stream tests 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 638s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 638s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 638s # End of stream tests 638s # Start of addr tests 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 638s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_DOLIK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 638s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 638s # End of addr tests 638s # End of conn tests 638s # End of invalid tests 638s # End of peer-to-peer tests 638s # End of gdbus tests 638s ok - glib/gdbus-peer.test 638s # Running test: glib/pattern.test 638s TAP version 13 638s # random seed: R02S6cd08ff73269ec0d72675fabcf69ce1f 638s 1..90 638s # Start of pattern tests 638s # Start of compile tests 638s ok 1 /pattern/compile/0 638s ok 2 /pattern/compile/1 638s ok 3 /pattern/compile/2 638s ok 4 /pattern/compile/3 638s ok 5 /pattern/compile/4 638s ok 6 /pattern/compile/5 638s ok 7 /pattern/compile/6 638s ok 8 /pattern/compile/7 638s ok 9 /pattern/compile/8 638s ok 10 /pattern/compile/9 638s ok 11 /pattern/compile/10 638s ok 12 /pattern/compile/11 638s ok 13 /pattern/compile/12 638s ok 14 /pattern/compile/13 638s # End of compile tests 638s # Start of copy tests 638s ok 15 /pattern/copy/0 638s ok 16 /pattern/copy/1 638s ok 17 /pattern/copy/2 638s ok 18 /pattern/copy/3 638s ok 19 /pattern/copy/4 638s ok 20 /pattern/copy/5 638s ok 21 /pattern/copy/6 638s ok 22 /pattern/copy/7 638s ok 23 /pattern/copy/8 638s ok 24 /pattern/copy/9 638s ok 25 /pattern/copy/10 638s ok 26 /pattern/copy/11 638s ok 27 /pattern/copy/12 638s ok 28 /pattern/copy/13 638s # End of copy tests 638s # Start of match tests 638s ok 29 /pattern/match/0 638s ok 30 /pattern/match/1 638s ok 31 /pattern/match/2 638s ok 32 /pattern/match/3 638s ok 33 /pattern/match/4 638s ok 34 /pattern/match/5 638s ok 35 /pattern/match/6 638s ok 36 /pattern/match/7 638s ok 37 /pattern/match/8 638s ok 38 /pattern/match/9 638s ok 39 /pattern/match/10 638s ok 40 /pattern/match/11 638s ok 41 /pattern/match/12 638s ok 42 /pattern/match/13 638s ok 43 /pattern/match/14 638s ok 44 /pattern/match/15 638s ok 45 /pattern/match/16 638s ok 46 /pattern/match/17 638s ok 47 /pattern/match/18 638s ok 48 /pattern/match/19 638s ok 49 /pattern/match/20 638s ok 50 /pattern/match/21 638s ok 51 /pattern/match/22 638s ok 52 /pattern/match/23 638s ok 53 /pattern/match/24 638s ok 54 /pattern/match/25 638s ok 55 /pattern/match/26 638s ok 56 /pattern/match/27 638s ok 57 /pattern/match/28 638s ok 58 /pattern/match/29 638s ok 59 /pattern/match/30 638s ok 60 /pattern/match/31 638s ok 61 /pattern/match/32 638s ok 62 /pattern/match/33 638s ok 63 /pattern/match/34 638s ok 64 /pattern/match/35 638s ok 65 /pattern/match/36 638s ok 66 /pattern/match/37 638s ok 67 /pattern/match/38 638s ok 68 /pattern/match/39 638s ok 69 /pattern/match/40 638s ok 70 /pattern/match/41 638s ok 71 /pattern/match/42 638s ok 72 /pattern/match/43 638s ok 73 /pattern/match/44 638s ok 74 /pattern/match/45 638s ok 75 /pattern/match/46 638s ok 76 /pattern/match/47 638s ok 77 /pattern/match/48 638s ok 78 /pattern/match/49 638s ok 79 /pattern/match/50 638s # End of match tests 638s # Start of equal tests 638s ok 80 /pattern/equal/0 638s ok 81 /pattern/equal/1 638s ok 82 /pattern/equal/2 638s ok 83 /pattern/equal/3 638s ok 84 /pattern/equal/4 638s ok 85 /pattern/equal/5 638s ok 86 /pattern/equal/6 638s ok 87 /pattern/equal/7 638s ok 88 /pattern/equal/8 638s ok 89 /pattern/equal/9 638s ok 90 /pattern/equal/10 638s # End of equal tests 638s # End of pattern tests 638s ok - glib/pattern.test 638s # Running test: glib/permission.test 638s TAP version 13 638s # random seed: R02Sf02a68b1422dca3f664bf74b9f5924b8 638s 1..1 638s # Start of permission tests 638s ok 1 /permission/simple 638s # End of permission tests 638s ok - glib/permission.test 638s # Running test: glib/network-monitor-race.test 638s TAP version 13 638s # random seed: R02S0aa4bad6ad1194e776494e61731bb9f0 638s 1..1 638s # Start of network-monitor tests 638s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 640s ok 1 /network-monitor/create-in-thread 640s # slow test /network-monitor/create-in-thread executed in 2.12 secs 640s # End of network-monitor tests 640s ok - glib/network-monitor-race.test 640s # Running test: glib/volumemonitor.test 640s TAP version 13 640s # random seed: R02S3109d43e5fcd5707be87686185b44506 640s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 640s 1..3 640s # Start of volumemonitor tests 640s ok 1 /volumemonitor/connected_drives 640s ok 2 /volumemonitor/volumes 640s ok 3 /volumemonitor/mounts 640s # End of volumemonitor tests 640s ok - glib/volumemonitor.test 640s # Running test: glib/sequence.test 640s TAP version 13 640s # random seed: R02Sefb17d40c4106abad5aa28cee0d917bd 640s 1..16 640s # Start of sequence tests 640s ok 1 /sequence/out-of-range-jump 640s ok 2 /sequence/iter-move 640s ok 3 /sequence/insert-sorted-non-pointer 640s ok 4 /sequence/stable-sort 640s ok 5 /sequence/is_empty 640s # Start of random tests 641s ok 6 /sequence/random/seed:825541564 641s # slow test /sequence/random/seed:825541564 executed in 0.76 secs 642s ok 7 /sequence/random/seed:801678400 642s # slow test /sequence/random/seed:801678400 executed in 0.72 secs 642s # Executing: glib/sequence.test 642s ok 8 /sequence/random/seed:1477639090 642s # slow test /sequence/random/seed:1477639090 executed in 0.75 secs 643s ok 9 /sequence/random/seed:3369132895 643s # slow test /sequence/random/seed:3369132895 executed in 0.71 secs 644s ok 10 /sequence/random/seed:1192944867 644s # slow test /sequence/random/seed:1192944867 executed in 0.77 secs 645s ok 11 /sequence/random/seed:770458294 645s # slow test /sequence/random/seed:770458294 executed in 0.74 secs 645s ok 12 /sequence/random/seed:1099575817 645s # slow test /sequence/random/seed:1099575817 executed in 0.73 secs 646s ok 13 /sequence/random/seed:590523467 646s # slow test /sequence/random/seed:590523467 executed in 0.75 secs 647s # Executing: glib/sequence.test 647s ok 14 /sequence/random/seed:3583571454 647s # slow test /sequence/random/seed:3583571454 executed in 0.76 secs 648s ok 15 /sequence/random/seed:579241222 648s # slow test /sequence/random/seed:579241222 executed in 0.73 secs 648s ok 16 /sequence/random/seed:41158674 648s # slow test /sequence/random/seed:41158674 executed in 0.72 secs 648s # End of random tests 648s # End of sequence tests 648s ok - glib/sequence.test 648s # Running test: glib/unix-fd.test 648s TAP version 13 648s # random seed: R02S8a31bbddffcd13a2b51fa897ad56fd76 648s 1..2 648s # Start of unix-fd tests 648s ok 1 /unix-fd/fd-list 648s ok 2 /unix-fd/scm 648s # End of unix-fd tests 648s ok - glib/unix-fd.test 648s # Running test: glib/cxx-2b.test 648s TAP version 13 648s # random seed: R02S3deaa0049475004e1a7e6809e652ff6e 648s 1..2 648s # Start of gtask tests 648s # 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. 648s ok 1 /gtask/name 648s # Start of name tests 648s # 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. 648s ok 2 /gtask/name/macro-wrapper 648s # End of name tests 648s # End of gtask tests 648s ok - glib/cxx-2b.test 648s # Running test: glib/socket.test 648s TAP version 13 648s # random seed: R02S7663398deaffa5b38b9a393d649247bf 648s 1..28 648s # Start of socket tests 649s ok 1 /socket/ipv4_sync 649s # slow test /socket/ipv4_sync executed in 1.00 secs 650s ok 2 /socket/ipv4_async 650s # slow test /socket/ipv4_async executed in 1.00 secs 650s ok 3 /socket/ipv6_sync 650s ok 4 /socket/ipv6_async 650s ok 5 /socket/ipv6_v4mapped 651s ok 6 /socket/close_graceful 651s # slow test /socket/close_graceful executed in 1.00 secs 651s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 651s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 651s ok 8 /socket/fd_reuse 651s ok 9 /socket/address 651s ok 10 /socket/unix-from-fd 651s ok 11 /socket/unix-connection 651s ok 12 /socket/unix-connection-ancillary-data 651s ok 13 /socket/source-postmortem 651s ok 14 /socket/read_write 651s ok 15 /socket/read_writev 651s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 651s ok 16 /socket/receive_bytes 651s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 651s ok 17 /socket/receive_bytes_from 651s # Start of ipv4_sync tests 651s ok 18 /socket/ipv4_sync/datagram 651s # Start of datagram tests 652s # Executing: glib/socket.test 652s ok 19 /socket/ipv4_sync/datagram/timeouts 652s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 652s # End of datagram tests 652s # End of ipv4_sync tests 652s # Start of ipv6_sync tests 652s ok 20 /socket/ipv6_sync/datagram 652s # Start of datagram tests 654s ok 21 /socket/ipv6_sync/datagram/timeouts 654s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 654s # End of datagram tests 654s # End of ipv6_sync tests 654s # Start of reuse tests 654s ok 22 /socket/reuse/tcp 654s ok 23 /socket/reuse/udp 654s # End of reuse tests 654s # Start of get_available tests 654s ok 24 /socket/get_available/datagram 654s ok 25 /socket/get_available/stream 654s # End of get_available tests 654s # Start of credentials tests 654s # Supported on this OS: GCredentials:linux-ucred:pid=0 654s ok 26 /socket/credentials/tcp_client 654s # Supported on this OS: GCredentials:linux-ucred:pid=0 654s ok 27 /socket/credentials/tcp_server 654s # Supported on this OS: GCredentials:linux-ucred:pid=5359,uid=1000,gid=1000 654s ok 28 /socket/credentials/unix_socketpair 654s # End of credentials tests 654s # End of socket tests 654s ok - glib/socket.test 654s # Running test: glib/onceinit.test 654s TAP version 13 654s # random seed: R02Se815162e672128fa01238abff7f95f29 654s 1..1 654s # Start of thread tests 654s ok 1 /thread/onceinit 654s # End of thread tests 654s ok - glib/onceinit.test 654s # Running test: glib/pollable.test 654s TAP version 13 654s # random seed: R02Sf350a3aa9fd2b686c8f7ffbf4a90eb90 654s 1..6 654s # Start of pollable tests 654s ok 1 /pollable/converter 654s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 654s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2ce577a0 and GSocketClientAsyncConnectData 0x2aa2ce4aad0 654s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 654s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 654s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2ce58820 for GSocketClientAsyncConnectData 0x2aa2ce4aad0 654s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 654s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 654s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 654s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 654s ok 2 /pollable/socket 654s # Start of unix tests 654s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 654s ok 3 /pollable/unix/pipe 654s # /pollable/unix/pty summary: Test that PTYs are considered pollable 654s ok 4 /pollable/unix/pty 654s # /pollable/unix/file summary: Test that regular files are not considered pollable 654s ok 5 /pollable/unix/file 654s # /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 654s ok 6 /pollable/unix/nulldev 654s # End of unix tests 654s # End of pollable tests 654s ok - glib/pollable.test 654s # Running test: glib/gdbus-server-auth.test 654s TAP version 13 654s # random seed: R02S807ce4bca983c4755b8e5fca83fe70fa 654s 1..9 654s # Start of gdbus tests 654s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/.dirs/home 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/.dirs/cache 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/.dirs/system-config2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/.dirs/config 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/.dirs/system-data2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/.dirs/data 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/.dirs/state 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/.dirs/runtime 654s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4ZQUK2/gdbus-server-auth-AMQUK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 654s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4ZQUK2/gdbus-server-auth-AMQUK2/dbus-Ma9MYkdM 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5413 654s ok 1 /gdbus/server-auth 654s # Start of server-auth tests 654s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/abstract/.dirs/home 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/abstract/.dirs/cache 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/abstract/.dirs/system-config2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/abstract/.dirs/config 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/abstract/.dirs/system-data2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/abstract/.dirs/data 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/abstract/.dirs/state 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/abstract/.dirs/runtime 654s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_4ZQUK2/gdbus-server-auth-83P3K2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 654s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4ZQUK2/gdbus-server-auth-83P3K2/dbus-9ULQwoiT 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 654s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 654s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5413 654s ok 2 /gdbus/server-auth/abstract 654s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/tcp/.dirs/home 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/tcp/.dirs/cache 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/tcp/.dirs/system-config2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/tcp/.dirs/config 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/tcp/.dirs/system-data2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/tcp/.dirs/data 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/tcp/.dirs/state 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/tcp/.dirs/runtime 654s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 654s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 654s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/anonymous/.dirs/home 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/anonymous/.dirs/cache 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/anonymous/.dirs/system-config2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/anonymous/.dirs/config 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/anonymous/.dirs/system-data2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/anonymous/.dirs/data 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/anonymous/.dirs/state 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/anonymous/.dirs/runtime 654s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4ZQUK2/gdbus-server-auth-JJJ3K2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 654s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4ZQUK2/gdbus-server-auth-JJJ3K2/dbus-vfjq5aSO 654s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5413 654s ok 4 /gdbus/server-auth/anonymous 654s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/external/.dirs/home 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/external/.dirs/cache 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/external/.dirs/system-config2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/external/.dirs/config 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/external/.dirs/system-data2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/external/.dirs/data 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/external/.dirs/state 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/external/.dirs/runtime 654s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4ZQUK2/gdbus-server-auth-QX73K2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 654s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4ZQUK2/gdbus-server-auth-QX73K2/dbus-DGMeshVq 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5413 654s ok 5 /gdbus/server-auth/external 654s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/sha1/.dirs/home 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/sha1/.dirs/cache 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/sha1/.dirs/system-config2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/sha1/.dirs/config 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/sha1/.dirs/system-data2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/sha1/.dirs/data 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/sha1/.dirs/state 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/sha1/.dirs/runtime 654s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4ZQUK2/gdbus-server-auth-H2R4K2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 654s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 654s # Start of anonymous tests 654s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/anonymous/tcp/.dirs/home 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/anonymous/tcp/.dirs/config 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/anonymous/tcp/.dirs/data 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/anonymous/tcp/.dirs/state 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 654s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 654s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 654s # End of anonymous tests 654s # Start of external tests 654s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/external/require-same-user/.dirs/home 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/external/require-same-user/.dirs/cache 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/external/require-same-user/.dirs/config 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/external/require-same-user/.dirs/data 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/external/require-same-user/.dirs/state 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 654s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_4ZQUK2/gdbus-server-auth-5JP4K2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 654s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_4ZQUK2/gdbus-server-auth-5JP4K2/dbus-V6UEY7ki 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5413 654s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 654s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 654s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 654s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5413,uid=1000,gid=1000 654s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5413 654s ok 8 /gdbus/server-auth/external/require-same-user 654s # End of external tests 654s # Start of sha1 tests 654s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/sha1/tcp/.dirs/home 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/sha1/tcp/.dirs/cache 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/sha1/tcp/.dirs/config 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/sha1/tcp/.dirs/data 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/sha1/tcp/.dirs/state 654s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_4ZQUK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 654s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 654s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 654s # End of sha1 tests 654s # End of server-auth tests 654s # End of gdbus tests 654s ok - glib/gdbus-server-auth.test 654s # Running test: glib/signals-refcount2.test 654s TAP version 13 654s # random seed: R02Sf71d2cc481f2f955e0b81c7eb9d58f7f 654s 1..1 654s # Start of gobject tests 654s # Start of refcount tests 654s # init 0x2aa02aa5420 654s # 654s # init 0x2aa02aa55c0 654s # 657s # Executing: glib/signals-refcount2.test 659s # dispose 0x2aa02aa5420! 659s # 659s # dispose 0x2aa02aa55c0! 659s # 659s ok 1 /gobject/refcount/signals 659s # slow test /gobject/refcount/signals executed in 5.00 secs 659s # End of refcount tests 659s # End of gobject tests 659s ok - glib/signals-refcount2.test 659s # Running test: glib/atomic-c-90.test 659s TAP version 13 659s # random seed: R02Sfb13a1c33f6f2ac0df97925792fd995a 659s 1..2 659s # Start of atomic tests 659s ok 1 /atomic/types 659s ok 2 /atomic/threaded 659s # End of atomic tests 659s ok - glib/atomic-c-90.test 659s # Running test: glib/deprecated-properties.test 659s TAP version 13 659s # random seed: R02S1eb6ea1d91d3172cf79b6660ed40ef0c 659s 1..3 659s # Start of deprecated-properties tests 659s ok 1 /deprecated-properties/construct 659s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 659s ok 2 /deprecated-properties/default-construct 659s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 659s ok 3 /deprecated-properties/set 659s # End of deprecated-properties tests 659s ok - glib/deprecated-properties.test 659s # Running test: glib/markup-escape.test 659s TAP version 13 659s # random seed: R02S508619b9a944593f0d73fcd88c6dbae5 659s 1..41 659s # Start of markup tests 659s ok 1 /markup/format 659s # Start of escape-text tests 659s ok 2 /markup/escape-text/0 659s ok 3 /markup/escape-text/1 659s ok 4 /markup/escape-text/2 659s ok 5 /markup/escape-text/3 659s ok 6 /markup/escape-text/4 659s ok 7 /markup/escape-text/5 659s ok 8 /markup/escape-text/6 659s ok 9 /markup/escape-text/7 659s ok 10 /markup/escape-text/8 659s ok 11 /markup/escape-text/9 659s ok 12 /markup/escape-text/10 659s ok 13 /markup/escape-text/11 659s ok 14 /markup/escape-text/12 659s ok 15 /markup/escape-text/13 659s ok 16 /markup/escape-text/14 659s ok 17 /markup/escape-text/15 659s ok 18 /markup/escape-text/16 659s ok 19 /markup/escape-text/17 659s ok 20 /markup/escape-text/18 659s ok 21 /markup/escape-text/19 659s ok 22 /markup/escape-text/20 659s ok 23 /markup/escape-text/21 659s ok 24 /markup/escape-text/22 659s # End of escape-text tests 659s # Start of escape-unichar tests 659s ok 25 /markup/escape-unichar/0 659s ok 26 /markup/escape-unichar/1 659s ok 27 /markup/escape-unichar/2 659s ok 28 /markup/escape-unichar/3 659s ok 29 /markup/escape-unichar/4 659s ok 30 /markup/escape-unichar/5 659s ok 31 /markup/escape-unichar/6 659s ok 32 /markup/escape-unichar/7 659s ok 33 /markup/escape-unichar/8 659s ok 34 /markup/escape-unichar/9 659s ok 35 /markup/escape-unichar/10 659s ok 36 /markup/escape-unichar/11 659s ok 37 /markup/escape-unichar/12 659s ok 38 /markup/escape-unichar/13 659s ok 39 /markup/escape-unichar/14 659s ok 40 /markup/escape-unichar/15 659s ok 41 /markup/escape-unichar/16 659s # End of escape-unichar tests 659s # End of markup tests 659s ok - glib/markup-escape.test 659s # Running test: glib/signals-refcount1.test 659s TAP version 13 659s # random seed: R02Sda1e6d101a97f57d209b658c30712343 659s 1..1 659s # Start of gobject tests 659s # Start of refcount tests 659s # init 0x2aa0b093420 659s # 659s # init 0x2aa0b0935c0 659s # 662s # Executing: glib/signals-refcount1.test 664s # dispose 0x2aa0b093420! 664s # 664s # dispose 0x2aa0b0935c0! 664s # 664s ok 1 /gobject/refcount/signals 664s # slow test /gobject/refcount/signals executed in 5.00 secs 664s # End of refcount tests 664s # End of gobject tests 664s ok - glib/signals-refcount1.test 664s # Running test: glib/io-channel.test 664s TAP version 13 664s # random seed: R02S2431d08a3f6b479b0d6c4f1c270b3342 664s 1..2 664s # Start of io-channel tests 664s # Line one 664s # 664s # Line two 664s # 664s # Line three 664s # 664s # /* Hello */ 664s # 664s # \x1234\x567890\x6666 664s # 664s # read 62 bytes, wrote 62 bytes 664s ok 1 /io-channel/read-write 664s # Start of read-line tests 664s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 664s ok 2 /io-channel/read-line/embedded-nuls 664s # End of read-line tests 664s # End of io-channel tests 664s ok - glib/io-channel.test 664s # Running test: glib/power-profile-monitor-dbus.test 664s TAP version 13 664s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 664s 1..1 664s ok - glib/power-profile-monitor-dbus.test 664s # Running test: glib/properties-refcount4.test 664s TAP version 13 664s # random seed: R02S68d8e968df4b45cb0bb013c0e1f07ec1 664s 1..1 664s # Start of gobject tests 664s # Start of refcount tests 664s ok 1 /gobject/refcount/properties-4 664s # End of refcount tests 664s # End of gobject tests 664s ok - glib/properties-refcount4.test 664s # Running test: glib/macros.test 664s TAP version 13 664s # random seed: R02S0d8fe9c7fa89bc4db89ab30cd3d52e49 664s 1..3 664s # Start of alignof tests 664s ok 1 /alignof/fallback 664s # End of alignof tests 664s # Start of assert tests 664s ok 2 /assert/static 664s # End of assert tests 664s # Start of struct tests 664s ok 3 /struct/sizeof_member 664s # End of struct tests 664s ok - glib/macros.test 664s # Running test: glib/thread-pool-slow.test 664s TAP version 13 664s # random seed: R02S36d40eb1bc320a8f83afc38afb20870f 664s 1..7 664s # Start of threadpool tests 664s ok 1 /threadpool/functions 665s ok 2 /threadpool/stop-unused 665s # slow test /threadpool/stop-unused executed in 0.51 secs 665s ok 3 /threadpool/pools 665s # [unsorted] ===> pushed new thread with id:83, number of threads:1, unprocessed:0 665s # [unsorted] ===> pushed new thread with id:45, number of threads:2, unprocessed:1 665s # [unsorted] ===> pushed new thread with id:61, number of threads:3, unprocessed:0 665s # [unsorted] ===> pushed new thread with id:35, number of threads:4, unprocessed:1 665s # [unsorted] ===> pushed new thread with id:11, number of threads:5, unprocessed:1 665s # [unsorted] ===> pushed new thread with id:38, number of threads:6, unprocessed:1 665s # [unsorted] ===> pushed new thread with id:58, number of threads:7, unprocessed:1 665s # [unsorted] ===> pushed new thread with id:95, number of threads:8, unprocessed:1 665s # [unsorted] ===> pushed new thread with id:60, number of threads:9, unprocessed:0 665s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:0 665s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:1 665s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:2 665s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:3 665s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:4 665s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:5 665s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:6 665s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:7 665s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:8 665s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:9 665s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:10 665s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:11 665s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:12 665s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:13 665s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:14 665s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:15 665s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:16 665s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:17 665s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:18 665s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:19 665s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:20 665s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:21 665s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:22 665s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:23 665s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:24 665s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:25 665s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:26 665s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:27 665s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:28 665s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:29 665s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:30 665s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:31 665s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:32 665s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:33 665s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:34 665s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:35 665s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:36 665s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:37 665s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:38 665s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:39 665s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:40 665s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:41 665s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:42 665s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:43 665s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:44 665s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:45 665s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:46 665s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:47 665s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:48 665s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:49 665s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:50 665s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:51 665s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:52 665s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:53 665s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:54 665s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:55 665s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:56 665s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:57 665s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:58 665s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:59 665s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:60 665s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:61 665s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:62 665s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:63 665s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:64 665s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:65 665s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:66 665s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:67 665s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:68 665s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:69 665s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:70 665s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:71 665s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:72 665s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:73 665s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:74 665s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:75 665s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:76 665s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:77 665s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:78 665s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:79 665s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:80 665s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:81 665s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:82 665s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:83 665s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:84 665s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:85 665s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:86 665s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:87 665s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:88 665s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:89 665s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:90 665s ok 4 /threadpool/no-sort 665s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:1 665s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:2 665s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:3 665s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:4 665s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:5 665s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:6 665s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:7 665s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:8 665s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:9 665s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:10 665s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:11 665s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:12 665s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:13 665s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:14 665s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:15 665s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:16 665s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:17 665s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:18 665s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:19 665s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:20 665s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:21 665s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:22 665s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:23 665s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:24 665s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:25 665s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:26 665s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:27 665s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:28 665s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:29 665s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:30 665s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:31 665s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:32 665s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:33 665s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:34 665s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:35 665s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:36 665s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:37 665s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:38 665s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:39 665s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:40 665s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:41 665s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:42 665s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:43 665s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:44 665s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:45 665s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:46 665s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:47 665s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:48 665s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:49 665s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:50 665s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:51 665s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:52 665s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:53 665s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:54 665s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:55 665s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:56 665s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:57 665s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:58 665s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:59 665s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:60 665s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:61 665s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:62 665s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:63 665s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:64 665s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:65 665s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:66 665s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:67 665s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:68 665s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:69 665s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:70 665s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:71 665s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:72 665s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:73 665s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:74 665s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:75 665s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:76 665s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:77 665s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:78 665s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:79 665s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:80 665s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:81 665s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:82 665s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:83 665s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:84 665s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:85 665s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:86 665s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:87 665s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:88 665s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:89 665s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:90 665s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:91 665s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:92 665s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:93 665s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:94 665s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:95 665s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:96 665s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:97 665s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:98 665s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:99 665s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:100 665s # Starting thread pool processing 665s ok 5 /threadpool/sort 665s ok 6 /threadpool/stop-unused-multiple 665s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 665s # Pool idle thread count: 0, unprocessed jobs: 46 666s # Pool idle thread count: 0, unprocessed jobs: 0 666s # Pool idle thread count: 0, unprocessed jobs: 0 666s # Pool idle thread count: 10, unprocessed jobs: 0 666s # Pool idle thread count: 10, unprocessed jobs: 0 667s # Executing: glib/thread-pool-slow.test 667s # Pool idle thread count: 10, unprocessed jobs: 0 667s # Pool idle thread count: 10, unprocessed jobs: 0 667s # Pool idle thread count: 10, unprocessed jobs: 0 667s # Pool idle thread count: 10, unprocessed jobs: 0 668s # Pool idle thread count: 10, unprocessed jobs: 0 668s # Pool idle thread count: 10, unprocessed jobs: 0 668s # Pool idle thread count: 10, unprocessed jobs: 0 668s # Pool idle thread count: 10, unprocessed jobs: 0 669s # Pool idle thread count: 10, unprocessed jobs: 0 669s # Pool idle thread count: 10, unprocessed jobs: 0 669s # Pool idle thread count: 10, unprocessed jobs: 0 669s # Pool idle thread count: 10, unprocessed jobs: 0 670s # Pool idle thread count: 10, unprocessed jobs: 0 670s # Pool idle thread count: 10, unprocessed jobs: 0 670s # Pool idle thread count: 10, unprocessed jobs: 0 670s # Pool idle thread count: 10, unprocessed jobs: 0 671s # Pool idle thread count: 10, unprocessed jobs: 0 671s # Pool idle thread count: 10, unprocessed jobs: 0 671s # Pool idle thread count: 10, unprocessed jobs: 0 671s # Pool idle thread count: 10, unprocessed jobs: 0 672s # Executing: glib/thread-pool-slow.test 672s # Pool idle thread count: 10, unprocessed jobs: 0 672s # Pool idle thread count: 10, unprocessed jobs: 0 672s # Pool idle thread count: 10, unprocessed jobs: 0 672s # Pool idle thread count: 10, unprocessed jobs: 0 673s # Pool idle thread count: 10, unprocessed jobs: 0 673s # Pool idle thread count: 10, unprocessed jobs: 0 673s # Pool idle thread count: 10, unprocessed jobs: 0 673s # Pool idle thread count: 10, unprocessed jobs: 0 674s # Pool idle thread count: 10, unprocessed jobs: 0 674s # Pool idle thread count: 10, unprocessed jobs: 0 674s # Pool idle thread count: 10, unprocessed jobs: 2 674s # Pool idle thread count: 8, unprocessed jobs: 0 674s # Pool idle thread count: 8, unprocessed jobs: 0 674s # Pool idle thread count: 8, unprocessed jobs: 0 675s # Pool idle thread count: 10, unprocessed jobs: 0 675s # Pool idle thread count: 10, unprocessed jobs: 0 675s # Pool idle thread count: 10, unprocessed jobs: 0 675s # Pool idle thread count: 10, unprocessed jobs: 0 676s # Pool idle thread count: 10, unprocessed jobs: 0 676s # Pool idle thread count: 10, unprocessed jobs: 0 676s # Pool idle thread count: 2, unprocessed jobs: 0 676s # Pool idle thread count: 2, unprocessed jobs: 0 677s # Executing: glib/thread-pool-slow.test 677s # Pool idle thread count: 2, unprocessed jobs: 0 677s # Pool idle thread count: 2, unprocessed jobs: 0 677s # Pool idle thread count: 2, unprocessed jobs: 0 677s # Pool idle thread count: 2, unprocessed jobs: 0 678s # Pool idle thread count: 2, unprocessed jobs: 0 678s # Pool idle thread count: 2, unprocessed jobs: 0 678s # Pool idle thread count: 2, unprocessed jobs: 0 678s # Pool idle thread count: 2, unprocessed jobs: 0 679s # Pool idle thread count: 2, unprocessed jobs: 0 679s # Pool idle thread count: 2, unprocessed jobs: 0 679s # Pool idle thread count: 2, unprocessed jobs: 0 679s # Pool idle thread count: 2, unprocessed jobs: 0 680s # Pool idle thread count: 2, unprocessed jobs: 0 680s # Pool idle thread count: 2, unprocessed jobs: 0 680s # Pool idle thread count: 2, unprocessed jobs: 0 680s # Pool idle thread count: 2, unprocessed jobs: 0 681s # Pool idle thread count: 2, unprocessed jobs: 0 681s # Pool idle thread count: 2, unprocessed jobs: 0 681s # Pool idle thread count: 2, unprocessed jobs: 0 681s # Pool idle thread count: 2, unprocessed jobs: 0 682s # Executing: glib/thread-pool-slow.test 682s # Pool idle thread count: 2, unprocessed jobs: 0 682s # Pool idle thread count: 2, unprocessed jobs: 0 682s # Pool idle thread count: 2, unprocessed jobs: 0 682s # Pool idle thread count: 2, unprocessed jobs: 0 683s # Pool idle thread count: 2, unprocessed jobs: 0 683s # Pool idle thread count: 2, unprocessed jobs: 0 683s # Pool idle thread count: 2, unprocessed jobs: 0 683s # Pool idle thread count: 2, unprocessed jobs: 0 684s # Pool idle thread count: 2, unprocessed jobs: 0 684s # Pool idle thread count: 2, unprocessed jobs: 0 684s # Pool idle thread count: 2, unprocessed jobs: 0 684s # Pool idle thread count: 2, unprocessed jobs: 0 685s ok 7 /threadpool/idle-time 685s # slow test /threadpool/idle-time executed in 19.53 secs 685s # End of threadpool tests 685s ok - glib/thread-pool-slow.test 685s # Running test: glib/override.test 685s TAP version 13 685s # random seed: R02Sec138a92d78fa07e4ad4fca50f8a9c20 685s 1..1 685s # Start of gobject tests 685s # *** emitting foo on a TestA instance 685s # Expecting: TestA::foo,TestI::foo 685s # Got: TestA::foo,TestI::foo 685s # *** emitting bar on a TestA instance 685s # Expecting: TestA::bar 685s # Got: TestA::bar 685s # *** emitting baz on a TestA instance 685s # Expecting: TestA::baz 685s # Got: TestA::baz 685s # *** emitting foo on a TestB instance 685s # Expecting: TestB::foo,TestA::foo,TestI::foo 685s # Got: TestB::foo,TestA::foo,TestI::foo 685s # *** emitting bar on a TestB instance 685s # Expecting: TestB::bar,TestA::bar 685s # Got: TestB::bar,TestA::bar 685s # *** emitting baz on a TestB instance 685s # Expecting: TestB::baz,TestA::baz 685s # Got: TestB::baz,TestA::baz 685s # *** emitting foo on a TestC instance 685s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 685s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 685s # *** emitting bar on a TestC instance 685s # Expecting: TestC::bar,TestB::bar,TestA::bar 685s # Got: TestC::bar,TestB::bar,TestA::bar 685s # *** emitting baz on a TestC instance 685s # Expecting: TestC::baz,TestB::baz,TestA::baz 685s # Got: TestC::baz,TestB::baz,TestA::baz 685s ok 1 /gobject/override 685s # End of gobject tests 685s ok - glib/override.test 685s # Running test: glib/file-thumbnail.test 685s TAP version 13 685s # random seed: R02Sddf509a043ec8952d57d1cd343c72a6b 685s 1..7 685s # Start of file-thumbnail tests 685s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/fail/.dirs/home 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/fail/.dirs/cache 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_AV11K2/file-thumbnail/fail/.dirs/system-config2 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/fail/.dirs/config 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_AV11K2/file-thumbnail/fail/.dirs/system-data2 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/fail/.dirs/data 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/fail/.dirs/state 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/fail/.dirs/runtime 685s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 685s # Created test thumbnail at /tmp/test_file-thumbnail_AV11K2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 685s ok 1 /file-thumbnail/fail 685s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/size-priority/.dirs/home 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/size-priority/.dirs/cache 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_AV11K2/file-thumbnail/size-priority/.dirs/system-config2 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/size-priority/.dirs/config 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_AV11K2/file-thumbnail/size-priority/.dirs/system-data2 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/size-priority/.dirs/data 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/size-priority/.dirs/state 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/size-priority/.dirs/runtime 685s # Created test thumbnail at /tmp/test_file-thumbnail_AV11K2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 685s # Created test thumbnail at /tmp/test_file-thumbnail_AV11K2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 685s # Created test thumbnail at /tmp/test_file-thumbnail_AV11K2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 685s # Created test thumbnail at /tmp/test_file-thumbnail_AV11K2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 685s # Created test thumbnail at /tmp/test_file-thumbnail_AV11K2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 685s ok 2 /file-thumbnail/size-priority 685s # Start of valid tests 685s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/normal/.dirs/home 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/normal/.dirs/cache 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/normal/.dirs/system-config2 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/normal/.dirs/config 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/normal/.dirs/system-data2 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/normal/.dirs/data 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/normal/.dirs/state 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/normal/.dirs/runtime 685s # Created test thumbnail at /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 685s ok 3 /file-thumbnail/valid/normal 685s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/large/.dirs/home 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/large/.dirs/cache 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/large/.dirs/system-config2 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/large/.dirs/config 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/large/.dirs/system-data2 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/large/.dirs/data 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/large/.dirs/state 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/large/.dirs/runtime 685s # Created test thumbnail at /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 685s ok 4 /file-thumbnail/valid/large 685s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/x-large/.dirs/home 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/x-large/.dirs/cache 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/x-large/.dirs/system-config2 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/x-large/.dirs/config 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/x-large/.dirs/system-data2 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/x-large/.dirs/data 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/x-large/.dirs/state 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/x-large/.dirs/runtime 685s # Created test thumbnail at /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 685s ok 5 /file-thumbnail/valid/x-large 685s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/xx-large/.dirs/home 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/xx-large/.dirs/cache 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/xx-large/.dirs/system-config2 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/xx-large/.dirs/config 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/xx-large/.dirs/system-data2 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/xx-large/.dirs/data 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/xx-large/.dirs/state 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/xx-large/.dirs/runtime 685s # Created test thumbnail at /tmp/test_file-thumbnail_AV11K2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 685s ok 6 /file-thumbnail/valid/xx-large 685s # End of valid tests 685s # Start of unknown tests 685s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/unknown/super-large/.dirs/home 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/unknown/super-large/.dirs/cache 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_AV11K2/file-thumbnail/unknown/super-large/.dirs/system-config2 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/unknown/super-large/.dirs/config 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_AV11K2/file-thumbnail/unknown/super-large/.dirs/system-data2 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/unknown/super-large/.dirs/data 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/unknown/super-large/.dirs/state 685s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_AV11K2/file-thumbnail/unknown/super-large/.dirs/runtime 685s # Created test thumbnail at /tmp/test_file-thumbnail_AV11K2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 685s ok 7 /file-thumbnail/unknown/super-large 685s # End of unknown tests 685s # End of file-thumbnail tests 685s ok - glib/file-thumbnail.test 685s # Running test: glib/mutex.test 685s TAP version 13 685s # random seed: R02S94709aee0bd225f9f172b106d5547d93 685s 1..17 685s # Start of thread tests 685s ok 1 /thread/mutex1 685s ok 2 /thread/mutex2 685s ok 3 /thread/mutex3 685s ok 4 /thread/mutex4 687s # Executing: glib/mutex.test 692s # Executing: glib/mutex.test 692s ok 5 /thread/mutex5 692s # slow test /thread/mutex5 executed in 6.97 secs 692s # Start of mutex tests 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s # /thread/mutex/errno summary: Validates that errno is not touched upon return 692s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 692s ok 6 /thread/mutex/errno 692s # Start of perf tests 692s # max perf: inf mips 692s ok 7 /thread/mutex/perf/uncontended 692s # Start of contended tests 692s # max perf: inf mips 692s ok 8 /thread/mutex/perf/contended/1 692s # max perf: 3.000000 mips 692s ok 9 /thread/mutex/perf/contended/2 692s # max perf: inf mips 692s ok 10 /thread/mutex/perf/contended/3 692s # max perf: inf mips 692s ok 11 /thread/mutex/perf/contended/4 692s # max perf: inf mips 692s ok 12 /thread/mutex/perf/contended/5 692s # max perf: inf mips 692s ok 13 /thread/mutex/perf/contended/6 692s # max perf: inf mips 692s ok 14 /thread/mutex/perf/contended/7 692s # max perf: inf mips 692s ok 15 /thread/mutex/perf/contended/8 692s # max perf: 10.000000 mips 692s ok 16 /thread/mutex/perf/contended/9 692s # max perf: inf mips 692s ok 17 /thread/mutex/perf/contended/10 692s # End of contended tests 692s # End of perf tests 692s # End of mutex tests 692s # End of thread tests 692s ok - glib/mutex.test 692s # Running test: glib/memory-monitor-dbus.test 692s TAP version 13 692s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 693s 1..1 693s ok - glib/memory-monitor-dbus.test 693s # Running test: glib/gdbus-test-codegen.test 693s TAP version 13 693s # random seed: R02Sd71706ad9ba12ff60da85f7e5b6ea031 693s 1..8 693s # Start of gdbus tests 693s # Start of codegen tests 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/annotations/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/annotations/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/annotations/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/annotations/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/annotations/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/annotations/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/annotations/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/annotations/.dirs/runtime 693s ok 1 /gdbus/codegen/annotations 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/interface_stability/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/interface_stability/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/interface_stability/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/interface_stability/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/interface_stability/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/interface_stability/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/interface_stability/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/interface_stability/.dirs/runtime 693s ok 2 /gdbus/codegen/interface_stability 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/object-manager/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/object-manager/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/object-manager/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/object-manager/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/object-manager/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/object-manager/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/object-manager/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/object-manager/.dirs/runtime 693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 693s ok 3 /gdbus/codegen/object-manager 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/property-naming/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/property-naming/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/property-naming/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/property-naming/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/property-naming/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/property-naming/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/property-naming/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/property-naming/.dirs/runtime 693s ok 4 /gdbus/codegen/property-naming 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/autocleanups/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/autocleanups/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/autocleanups/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/autocleanups/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/autocleanups/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/autocleanups/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/autocleanups/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/autocleanups/.dirs/runtime 693s ok 5 /gdbus/codegen/autocleanups 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/deprecations/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/deprecations/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/deprecations/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/deprecations/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/deprecations/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/deprecations/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/deprecations/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/deprecations/.dirs/runtime 693s ok 6 /gdbus/codegen/deprecations 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/standalone-interface-info/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/standalone-interface-info/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/standalone-interface-info/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/standalone-interface-info/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/standalone-interface-info/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 693s ok 7 /gdbus/codegen/standalone-interface-info 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/unix-fd-list/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/unix-fd-list/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/unix-fd-list/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/unix-fd-list/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/unix-fd-list/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_4Z6NK2/gdbus/codegen/unix-fd-list/.dirs/runtime 693s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 693s ok 8 /gdbus/codegen/unix-fd-list 693s # End of codegen tests 693s # End of gdbus tests 693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 693s ok - glib/gdbus-test-codegen.test 693s # Running test: glib/dataset.test 693s TAP version 13 693s # random seed: R02S66e64b1381ed83f51a49df9966df666b 693s 1..14 693s # Start of quark tests 693s ok 1 /quark/basic 693s ok 2 /quark/string 693s # End of quark tests 693s # Start of dataset tests 693s ok 3 /dataset/basic 693s ok 4 /dataset/id 693s ok 5 /dataset/full 693s ok 6 /dataset/foreach 693s ok 7 /dataset/destroy 693s # End of dataset tests 693s # Start of datalist tests 693s ok 8 /datalist/basic 693s ok 9 /datalist/id 693s ok 10 /datalist/recursive-clear 693s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 693s ok 11 /datalist/id-remove-multiple 693s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 693s ok 12 /datalist/id-remove-multiple-destroy-order 693s ok 13 /datalist/update-atomic 693s # Start of id-remove-multiple tests 693s ok 14 /datalist/id-remove-multiple/resize 693s # End of id-remove-multiple tests 693s # End of datalist tests 693s ok - glib/dataset.test 693s # Running test: glib/utils-c-99.test 693s TAP version 13 693s # random seed: R02S1f0c735a4407cafefeaa1adc7f4da1f0 693s 1..40 693s # Start of utils tests 693s ok 1 /utils/language-names 693s ok 2 /utils/locale-variants 693s ok 3 /utils/version 693s ok 4 /utils/appname 693s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 693s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 693s ok 5 /utils/prgname-thread-safety 693s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 693s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 693s ok 6 /utils/tmpdir 693s ok 7 /utils/basic_bits 693s ok 8 /utils/bits 693s ok 9 /utils/swap 693s ok 10 /utils/find-program 693s ok 11 /utils/find-program-for-path 693s ok 12 /utils/debug 693s ok 13 /utils/codeset 693s ok 14 /utils/codeset2 693s ok 15 /utils/console-charset 693s ok 16 /utils/gettext 693s ok 17 /utils/username 693s ok 18 /utils/realname 693s ok 19 /utils/hostname 693s ok 20 /utils/xdgdirs 693s ok 21 /utils/specialdir 693s # NAME: Ubuntu 693s ok 22 /utils/os-info 693s ok 23 /utils/clear-pointer 693s ok 24 /utils/clear-pointer-cast 693s ok 25 /utils/take-pointer 693s ok 26 /utils/clear-source 693s ok 27 /utils/misc-mem 693s # /utils/aligned-mem summary: Aligned memory allocator 693s # Alignment must not be zero 693s # Alignment must be a power of two 693s # Alignment must be a multiple of sizeof(void*) 693s ok 28 /utils/aligned-mem 693s # /utils/free-sized summary: Check that g_free_sized() works 693s ok 29 /utils/free-sized 693s ok 30 /utils/nullify 693s ok 31 /utils/atexit 693s ok 32 /utils/check-setuid 693s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 693s ok 33 /utils/int-limits 693s ok 34 /utils/clear-list 693s ok 35 /utils/clear-slist 693s # Start of specialdir tests 693s ok 36 /utils/specialdir/desktop 693s # End of specialdir tests 693s # Start of clear-pointer tests 693s ok 37 /utils/clear-pointer/side-effects 693s # End of clear-pointer tests 693s # Start of aligned-mem tests 693s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 693s ok 38 /utils/aligned-mem/alignment 693s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 693s ok 39 /utils/aligned-mem/zeroed 693s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 693s ok 40 /utils/aligned-mem/free-sized 693s # Start of subprocess tests 693s # End of subprocess tests 693s # End of aligned-mem tests 693s # End of utils tests 693s ok - glib/utils-c-99.test 693s # Running test: glib/accumulator.test 693s TAP version 13 693s # random seed: R02S2993cbc6d34481d6d89b6bcdf6a19e4b 693s 1..1 693s # Start of gobject tests 693s ok 1 /gobject/accumulator 693s # End of gobject tests 693s ok - glib/accumulator.test 693s # Running test: glib/unicode.test 693s TAP version 13 693s # random seed: R02S5c55b3ff9efa6a3b993c869536a02bf3 693s 1..39 693s # Start of unicode tests 693s ok 1 /unicode/alnum 693s ok 2 /unicode/alpha 693s ok 3 /unicode/break-type 693s ok 4 /unicode/canonical-decomposition 693s ok 5 /unicode/casefold 693s # Cannot set locale to lt_LT, skipping 693s # Cannot set locale to lt_LT, skipping 693s # Cannot set locale to lt_LT, skipping 693s # Cannot set locale to lt_LT, skipping 693s # Cannot set locale to lt_LT, skipping 693s # Cannot set locale to lt_LT, skipping 693s # Cannot set locale to lt_LT, skipping 693s # Cannot set locale to lt_LT, skipping 693s # Cannot set locale to lt_LT, skipping 693s # Cannot set locale to lt_LT, skipping 693s # Cannot set locale to lt_LT, skipping 693s ok 6 /unicode/casemap_and_casefold 693s ok 7 /unicode/cases 693s ok 8 /unicode/character-type 693s ok 9 /unicode/cntrl 693s ok 10 /unicode/combining-class 693s ok 11 /unicode/compose 693s ok 12 /unicode/decompose 693s ok 13 /unicode/decompose-tail 693s ok 14 /unicode/defined 693s ok 15 /unicode/digit 693s ok 16 /unicode/digit-value 693s ok 17 /unicode/fully-decompose-canonical 693s ok 18 /unicode/fully-decompose-len 693s ok 19 /unicode/normalization 693s ok 20 /unicode/graph 693s # Testing script Zyyy (code 1517910393) 693s # Testing script Zinh (code 1516858984) 693s # Testing script Zmth (code 1517122664) 693s # Testing script Arab (code 1098015074) 693s # Testing script Armn (code 1098018158) 693s # Testing script Beng (code 1113943655) 693s # Testing script Bopo (code 1114599535) 693s # Testing script Cher (code 1130915186) 693s # Testing script Copt (code 1131376756) 693s # Testing script Cyrl (code 1132032620) 693s # Testing script Dsrt (code 1148416628) 693s # Testing script Deva (code 1147500129) 693s # Testing script Ethi (code 1165256809) 693s # Testing script Geor (code 1197830002) 693s # Testing script Goth (code 1198486632) 693s # Testing script Grek (code 1198679403) 693s # Testing script Gujr (code 1198877298) 693s # Testing script Guru (code 1198879349) 693s # Testing script Hani (code 1214344809) 693s # Testing script Hang (code 1214344807) 693s # Testing script Hebr (code 1214603890) 693s # Testing script Hira (code 1214870113) 693s # Testing script Knda (code 1265525857) 693s # Testing script Kana (code 1264676449) 693s # Testing script Khmr (code 1265134962) 693s # Testing script Laoo (code 1281453935) 693s # Testing script Latn (code 1281455214) 693s # Testing script Mlym (code 1298954605) 693s # Testing script Mong (code 1299148391) 693s # Testing script Mymr (code 1299803506) 693s # Testing script Ogam (code 1332175213) 693s # Testing script Ital (code 1232363884) 693s # Testing script Orya (code 1332902241) 693s # Testing script Runr (code 1383427698) 693s # Testing script Sinh (code 1399418472) 693s # Testing script Syrc (code 1400468067) 693s # Testing script Taml (code 1415671148) 693s # Testing script Telu (code 1415933045) 693s # Testing script Thaa (code 1416126817) 693s # Testing script Thai (code 1416126825) 693s # Testing script Tibt (code 1416192628) 693s # Testing script Cans (code 1130458739) 693s # Testing script Yiii (code 1500080489) 693s # Testing script Tglg (code 1416064103) 693s # Testing script Hano (code 1214344815) 693s # Testing script Buhd (code 1114990692) 693s # Testing script Tagb (code 1415669602) 693s # Testing script Brai (code 1114792297) 693s # Testing script Cprt (code 1131442804) 693s # Testing script Limb (code 1281977698) 693s # Testing script Osma (code 1332964705) 693s # Testing script Shaw (code 1399349623) 693s # Testing script Linb (code 1281977954) 693s # Testing script Tale (code 1415670885) 693s # Testing script Ugar (code 1432838514) 693s # Testing script Talu (code 1415670901) 693s # Testing script Bugi (code 1114990441) 693s # Testing script Glag (code 1198285159) 693s # Testing script Tfng (code 1415999079) 693s # Testing script Sylo (code 1400466543) 693s # Testing script Xpeo (code 1483761007) 693s # Testing script Khar (code 1265131890) 693s # Testing script Zzzz (code 1517976186) 693s # Testing script Bali (code 1113681001) 693s # Testing script Xsux (code 1483961720) 693s # Testing script Phnx (code 1349021304) 693s # Testing script Phag (code 1349017959) 693s # Testing script Nkoo (code 1315663727) 693s # Testing script Kali (code 1264675945) 693s # Testing script Lepc (code 1281716323) 693s # Testing script Rjng (code 1382706791) 693s # Testing script Sund (code 1400204900) 693s # Testing script Saur (code 1398895986) 693s # Testing script Cham (code 1130914157) 693s # Testing script Olck (code 1332503403) 693s # Testing script Vaii (code 1449224553) 693s # Testing script Cari (code 1130459753) 693s # Testing script Lyci (code 1283023721) 693s # Testing script Lydi (code 1283023977) 693s # Testing script Avst (code 1098281844) 693s # Testing script Bamu (code 1113681269) 693s # Testing script Egyp (code 1164409200) 693s # Testing script Armi (code 1098018153) 693s # Testing script Phli (code 1349020777) 693s # Testing script Prti (code 1349678185) 693s # Testing script Java (code 1247901281) 693s # Testing script Kthi (code 1265920105) 693s # Testing script Lisu (code 1281979253) 693s # Testing script Mtei (code 1299473769) 693s # Testing script Sarb (code 1398895202) 693s # Testing script Orkh (code 1332898664) 693s # Testing script Samr (code 1398893938) 693s # Testing script Lana (code 1281453665) 693s # Testing script Tavt (code 1415673460) 693s # Testing script Batk (code 1113683051) 693s # Testing script Brah (code 1114792296) 693s # Testing script Mand (code 1298230884) 693s # Testing script Cakm (code 1130457965) 693s # Testing script Merc (code 1298494051) 693s # Testing script Mero (code 1298494063) 693s # Testing script Plrd (code 1349284452) 693s # Testing script Shrd (code 1399353956) 693s # Testing script Sora (code 1399812705) 693s # Testing script Takr (code 1415670642) 693s # Testing script Bass (code 1113682803) 693s # Testing script Aghb (code 1097295970) 693s # Testing script Dupl (code 1148547180) 693s # Testing script Elba (code 1164730977) 693s # Testing script Gran (code 1198678382) 693s # Testing script Khoj (code 1265135466) 693s # Testing script Sind (code 1399418468) 693s # Testing script Lina (code 1281977953) 693s # Testing script Mahj (code 1298229354) 693s # Testing script Mani (code 1298230889) 693s # Testing script Mend (code 1298493028) 693s # Testing script Modi (code 1299145833) 693s # Testing script Mroo (code 1299345263) 693s # Testing script Nbat (code 1315070324) 693s # Testing script Narb (code 1315009122) 693s # Testing script Perm (code 1348825709) 693s # Testing script Hmng (code 1215131239) 693s # Testing script Palm (code 1348562029) 693s # Testing script Pauc (code 1348564323) 693s # Testing script Phlp (code 1349020784) 693s # Testing script Sidd (code 1399415908) 693s # Testing script Tirh (code 1416196712) 693s # Testing script Wara (code 1466004065) 693s # Testing script Ahom (code 1097363309) 693s # Testing script Hluw (code 1215067511) 693s # Testing script Hatr (code 1214346354) 693s # Testing script Mult (code 1299541108) 693s # Testing script Hung (code 1215655527) 693s # Testing script Sgnw (code 1399287415) 693s # Testing script Adlm (code 1097100397) 693s # Testing script Bhks (code 1114139507) 693s # Testing script Marc (code 1298231907) 693s # Testing script Newa (code 1315272545) 693s # Testing script Osge (code 1332963173) 693s # Testing script Tang (code 1415671399) 693s # Testing script Gonm (code 1198485101) 693s # Testing script Nshu (code 1316186229) 693s # Testing script Soyo (code 1399814511) 693s # Testing script Zanb (code 1516334690) 693s # Testing script Dogr (code 1148151666) 693s # Testing script Gong (code 1198485095) 693s # Testing script Rohg (code 1383032935) 693s # Testing script Maka (code 1298230113) 693s # Testing script Medf (code 1298490470) 693s # Testing script Sogo (code 1399809903) 693s # Testing script Sogd (code 1399809892) 693s # Testing script Elym (code 1164736877) 693s # Testing script Nand (code 1315008100) 693s # Testing script Hmnp (code 1215131248) 693s # Testing script Wcho (code 1466132591) 693s # Testing script Chrs (code 1130918515) 693s # Testing script Diak (code 1147756907) 693s # Testing script Kits (code 1265202291) 693s # Testing script Yezi (code 1499822697) 693s # Testing script Cpmn (code 1131441518) 693s # Testing script Ougr (code 1333094258) 693s # Testing script Tnsa (code 1416524641) 693s # Testing script Toto (code 1416590447) 693s # Testing script Vith (code 1449751656) 693s # Testing script Kawi (code 1264678761) 693s # Testing script Nagm (code 1315006317) 693s ok 21 /unicode/iso15924 693s ok 22 /unicode/lower 693s ok 23 /unicode/mark 693s ok 24 /unicode/mirror 693s ok 25 /unicode/print 693s ok 26 /unicode/punctuation 693s ok 27 /unicode/script 693s ok 28 /unicode/space 693s ok 29 /unicode/strdown 693s ok 30 /unicode/strup 693s ok 31 /unicode/turkish-strupdown 693s ok 32 /unicode/title 693s ok 33 /unicode/upper 693s ok 34 /unicode/validate 693s ok 35 /unicode/wide 693s ok 36 /unicode/xdigit 693s ok 37 /unicode/xdigit-value 693s ok 38 /unicode/zero-width 693s ok 39 /unicode/normalize 693s # End of unicode tests 693s ok - glib/unicode.test 693s # Running test: glib/gdbus-proxy-unique-name.test 693s TAP version 13 693s # random seed: R02S1ebb0f067b434262b11febf1dcc24c28 693s 1..1 693s # Start of gdbus tests 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_1FRVK2/gdbus/proxy-unique-name/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_1FRVK2/gdbus/proxy-unique-name/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_1FRVK2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_1FRVK2/gdbus/proxy-unique-name/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_1FRVK2/gdbus/proxy-unique-name/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_1FRVK2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_1FRVK2/gdbus/proxy-unique-name/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_1FRVK2/gdbus/proxy-unique-name/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_1FRVK2/gdbus/proxy-unique-name/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_1FRVK2/gdbus/proxy-unique-name/.dirs/runtime 693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 693s ok 1 /gdbus/proxy-unique-name 693s # End of gdbus tests 693s ok - glib/gdbus-proxy-unique-name.test 693s # Running test: glib/messages-low-memory.py.test 693s TAP version 13 693s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 693s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 693s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 693s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 693s # Return code: -6 693s # Output: 693s # Error: GLib-Message: 18:29:50.230: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 693s # GLib-Message: 18:29:50.230: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 693s # ../../../glib/gprintf.c:350: failed to allocate memory 693s 1..1 693s ok - glib/messages-low-memory.py.test 693s # Running test: glib/utils-c-90.test 693s TAP version 13 693s # random seed: R02S291f059012dfc7dca8b3c8fbf1c74913 693s 1..40 693s # Start of utils tests 693s ok 1 /utils/language-names 693s ok 2 /utils/locale-variants 693s ok 3 /utils/version 693s ok 4 /utils/appname 693s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 693s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 693s ok 5 /utils/prgname-thread-safety 693s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 693s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 693s ok 6 /utils/tmpdir 693s ok 7 /utils/basic_bits 693s ok 8 /utils/bits 693s ok 9 /utils/swap 693s ok 10 /utils/find-program 693s ok 11 /utils/find-program-for-path 693s ok 12 /utils/debug 693s ok 13 /utils/codeset 693s ok 14 /utils/codeset2 693s ok 15 /utils/console-charset 693s ok 16 /utils/gettext 693s ok 17 /utils/username 693s ok 18 /utils/realname 693s ok 19 /utils/hostname 693s ok 20 /utils/xdgdirs 693s ok 21 /utils/specialdir 693s # NAME: Ubuntu 693s ok 22 /utils/os-info 693s ok 23 /utils/clear-pointer 693s ok 24 /utils/clear-pointer-cast 693s ok 25 /utils/take-pointer 693s ok 26 /utils/clear-source 693s ok 27 /utils/misc-mem 693s # /utils/aligned-mem summary: Aligned memory allocator 693s # Alignment must not be zero 693s # Alignment must be a power of two 693s # Alignment must be a multiple of sizeof(void*) 693s ok 28 /utils/aligned-mem 693s # /utils/free-sized summary: Check that g_free_sized() works 693s ok 29 /utils/free-sized 693s ok 30 /utils/nullify 693s ok 31 /utils/atexit 693s ok 32 /utils/check-setuid 693s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 693s ok 33 /utils/int-limits 693s ok 34 /utils/clear-list 693s ok 35 /utils/clear-slist 693s # Start of specialdir tests 693s ok 36 /utils/specialdir/desktop 693s # End of specialdir tests 693s # Start of clear-pointer tests 693s ok 37 /utils/clear-pointer/side-effects 693s # End of clear-pointer tests 693s # Start of aligned-mem tests 693s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 693s ok 38 /utils/aligned-mem/alignment 693s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 693s ok 39 /utils/aligned-mem/zeroed 693s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 693s ok 40 /utils/aligned-mem/free-sized 693s # Start of subprocess tests 693s # End of subprocess tests 693s # End of aligned-mem tests 693s # End of utils tests 693s ok - glib/utils-c-90.test 693s # Running test: glib/g-icon.test 693s TAP version 13 693s # random seed: R02Sed878cc20b042a10f56d082584045d74 693s 1..6 693s # Start of icons tests 693s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 693s ok 1 /icons/to-string 693s ok 2 /icons/serialize 693s ok 3 /icons/themed 693s ok 4 /icons/emblemed 693s ok 5 /icons/file 693s ok 6 /icons/bytes 693s # End of icons tests 693s ok - glib/g-icon.test 693s # Running test: glib/gdbus-proxy-well-known-name.test 693s TAP version 13 693s # random seed: R02S7bfcd815a78e9ef40fd1ae885fd4d772 693s 1..1 693s # Start of gdbus tests 693s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_BBL4K2/gdbus/proxy-well-known-name/.dirs/home 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_BBL4K2/gdbus/proxy-well-known-name/.dirs/cache 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_BBL4K2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_BBL4K2/gdbus/proxy-well-known-name/.dirs/system-config2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_BBL4K2/gdbus/proxy-well-known-name/.dirs/config 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_BBL4K2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_BBL4K2/gdbus/proxy-well-known-name/.dirs/system-data2 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_BBL4K2/gdbus/proxy-well-known-name/.dirs/data 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_BBL4K2/gdbus/proxy-well-known-name/.dirs/state 693s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_BBL4K2/gdbus/proxy-well-known-name/.dirs/runtime 693s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 693s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 693s ok 1 /gdbus/proxy-well-known-name 693s # End of gdbus tests 693s ok - glib/gdbus-proxy-well-known-name.test 693s # Running test: glib/slist.test 693s TAP version 13 693s # random seed: R02S98f9e736af21ab6d674184548501a5aa 693s 1..14 693s # Start of slist tests 693s ok 1 /slist/sort 693s ok 2 /slist/sort-with-data 693s ok 3 /slist/insert-sorted 693s ok 4 /slist/insert-sorted-with-data 693s ok 5 /slist/reverse 693s ok 6 /slist/nth 693s ok 7 /slist/remove 693s ok 8 /slist/remove-all 693s ok 9 /slist/insert 693s ok 10 /slist/position 693s ok 11 /slist/concat 693s ok 12 /slist/copy 693s # Start of sort tests 693s ok 13 /slist/sort/stable 693s # End of sort tests 693s # Start of copy tests 693s ok 14 /slist/copy/deep 693s # End of copy tests 693s # End of slist tests 693s ok - glib/slist.test 693s # Running test: glib/gthash.test 693s TAP version 13 693s # random seed: R02S722ef57121508363536ce1719c71002e 693s 1..1 693s # Start of gthash tests 693s ok 1 /gthash/build-retrieve 693s # End of gthash tests 693s ok - glib/gthash.test 693s # Running test: glib/spawn-test.test 693s TAP version 13 693s # random seed: R02Se0d8a50ab71c1bab73d4ffd890730df3 693s 1..2 693s # Start of spawn tests 693s ok 1 /spawn/basics 693s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 693s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 693s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 693s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 693s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 693s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 693s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 693s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 693s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 693s # Fetching GSpawn result output with stdin open, stdout open, stderr open 693s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 693s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 693s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 693s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 693s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 693s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 693s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 693s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 693s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 693s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 693s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 693s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 693s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 693s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 693s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 693s # Fetching GSpawn result with stdin open, stdout open, stderr open 693s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 693s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 693s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 693s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 693s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 693s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 693s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 693s ok 2 /spawn/stdio-overwrite 693s # End of spawn tests 693s ok - glib/spawn-test.test 693s # Running test: glib/overflow.test 693s TAP version 13 693s # random seed: R02Sd9ac044cbf55b8175d05257b038dca74 693s 1..6 693s # Start of glib tests 693s # Start of checked-math tests 693s ok 1 /glib/checked-math/guint-add 693s ok 2 /glib/checked-math/guint-mul 693s ok 3 /glib/checked-math/guint64-add 693s ok 4 /glib/checked-math/guint64-mul 693s ok 5 /glib/checked-math/gsize-add 693s ok 6 /glib/checked-math/gsize-mul 693s # End of checked-math tests 693s # End of glib tests 693s ok - glib/overflow.test 693s # Running test: glib/cxx.test 693s TAP version 13 693s # random seed: R02S22a0102def528601352f962e4ae6979c 693s 1..2 693s # Start of gtask tests 693s # 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. 693s ok 1 /gtask/name 693s # Start of name tests 693s # 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. 693s ok 2 /gtask/name/macro-wrapper 693s # End of name tests 693s # End of gtask tests 693s ok - glib/cxx.test 693s # Running test: glib/memory-settings-backend.test 693s TAP version 13 693s # random seed: R02S28655d9b370614aeab0d0aa800b4629f 693s 1..1 693s # Start of memory-settings-backend tests 693s ok 1 /memory-settings-backend/extension-point-registered 693s # End of memory-settings-backend tests 693s ok - glib/memory-settings-backend.test 693s # Running test: glib/atomic-c-11.test 693s TAP version 13 693s # random seed: R02Sa3f90fdf1bfa384baaf7028490ea0d32 693s 1..2 693s # Start of atomic tests 693s ok 1 /atomic/types 693s ok 2 /atomic/threaded 693s # End of atomic tests 693s ok - glib/atomic-c-11.test 693s # Running test: glib/thumbnail-verification.test 693s TAP version 13 693s # random seed: R02S93f583d0ab19c9a83072892ef652c6c6 693s 1..1 693s # Start of png-thumbs tests 693s ok 1 /png-thumbs/validity 693s # End of png-thumbs tests 693s ok - glib/thumbnail-verification.test 693s # Running test: glib/private.test 693s TAP version 13 693s # random seed: R02Sefc0b17d37ca66295e0957df8e395a0f 693s 1..8 693s # Start of thread tests 693s ok 1 /thread/private1 694s ok 2 /thread/private2 694s # slow test /thread/private2 executed in 1.12 secs 694s ok 3 /thread/private3 694s ok 4 /thread/staticprivate1 694s ok 5 /thread/staticprivate2 694s ok 6 /thread/staticprivate3 695s ok 7 /thread/staticprivate4 695s # slow test /thread/staticprivate4 executed in 1.11 secs 695s ok 8 /thread/staticprivate5 695s # End of thread tests 695s ok - glib/private.test 695s # Running test: glib/resolver-parsing.test 695s TAP version 13 695s # random seed: R02Scdf52834adfed0719fa35959f374d488 695s 1..20 695s # Start of gresolver tests 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/invalid-header/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/invalid-header/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_PL9IK2/gresolver/invalid-header/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/invalid-header/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_PL9IK2/gresolver/invalid-header/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/invalid-header/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/invalid-header/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_PL9IK2/gresolver/invalid-header/.dirs/runtime 695s ok 1 /gresolver/invalid-header 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/unknown-record-type/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/unknown-record-type/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_PL9IK2/gresolver/unknown-record-type/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/unknown-record-type/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_PL9IK2/gresolver/unknown-record-type/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/unknown-record-type/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/unknown-record-type/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_PL9IK2/gresolver/unknown-record-type/.dirs/runtime 695s # GLib-GIO-DEBUG: Unrecognised DNS record type 20 695s ok 2 /gresolver/unknown-record-type 695s # Start of mx tests 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/valid/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/valid/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_PL9IK2/gresolver/mx/valid/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/valid/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_PL9IK2/gresolver/mx/valid/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/valid/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/valid/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/valid/.dirs/runtime 695s ok 3 /gresolver/mx/valid 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/.dirs/runtime 695s ok 4 /gresolver/mx/invalid 695s # Start of invalid tests 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/too-short/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/too-short/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/too-short/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/too-short/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/too-short/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/too-short/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/too-short/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/too-short/.dirs/runtime 695s ok 5 /gresolver/mx/invalid/too-short 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/too-short2/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/too-short2/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/too-short2/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/too-short2/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/too-short2/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/too-short2/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/too-short2/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_PL9IK2/gresolver/mx/invalid/too-short2/.dirs/runtime 695s ok 6 /gresolver/mx/invalid/too-short2 695s # End of invalid tests 695s # End of mx tests 695s # Start of ns tests 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/ns/valid/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/ns/valid/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_PL9IK2/gresolver/ns/valid/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/ns/valid/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_PL9IK2/gresolver/ns/valid/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/ns/valid/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/ns/valid/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_PL9IK2/gresolver/ns/valid/.dirs/runtime 695s ok 7 /gresolver/ns/valid 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/ns/invalid/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/ns/invalid/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_PL9IK2/gresolver/ns/invalid/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/ns/invalid/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_PL9IK2/gresolver/ns/invalid/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/ns/invalid/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/ns/invalid/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_PL9IK2/gresolver/ns/invalid/.dirs/runtime 695s ok 8 /gresolver/ns/invalid 695s # End of ns tests 695s # Start of soa tests 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/valid/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/valid/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_PL9IK2/gresolver/soa/valid/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/valid/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_PL9IK2/gresolver/soa/valid/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/valid/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/valid/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/valid/.dirs/runtime 695s ok 9 /gresolver/soa/valid 695s # Start of invalid tests 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/mname/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/mname/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/mname/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/mname/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/mname/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/mname/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/mname/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/mname/.dirs/runtime 695s ok 10 /gresolver/soa/invalid/mname 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/rname/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/rname/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/rname/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/rname/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/rname/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/rname/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/rname/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/rname/.dirs/runtime 695s ok 11 /gresolver/soa/invalid/rname 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/too-short/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/too-short/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/too-short/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/too-short/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/too-short/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/too-short/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/too-short/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_PL9IK2/gresolver/soa/invalid/too-short/.dirs/runtime 695s ok 12 /gresolver/soa/invalid/too-short 695s # End of invalid tests 695s # End of soa tests 695s # Start of srv tests 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/valid/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/valid/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_PL9IK2/gresolver/srv/valid/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/valid/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_PL9IK2/gresolver/srv/valid/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/valid/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/valid/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/valid/.dirs/runtime 695s ok 13 /gresolver/srv/valid 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/.dirs/runtime 695s ok 14 /gresolver/srv/invalid 695s # Start of invalid tests 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/too-short/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/too-short/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/too-short/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/too-short/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/too-short/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/too-short/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/too-short/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/too-short/.dirs/runtime 695s ok 15 /gresolver/srv/invalid/too-short 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/too-short2/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/too-short2/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/too-short2/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/too-short2/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/too-short2/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/too-short2/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/too-short2/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_PL9IK2/gresolver/srv/invalid/too-short2/.dirs/runtime 695s ok 16 /gresolver/srv/invalid/too-short2 695s # End of invalid tests 695s # End of srv tests 695s # Start of txt tests 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/valid/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/valid/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_PL9IK2/gresolver/txt/valid/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/valid/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_PL9IK2/gresolver/txt/valid/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/valid/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/valid/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/valid/.dirs/runtime 695s ok 17 /gresolver/txt/valid 695s # Start of valid tests 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/valid/multiple-strings/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/valid/multiple-strings/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_PL9IK2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/valid/multiple-strings/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_PL9IK2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/valid/multiple-strings/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/valid/multiple-strings/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/valid/multiple-strings/.dirs/runtime 695s ok 18 /gresolver/txt/valid/multiple-strings 695s # End of valid tests 695s # Start of invalid tests 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/invalid/empty/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/invalid/empty/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_PL9IK2/gresolver/txt/invalid/empty/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/invalid/empty/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_PL9IK2/gresolver/txt/invalid/empty/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/invalid/empty/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/invalid/empty/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/invalid/empty/.dirs/runtime 695s ok 19 /gresolver/txt/invalid/empty 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/invalid/overflow/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/invalid/overflow/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_PL9IK2/gresolver/txt/invalid/overflow/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/invalid/overflow/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_PL9IK2/gresolver/txt/invalid/overflow/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/invalid/overflow/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/invalid/overflow/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_PL9IK2/gresolver/txt/invalid/overflow/.dirs/runtime 695s ok 20 /gresolver/txt/invalid/overflow 695s # End of invalid tests 695s # End of txt tests 695s # End of gresolver tests 695s ok - glib/resolver-parsing.test 695s # Running test: glib/glistmodel.test 695s TAP version 13 695s # random seed: R02S0d1abd702f7849714c7a58cc41ea5f12 695s 1..18 695s # Start of glistmodel tests 695s # Start of store tests 695s ok 1 /glistmodel/store/properties 695s ok 2 /glistmodel/store/non-gobjects 695s ok 3 /glistmodel/store/boundaries 695s ok 4 /glistmodel/store/refcounts 695s ok 5 /glistmodel/store/sorted 695s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 695s ok 6 /glistmodel/store/splice-replace-middle 695s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 695s ok 7 /glistmodel/store/splice-replace-all 695s ok 8 /glistmodel/store/splice-noop 695s ok 9 /glistmodel/store/splice-remove-multiple 695s ok 10 /glistmodel/store/splice-add-multiple 695s ok 11 /glistmodel/store/splice-wrong-type 695s ok 12 /glistmodel/store/item-type 695s ok 13 /glistmodel/store/remove-all 695s ok 14 /glistmodel/store/sort 695s ok 15 /glistmodel/store/get-item-cache 695s ok 16 /glistmodel/store/items-changed 695s ok 17 /glistmodel/store/past-end 695s ok 18 /glistmodel/store/find 695s # End of store tests 695s # End of glistmodel tests 695s ok - glib/glistmodel.test 695s # Running test: glib/properties-refcount1.test 695s TAP version 13 695s # random seed: R02Sf85c9da81e7f6c5ba4d96212f1cb8817 695s 1..1 695s # Start of gobject tests 695s # Start of refcount tests 695s # .c 695s # .d 695s # .d 695s # .d 695s # .d 695s # .c 695s # .f 695s # .b 695s # .e 695s # .e 695s # .b 695s # .c 695s # .f 695s # .d 695s # .b 695s # .b 695s # .b 696s # .b 696s # .c 696s # .e 696s # .f 696s # .d 696s # .f 696s # .d 696s # .d 696s # .e 696s # .d 696s # .f 696s # .b 696s # .b 696s # .e 696s # .c 696s # .c 696s # .e 696s # .d 696s # .d 696s # .c 696s # .f 696s # .f 696s # .e 696s # .b 696s # .e 696s # .d 696s # .d 696s # .c 696s # .c 696s # .d 696s # .b 696s # .e 696s # .f 696s # .f 696s # .b 696s # .b 696s # .d 696s # .d 696s # .b 696s # .b 696s # .b 696s # .c 696s # .e 696s # .d 696s # .f 696s # .f 696s # .f 696s # .f 696s # .f 696s # .e 696s # .e 696s # .c 696s # .b 696s # .d 696s # .d 696s # .f 696s # .f 696s # .f 696s # .f 696s # .e 696s # .d 696s # .c 696s # .b 696s # .b 696s # .d 696s # .d 696s # .d 696s # .f 696s # .d 696s # .e 696s # .c 696s # .f 696s # .b 696s # .b 696s # .e 696s # .b 696s # .b 696s # .f 696s # .b 696s # .c 696s # .d 696s # .e 696s # .f 696s # .f 696s # .d 696s # .d 696s # .e 696s # .e 696s # .b 696s # .c 696s # .f 696s # .f 696s # .b 696s # .d 696s # .d 696s # .c 696s # .b 696s # .d 696s # .c 696s # .f 696s # .f 696s # .e 696s # .b 696s # .e 696s # .d 696s # .d 696s # .e 696s # .c 696s # .b 696s # .f 696s # .b 696s # .b 696s # .f 696s # .d 696s # .d 696s # .c 696s # .d 696s # .e 696s # .e 696s # .b 696s # .c 696s # .f 696s # .f 697s # .c 697s # .c 697s # .d 697s # .c 697s # .b 697s # .b 697s # .d 697s # .e 697s # .f 697s # .e 697s # .d 697s # .c 697s # .f 697s # .f 697s # .f 697s # .f 697s # .d 697s # .c 697s # .b 697s # .e 697s # .e 697s # .c 697s # .b 697s # .e 697s # .d 697s # .b 697s # .c 697s # .f 697s # .d 697s # .e 697s # .c 697s # .e 697s # .f 697s # .b 697s # .d 697s # .f 697s # .b 697s # .c 697s # .d 697s # Executing: glib/properties-refcount1.test 697s # .e 697s # .f 697s # .d 697s # .e 697s # .e 697s # .c 697s # .b 697s # .b 697s # .c 697s # .d 697s # .f 697s # .b 697s # .e 697s # .e 697s # .f 697s # .f 697s # .c 697s # .b 697s # .d 697s # .e 697s # .d 697s # .e 697s # .e 697s # .e 697s # .c 697s # .d 697s # .f 697s # .b 697s # .b 697s # .c 697s # .c 697s # .d 697s # .d 697s # .d 697s # .e 697s # .f 697s # .c 697s # .b 697s # .c 697s # .d 697s # .f 697s # .c 697s # .d 697s # .b 697s # .f 697s # .e 697s # .d 697s # .c 697s # .f 697s # .b 697s # .d 697s # .c 697s # .c 697s # .b 697s # .f 697s # .e 697s # .e 697s # .d 697s # .d 697s # .b 698s # .b 698s # .b 698s # .f 698s # .c 698s # .f 698s # .e 698s # .d 698s # .b 698s # .c 698s # .d 698s # .e 698s # .e 698s # .f 698s # .b 698s # .f 698s # .f 698s # .c 698s # .c 698s # .d 698s # .e 698s # .b 698s # .e 698s # .e 698s # .f 698s # .f 698s # .b 698s # .c 698s # .d 698s # .c 698s # .c 698s # .d 698s # .d 698s # .e 698s # .e 698s # .c 698s # .d 698s # .f 698s # .b 698s # .b 698s # .c 698s # .b 698s # .e 698s # .b 698s # .f 698s # .f 698s # .d 698s # .e 698s # .c 698s # .e 698s # .d 698s # .c 698s # .b 698s # .b 698s # .c 698s # .c 698s # .f 698s # .f 698s # .b 698s # .b 698s # .e 698s # .e 698s # .d 698s # .f 698s # .c 698s # .c 698s # .f 698s # .c 698s # .b 698s # .d 698s # .f 698s # .e 698s # .d 698s # .f 698s # .d 698s # .d 698s # .d 698s # .b 698s # .c 698s # .f 698s # .e 698s # .e 698s # .c 698s # .c 698s # .f 698s # .f 698s # .d 698s # .c 698s # .b 698s # .e 698s # .b 698s # .b 698s # .b 698s # .d 698s # .e 698s # .e 698s # .e 698s # .c 698s # .f 698s # .f 698s # .b 698s # .d 698s # .b 698s # .e 698s ok 1 /gobject/refcount/properties-1 698s # slow test /gobject/refcount/properties-1 executed in 3.01 secs 698s # End of refcount tests 698s # End of gobject tests 698s ok - glib/properties-refcount1.test 698s # Running test: glib/reference.test 698s TAP version 13 698s # random seed: R02S2fa3545caec471523789ca19f5c3729a 698s 1..29 698s # Start of type tests 698s ok 1 /type/fundamentals 698s ok 2 /type/qdata 698s ok 3 /type/query 698s ok 4 /type/class-private 698s # End of type tests 698s # Start of object tests 698s ok 5 /object/clear 698s ok 6 /object/clear-function 698s ok 7 /object/set 698s ok 8 /object/set-function 698s ok 9 /object/value 698s ok 10 /object/initially-unowned 698s ok 11 /object/weak-pointer 698s ok 12 /object/weak-ref 698s ok 13 /object/toggle-ref 698s ok 14 /object/qdata 698s ok 15 /object/qdata2 698s # Start of set tests 698s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 698s ok 16 /object/set/derived-type 698s # End of set tests 698s # Start of weak-pointer tests 698s ok 17 /object/weak-pointer/clear 698s ok 18 /object/weak-pointer/clear-function 698s ok 19 /object/weak-pointer/set 698s ok 20 /object/weak-pointer/set-function 698s # End of weak-pointer tests 698s # Start of weak-ref tests 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 698s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 698s ok 21 /object/weak-ref/on-dispose 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 698s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 698s ok 22 /object/weak-ref/on-run-dispose 698s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 698s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 698s ok 23 /object/weak-ref/on-toggle-notify 698s ok 24 /object/weak-ref/in-toggle-notify 698s ok 25 /object/weak-ref/many 698s # Start of concurrent tests 702s # Executing: glib/reference.test 706s ok 26 /object/weak-ref/concurrent/0 706s # slow test /object/weak-ref/concurrent/0 executed in 7.68 secs 707s # Executing: glib/reference.test 712s # Executing: glib/reference.test 714s ok 27 /object/weak-ref/concurrent/1 714s # slow test /object/weak-ref/concurrent/1 executed in 8.22 secs 714s # End of concurrent tests 714s # End of weak-ref tests 714s # Start of toggle-ref tests 714s ok 28 /object/toggle-ref/ref-on-dispose 714s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 714s # End of toggle-ref tests 714s # End of object tests 714s ok - glib/reference.test 714s # Running test: glib/io-stream.test 714s TAP version 13 714s # random seed: R02S78fcc9de996a31261a6af6cf9d170794 714s 1..3 714s # Start of io-stream tests 714s ok 1 /io-stream/copy-chunks 714s # Start of close tests 714s # Start of async tests 714s ok 2 /io-stream/close/async/memory 714s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 714s ok 3 /io-stream/close/async/file 714s # End of async tests 714s # End of close tests 714s # End of io-stream tests 714s ok - glib/io-stream.test 714s # Running test: glib/base64.test 714s TAP version 13 714s # random seed: R02S79816e5df28a7509c18483c7da4450a1 714s 1..28 714s # Start of base64 tests 714s ok 1 /base64/encode 714s ok 2 /base64/decode 714s ok 3 /base64/decode-inplace 714s ok 4 /base64/encode-decode 714s # Start of full tests 714s ok 5 /base64/full/1 714s ok 6 /base64/full/2 714s ok 7 /base64/full/3 714s ok 8 /base64/full/4 714s # End of full tests 714s # Start of encode tests 714s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 714s ok 9 /base64/encode/empty 714s # Start of incremental tests 714s # Start of small-block tests 714s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 714s ok 10 /base64/encode/incremental/small-block/1 714s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 714s ok 11 /base64/encode/incremental/small-block/2 714s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 714s ok 12 /base64/encode/incremental/small-block/3 714s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 714s ok 13 /base64/encode/incremental/small-block/4 714s # End of small-block tests 714s # End of incremental tests 714s # End of encode tests 714s # Start of incremental tests 714s # Start of nobreak tests 714s ok 14 /base64/incremental/nobreak/1 714s ok 15 /base64/incremental/nobreak/2 714s ok 16 /base64/incremental/nobreak/3 714s ok 17 /base64/incremental/nobreak/4-a 714s ok 18 /base64/incremental/nobreak/4-b 714s ok 19 /base64/incremental/nobreak/4-c 714s # End of nobreak tests 714s # Start of break tests 714s ok 20 /base64/incremental/break/1 714s ok 21 /base64/incremental/break/2 714s ok 22 /base64/incremental/break/3 714s # End of break tests 714s # Start of smallblock tests 714s ok 23 /base64/incremental/smallblock/1 714s ok 24 /base64/incremental/smallblock/2 714s ok 25 /base64/incremental/smallblock/3 714s ok 26 /base64/incremental/smallblock/4 714s # End of smallblock tests 714s # End of incremental tests 714s # Start of decode tests 714s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 714s ok 27 /base64/decode/empty 714s # End of decode tests 714s # Start of encode-decode tests 714s # Vector 0: 714s # Vector 1: f 714s # Vector 2: fo 714s # Vector 3: foo 714s # Vector 4: foob 714s # Vector 5: fooba 714s # Vector 6: foobar 714s ok 28 /base64/encode-decode/rfc4648 714s # End of encode-decode tests 714s # End of base64 tests 714s ok - glib/base64.test 714s # Running test: glib/completion.test 714s TAP version 13 714s # random seed: R02S0e534db570766c4080443e941d3256fb 714s 1..1 714s # Start of completion tests 714s ok 1 /completion/test-completion 714s # End of completion tests 714s ok - glib/completion.test 714s # Running test: glib/portal-support-flatpak-none.test 714s TAP version 13 714s # random seed: R02S7fc7c4f7cbdf07198e78bca24303da97 714s 1..1 714s # Start of portal-support tests 714s # Start of flatpak tests 714s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_D7FIK2/portal-support/flatpak/none/.dirs/home 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_D7FIK2/portal-support/flatpak/none/.dirs/cache 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_D7FIK2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_D7FIK2/portal-support/flatpak/none/.dirs/system-config2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_D7FIK2/portal-support/flatpak/none/.dirs/config 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_D7FIK2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_D7FIK2/portal-support/flatpak/none/.dirs/system-data2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_D7FIK2/portal-support/flatpak/none/.dirs/data 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_D7FIK2/portal-support/flatpak/none/.dirs/state 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_D7FIK2/portal-support/flatpak/none/.dirs/runtime 714s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_D7FIK2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 714s ok 1 /portal-support/flatpak/none 714s # End of flatpak tests 714s # End of portal-support tests 714s ok - glib/portal-support-flatpak-none.test 714s # Running test: glib/throws.test 714s TAP version 13 714s # random seed: R02S7c78968fb8828e712e2685599f33f164 714s 1..3 714s # Start of throws tests 714s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_PIKIK2/throws/invoke-gerror/.dirs/home 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_PIKIK2/throws/invoke-gerror/.dirs/cache 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_PIKIK2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_PIKIK2/throws/invoke-gerror/.dirs/system-config2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_PIKIK2/throws/invoke-gerror/.dirs/config 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_PIKIK2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_PIKIK2/throws/invoke-gerror/.dirs/system-data2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_PIKIK2/throws/invoke-gerror/.dirs/data 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_PIKIK2/throws/invoke-gerror/.dirs/state 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_PIKIK2/throws/invoke-gerror/.dirs/runtime 714s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 714s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 714s ok 1 /throws/invoke-gerror 714s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_PIKIK2/throws/vfunc-can-throw-gerror/.dirs/home 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_PIKIK2/throws/vfunc-can-throw-gerror/.dirs/cache 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_PIKIK2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_PIKIK2/throws/vfunc-can-throw-gerror/.dirs/system-config2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_PIKIK2/throws/vfunc-can-throw-gerror/.dirs/config 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_PIKIK2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_PIKIK2/throws/vfunc-can-throw-gerror/.dirs/system-data2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_PIKIK2/throws/vfunc-can-throw-gerror/.dirs/data 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_PIKIK2/throws/vfunc-can-throw-gerror/.dirs/state 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_PIKIK2/throws/vfunc-can-throw-gerror/.dirs/runtime 714s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 714s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 714s ok 2 /throws/vfunc-can-throw-gerror 714s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_PIKIK2/throws/callback-can-throw-gerror/.dirs/home 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_PIKIK2/throws/callback-can-throw-gerror/.dirs/cache 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_PIKIK2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_PIKIK2/throws/callback-can-throw-gerror/.dirs/system-config2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_PIKIK2/throws/callback-can-throw-gerror/.dirs/config 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_PIKIK2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_PIKIK2/throws/callback-can-throw-gerror/.dirs/system-data2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_PIKIK2/throws/callback-can-throw-gerror/.dirs/data 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_PIKIK2/throws/callback-can-throw-gerror/.dirs/state 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_PIKIK2/throws/callback-can-throw-gerror/.dirs/runtime 714s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 714s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 714s ok 3 /throws/callback-can-throw-gerror 714s # End of throws tests 714s ok - glib/throws.test 714s # Running test: glib/g-file-info.test 714s TAP version 13 714s # random seed: R02Sf96594fe4387e92ef80df0d3340df3ed 714s 1..6 714s # Start of g-file-info tests 714s ok 1 /g-file-info/test_g_file_info 714s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 714s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 714s ok 2 /g-file-info/xattrs 714s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 714s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 714s ok 3 /g-file-info/set-modified-date-time-precision 714s # Start of test_g_file_info tests 714s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 714s ok 4 /g-file-info/test_g_file_info/modification-time 714s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 714s ok 5 /g-file-info/test_g_file_info/access-time 714s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 714s ok 6 /g-file-info/test_g_file_info/creation-time 714s # End of test_g_file_info tests 714s # End of g-file-info tests 714s ok - glib/g-file-info.test 714s # Running test: glib/singleton.test 714s TAP version 13 714s # random seed: R02Sa10045616d350bf03a99d3254eec0ac0 714s 1..2 714s # Start of gobject tests 714s # Start of singleton tests 714s ok 1 /gobject/singleton/construction 714s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 714s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 714s ok 2 /gobject/singleton/construct-property 714s # End of singleton tests 714s # End of gobject tests 714s ok - glib/singleton.test 714s # Running test: glib/gdbus-method-invocation.test 714s TAP version 13 714s # random seed: R02S44350a203e1187d223671fda16523616 714s 1..1 714s # Start of gdbus tests 714s # Start of method-invocation tests 714s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_KLTIK2/gdbus/method-invocation/return/.dirs/home 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_KLTIK2/gdbus/method-invocation/return/.dirs/cache 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_KLTIK2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_KLTIK2/gdbus/method-invocation/return/.dirs/system-config2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_KLTIK2/gdbus/method-invocation/return/.dirs/config 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_KLTIK2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_KLTIK2/gdbus/method-invocation/return/.dirs/system-data2 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_KLTIK2/gdbus/method-invocation/return/.dirs/data 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_KLTIK2/gdbus/method-invocation/return/.dirs/state 714s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_KLTIK2/gdbus/method-invocation/return/.dirs/runtime 714s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 714s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 714s # Calling org.freedesktop.DBus.Properties.Get 714s # Calling org.freedesktop.DBus.Properties.Get 714s # Calling org.freedesktop.DBus.Properties.Get 714s # Calling org.freedesktop.DBus.Properties.Set 714s # Calling org.freedesktop.DBus.Properties.GetAll 714s # Calling org.example.Foo.WrongReturnType 714s # Calling org.example.Foo.GetFDs 714s # Calling org.example.Foo.GetFDs 714s # Calling org.example.Foo.ReturnError 714s # Calling org.example.Foo.CloseBeforeReturning 714s ok 1 /gdbus/method-invocation/return 714s # End of method-invocation tests 714s # End of gdbus tests 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 714s ok - glib/gdbus-method-invocation.test 714s # Running test: glib/tls-certificate.test 714s TAP version 13 714s # random seed: R02Sa4dd4cada138beedb48444a05e2179d8 714s 1..19 714s # Start of tls-certificate tests 714s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 714s ok 1 /tls-certificate/pem-parser 714s ok 2 /tls-certificate/pem-parser-handles-chain 714s ok 3 /tls-certificate/from_file 714s ok 4 /tls-certificate/from_files 714s ok 5 /tls-certificate/from_files_crlf 714s ok 6 /tls-certificate/from_files_pkcs8 714s ok 7 /tls-certificate/from_files_pkcs8enc 714s ok 8 /tls-certificate/list_from_file 714s ok 9 /tls-certificate/pkcs11-uri 714s ok 10 /tls-certificate/pkcs11-uri-unsupported 714s ok 11 /tls-certificate/from_pkcs12 714s ok 12 /tls-certificate/from_pkcs12_file 714s ok 13 /tls-certificate/not-valid-before 714s ok 14 /tls-certificate/not-valid-after 714s ok 15 /tls-certificate/subject-name 714s ok 16 /tls-certificate/issuer-name 714s ok 17 /tls-certificate/dns-names 714s ok 18 /tls-certificate/ip-addresses 714s ok 19 /tls-certificate/pem-parser-no-sentinel 714s # End of tls-certificate tests 714s ok - glib/tls-certificate.test 714s # Running test: glib/gvariant.test 714s TAP version 13 714s # random seed: R02S62dd8ab46b290fca22eac1f20a7f3204 714s 1..64 714s # Start of gvariant tests 714s ok 1 /gvariant/type 715s ok 2 /gvariant/typeinfo 715s ok 3 /gvariant/string 715s ok 4 /gvariant/utf8 715s ok 5 /gvariant/containers 715s ok 6 /gvariant/format-strings 715s ok 7 /gvariant/invalid-varargs 715s ok 8 /gvariant/varargs 715s ok 9 /gvariant/valist 715s ok 10 /gvariant/builder-memory 715s ok 11 /gvariant/hashing 715s ok 12 /gvariant/byteswap 715s ok 13 /gvariant/parser 715s ok 14 /gvariant/parse-failures 715s ok 15 /gvariant/parse-positional 715s ok 16 /gvariant/floating 715s ok 17 /gvariant/bytestring 715s ok 18 /gvariant/lookup-value 715s ok 19 /gvariant/lookup 715s ok 20 /gvariant/compare 715s ok 21 /gvariant/equal 715s ok 22 /gvariant/fixed-array 715s ok 23 /gvariant/check-format-string 715s ok 24 /gvariant/checksum-basic 715s ok 25 /gvariant/checksum-nested 715s ok 26 /gvariant/gbytes 715s ok 27 /gvariant/print-context 715s ok 28 /gvariant/error-quark 715s ok 29 /gvariant/stack-builder-init 715s ok 30 /gvariant/stack-dict-init 715s ok 31 /gvariant/unaligned-construction 715s # Start of type tests 715s # Start of string-scan tests 715s # Start of recursion tests 715s ok 32 /gvariant/type/string-scan/recursion/tuple 715s ok 33 /gvariant/type/string-scan/recursion/array 715s # End of recursion tests 715s # End of string-scan tests 715s # End of type tests 715s # Start of serialiser tests 715s ok 34 /gvariant/serialiser/maybe 716s ok 35 /gvariant/serialiser/array 716s ok 36 /gvariant/serialiser/tuple 716s ok 37 /gvariant/serialiser/variant 716s ok 38 /gvariant/serialiser/strings 716s ok 39 /gvariant/serialiser/byteswap 716s # slow test /gvariant/serialiser/byteswap executed in 0.57 secs 716s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 716s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 716s ok 40 /gvariant/serialiser/children 716s # Start of fuzz tests 717s ok 41 /gvariant/serialiser/fuzz/1% 717s # Executing: glib/gvariant.test 717s ok 42 /gvariant/serialiser/fuzz/5% 718s ok 43 /gvariant/serialiser/fuzz/9% 718s # slow test /gvariant/serialiser/fuzz/9% executed in 0.75 secs 721s ok 44 /gvariant/serialiser/fuzz/13% 721s # slow test /gvariant/serialiser/fuzz/13% executed in 3.37 secs 721s ok 45 /gvariant/serialiser/fuzz/17% 721s # End of fuzz tests 721s # End of serialiser tests 721s # Start of varargs tests 721s # Start of subprocess tests 721s # End of subprocess tests 721s # End of varargs tests 721s # Start of byteswap tests 721s # /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. 721s ok 46 /gvariant/byteswap/non-normal-non-aligned 721s # End of byteswap tests 721s # Start of parser tests 721s ok 47 /gvariant/parser/integer-bounds 721s ok 48 /gvariant/parser/recursion 721s # Start of recursion tests 721s ok 49 /gvariant/parser/recursion/typedecls 721s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 721s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 721s # Text form 0: @mmmu 5 721s # Text form 1: @mmmas ['hello'] 721s # Text form 2: @mmmu just just nothing 721s # Text form 3: @mmmas just just nothing 721s # Text form 4: @mmmu just nothing 721s # Text form 5: @mmmas just nothing 721s # Text form 6: @mmmu nothing 721s # Text form 7: @mmmas nothing 721s ok 50 /gvariant/parser/recursion/maybes 721s # End of recursion tests 721s # End of parser tests 721s # Start of parse tests 721s # Start of subprocess tests 721s # End of subprocess tests 721s # End of parse tests 721s # Start of normal-checking tests 721s ok 51 /gvariant/normal-checking/tuples 721s ok 52 /gvariant/normal-checking/array-offsets 721s ok 53 /gvariant/normal-checking/array-offsets2 721s ok 54 /gvariant/normal-checking/tuple-offsets 721s ok 55 /gvariant/normal-checking/tuple-offsets2 721s ok 56 /gvariant/normal-checking/tuple-offsets3 721s ok 57 /gvariant/normal-checking/tuple-offsets4 721s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 721s ok 58 /gvariant/normal-checking/tuple-offsets5 721s ok 59 /gvariant/normal-checking/empty-object-path 721s # Start of array-offsets tests 721s ok 60 /gvariant/normal-checking/array-offsets/overlapped 721s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 721s # End of array-offsets tests 721s # Start of tuple-offsets tests 721s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 721s # End of tuple-offsets tests 721s # End of normal-checking tests 721s # Start of recursion-limits tests 721s ok 63 /gvariant/recursion-limits/variant-in-variant 721s ok 64 /gvariant/recursion-limits/array-in-variant 721s # End of recursion-limits tests 721s # End of gvariant tests 721s ok - glib/gvariant.test 721s # Running test: glib/performance.test 721s Running test simple-construction 722s # Executing: glib/performance.test 727s # Executing: glib/performance.test 727s Millions of constructed objects per second: 15.958 727s Running test simple-construction1 729s Millions of constructed objects per second: 59.586 729s Running test complex-construction 732s # Executing: glib/performance.test 733s Millions of constructed objects per second: 6.280 733s Running test complex-construction1 741s # Executing: glib/performance.test 741s Millions of constructed objects per second: 10.960 741s Running test complex-construction2 742s # Executing: glib/performance.test 743s Millions of constructed objects per second: 12.319 743s Running test finalization 745s Millions of finalized objects per second: 3.195 745s Running test type-check 745s Million type checks per second: inf 745s Running test emit-unhandled 746s Emissions per second: 6289942 746s Running test emit-unhandled-empty 747s Emissions per second: 42409991 747s Running test emit-unhandled-generic 747s # Executing: glib/performance.test 748s Emissions per second: 10308934 748s Running test emit-unhandled-generic-empty 749s Emissions per second: 42067797 749s Running test emit-unhandled-args 750s Emissions per second: 5256009 750s Running test emit-handled 753s Emissions per second: 4107627 753s Running test emit-handled-empty 753s # Executing: glib/performance.test 753s Emissions per second: 4575072 753s Running test emit-handled-generic 754s Emissions per second: 4501527 754s Running test emit-handled-generic-empty 755s Emissions per second: 8471161 755s Running test emit-handled-args 756s Emissions per second: 3877860 756s Running test notify-unhandled 757s # Executing: glib/performance.test 757s Notify (unhandled) per second: 25671828 757s Running test notify-by-pspec-unhandled 758s Notify (unhandled) per second: 88000497 758s Running test notify-handled 759s Notify per second: 2372662 759s Running test notify-by-pspec-handled 761s Notify per second: 2537702 761s Running test property-set 762s Property set per second: 11357946 762s Running test property-get 762s # Executing: glib/performance.test 763s Property get per second: 10525560 763s Running test refcount 765s Million refs+unref per second: 32.96 765s ok - glib/performance.test 765s # Running test: glib/mapping.test 765s TAP version 13 765s # random seed: R02S93109bc93b55905a4d945288939c6a2c 765s 1..3 765s # Start of mapping tests 765s # test_mapping: ok 765s ok 1 /mapping/flags 765s ok 2 /mapping/private 765s # test_child_private: child spawned 765s # Subtest: /usr/libexec/installed-tests/glib/mapping 765s # # random seed: R02S5a733b36d1cd0f6ccb5b68792e3e5ff4 765s # test_child_private: received first child signal 765s # # test_child_private: received parent signal 765s # test_child_private: received second child signal 765s ok 3 /mapping/private-child 765s # End of mapping tests 765s ok - glib/mapping.test 765s # Running test: glib/refcount-macro.test 765s TAP version 13 765s # random seed: R02S74681770262fd8c337013636e6bfbc5e 765s 1..4 765s # Start of refcount tests 765s ok 1 /refcount/grefcount 765s ok 2 /refcount/gatomicrefcount 765s # Start of grefcount tests 765s ok 3 /refcount/grefcount/saturation 765s # End of grefcount tests 765s # Start of gatomicrefcount tests 765s ok 4 /refcount/gatomicrefcount/saturation 765s # End of gatomicrefcount tests 765s # End of refcount tests 765s ok - glib/refcount-macro.test 765s # Running test: glib/module-test-library.test 765s TAP version 13 765s # random seed: R02S39d0fbe02777f01109a5cfe939361ae7 765s 1..2 765s # Start of module tests 765s ok 1 /module/basics 765s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 765s ok 2 /module/invalid-libtool-archive 765s # End of module tests 765s ok - glib/module-test-library.test 765s # Running test: glib/memory-output-stream.test 765s TAP version 13 765s # random seed: R02Sb9693e3c63c925a6118b41c41c3b15a4 765s 1..10 765s # Start of memory-output-stream tests 765s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 765s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 765s ok 1 /memory-output-stream/truncate 765s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 765s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 765s ok 2 /memory-output-stream/get-data-size 765s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 765s ok 3 /memory-output-stream/properties 765s ok 4 /memory-output-stream/write-bytes 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 765s ok 5 /memory-output-stream/write-null 765s ok 6 /memory-output-stream/writev 765s ok 7 /memory-output-stream/writev_nonblocking 765s ok 8 /memory-output-stream/steal_as_bytes 765s # Start of seek tests 765s ok 9 /memory-output-stream/seek/fixed 765s ok 10 /memory-output-stream/seek/resizable 765s # End of seek tests 765s # End of memory-output-stream tests 765s ok - glib/memory-output-stream.test 765s # Running test: glib/portal-support-flatpak-gsettings-only.test 765s TAP version 13 765s # random seed: R02S7a2f3615ecb02bb6ea1bc9911f657a0b 765s 1..1 765s # Start of portal-support tests 765s # Start of flatpak tests 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_YTFVK2/portal-support/flatpak/gsettings/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_YTFVK2/portal-support/flatpak/gsettings/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_YTFVK2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_YTFVK2/portal-support/flatpak/gsettings/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_YTFVK2/portal-support/flatpak/gsettings/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_YTFVK2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_YTFVK2/portal-support/flatpak/gsettings/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_YTFVK2/portal-support/flatpak/gsettings/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_YTFVK2/portal-support/flatpak/gsettings/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_YTFVK2/portal-support/flatpak/gsettings/.dirs/runtime 765s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_YTFVK2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 765s ok 1 /portal-support/flatpak/gsettings 765s # End of flatpak tests 765s # End of portal-support tests 765s ok - glib/portal-support-flatpak-gsettings-only.test 765s # Running test: glib/fdo-notification-backend.test 765s TAP version 13 765s # random seed: R02S6b3cd490f3b9c0d2d574ebb0ab4cb9d2 765s 1..2 765s # Start of fdo-notification-backend tests 765s # Test constructing a GFdoNotificationBackend 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s ok 1 /fdo-notification-backend/construction 765s # Start of dbus tests 765s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s ok 2 /fdo-notification-backend/dbus/activate-action 765s # End of dbus tests 765s # End of fdo-notification-backend tests 765s ok - glib/fdo-notification-backend.test 765s # Running test: glib/error.test 765s TAP version 13 765s # random seed: R02S4c6aab5d00886eb9723a1bcef49ec20a 765s 1..3 765s # Start of error tests 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_DM7VK2/error/from-errno/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_DM7VK2/error/from-errno/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_DM7VK2/error/from-errno/.dirs/system-config1:/tmp/test_error_DM7VK2/error/from-errno/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_DM7VK2/error/from-errno/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_DM7VK2/error/from-errno/.dirs/system-data1:/tmp/test_error_DM7VK2/error/from-errno/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_DM7VK2/error/from-errno/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_DM7VK2/error/from-errno/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_DM7VK2/error/from-errno/.dirs/runtime 765s ok 1 /error/from-errno 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_DM7VK2/error/from-file-error/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_DM7VK2/error/from-file-error/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_DM7VK2/error/from-file-error/.dirs/system-config1:/tmp/test_error_DM7VK2/error/from-file-error/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_DM7VK2/error/from-file-error/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_DM7VK2/error/from-file-error/.dirs/system-data1:/tmp/test_error_DM7VK2/error/from-file-error/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_DM7VK2/error/from-file-error/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_DM7VK2/error/from-file-error/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_DM7VK2/error/from-file-error/.dirs/runtime 765s ok 2 /error/from-file-error 765s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_DM7VK2/error/from-win32-error/.dirs/home 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_DM7VK2/error/from-win32-error/.dirs/cache 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_DM7VK2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_DM7VK2/error/from-win32-error/.dirs/system-config2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_DM7VK2/error/from-win32-error/.dirs/config 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_DM7VK2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_DM7VK2/error/from-win32-error/.dirs/system-data2 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_DM7VK2/error/from-win32-error/.dirs/data 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_DM7VK2/error/from-win32-error/.dirs/state 765s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_DM7VK2/error/from-win32-error/.dirs/runtime 765s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 765s # End of error tests 765s ok - glib/error.test 765s # Running test: glib/list.test 765s TAP version 13 765s # random seed: R02Sbca2669847578fa995cafd9ab2052fb8 765s 1..20 765s # Start of list tests 765s ok 1 /list/sort 765s ok 2 /list/sort-with-data 765s ok 3 /list/insert-before-link 765s ok 4 /list/insert-sorted 765s ok 5 /list/insert-sorted-with-data 765s ok 6 /list/reverse 765s ok 7 /list/nth 765s ok 8 /list/concat 765s ok 9 /list/remove 765s ok 10 /list/remove-all 765s ok 11 /list/first-last 765s ok 12 /list/insert 765s ok 13 /list/free-full 765s ok 14 /list/copy 765s ok 15 /list/copy-deep 765s ok 16 /list/delete-link 765s ok 17 /list/prepend 765s ok 18 /list/position 765s ok 19 /list/double-free 765s # Start of sort tests 765s ok 20 /list/sort/stable 765s # End of sort tests 765s # End of list tests 765s ok - glib/list.test 765s # Running test: glib/gapplication.test 765s TAP version 13 765s # random seed: R02Sdfda76447f5a02aa6b37f7c753fff4f0 765s 1..24 765s # Start of gapplication tests 765s ok 1 /gapplication/no-dbus 765s ok 2 /gapplication/no-appid 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s ok 3 /gapplication/properties 765s ok 4 /gapplication/app-id 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s ok 5 /gapplication/quit 765s ok 6 /gapplication/registered 765s ok 7 /gapplication/local-actions 765s ok 8 /gapplication/local-command-line 765s ok 9 /gapplication/resource-path 765s ok 10 /gapplication/test-help 765s ok 11 /gapplication/command-line-done 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s ok 12 /gapplication/test-busy 765s ok 13 /gapplication/test-handle-local-options1 765s ok 14 /gapplication/test-handle-local-options2 765s ok 15 /gapplication/test-handle-local-options3 765s ok 16 /gapplication/api 765s ok 17 /gapplication/version 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # launching subprocess 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s ok 18 /gapplication/replace 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # launching subprocess 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s ok 19 /gapplication/no-replace 765s # slow test /gapplication/no-replace executed in 0.51 secs 765s # Start of dbus tests 765s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 765s # Message 0 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # Message 1 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # Message 2 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s ok 20 /gapplication/dbus/activate 765s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 765s # Message 0 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 765s # Message 1 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # Message 2 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # Message 3 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s ok 21 /gapplication/dbus/open 765s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 765s # Message 0 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # Message 1 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # Message 2 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s ok 22 /gapplication/dbus/command-line 765s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s ok 23 /gapplication/dbus/command-line-done 765s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 765s # Message 0 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # Message 1 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # Message 2 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # Message 3 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # Message 4 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # Message 5 765s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 765s ok 24 /gapplication/dbus/activate-action 765s # End of dbus tests 765s # End of gapplication tests 765s ok - glib/gapplication.test 765s # Running test: glib/markup.test 765s TAP version 13 765s # random seed: R02S2e20afbcf3574cff814de19822e2e683 765s 1..1 765s # Start of markup tests 765s ok 1 /markup/stack 765s # End of markup tests 765s ok - glib/markup.test 765s # Running test: glib/autoptr.test 765s TAP version 13 765s # random seed: R02S8fd85a0b2c36fb17812f174e55478ca4 765s 1..6 765s # Start of autoptr tests 765s ok 1 /autoptr/autoptr 765s ok 2 /autoptr/autoptr_steal 765s ok 3 /autoptr/autolist 765s ok 4 /autoptr/autoslist 765s ok 5 /autoptr/autoqueue 765s ok 6 /autoptr/autoclass 765s # End of autoptr tests 765s ok - glib/autoptr.test 765s # Running test: glib/signalgroup.test 765s TAP version 13 765s # random seed: R02S6dfb5a2e7f0ebf3a5a48ae896f4667cd 765s 1..9 765s # Start of GObject tests 765s # Start of SignalGroup tests 765s ok 1 /GObject/SignalGroup/invalid 765s ok 2 /GObject/SignalGroup/simple 765s ok 3 /GObject/SignalGroup/changing-target 765s ok 4 /GObject/SignalGroup/blocking 765s ok 5 /GObject/SignalGroup/weak-ref-target 765s ok 6 /GObject/SignalGroup/connect-object 765s ok 7 /GObject/SignalGroup/signal-parsing 765s ok 8 /GObject/SignalGroup/properties 765s ok 9 /GObject/SignalGroup/interface 765s # Start of signal-parsing tests 765s # End of signal-parsing tests 765s # End of SignalGroup tests 765s # End of GObject tests 765s ok - glib/signalgroup.test 765s # Running test: glib/hash.test 765s TAP version 13 765s # random seed: R02Sbde79337a5d37ea9e27d073e86541a74 765s 1..34 765s # Start of hash tests 765s ok 1 /hash/misc 765s ok 2 /hash/one 765s ok 3 /hash/honeyman 765s ok 4 /hash/direct 765s ok 5 /hash/direct2 765s ok 6 /hash/int 765s ok 7 /hash/int64 765s ok 8 /hash/double 765s ok 9 /hash/string 765s ok 10 /hash/set 765s ok 11 /hash/set-ref 765s ok 12 /hash/ref 765s ok 13 /hash/remove-all 765s ok 14 /hash/recursive-remove-all 765s ok 15 /hash/find 765s ok 16 /hash/foreach 765s ok 17 /hash/foreach-steal 765s ok 18 /hash/steal-extended 765s ok 19 /hash/steal-all-keys 765s ok 20 /hash/steal-all-values 765s ok 21 /hash/lookup-extended 765s ok 22 /hash/new-similar 765s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 765s ok 23 /hash/lookup-null-key 765s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 765s ok 24 /hash/destroy-modify 765s ok 25 /hash/consistency 765s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 765s ok 26 /hash/iter-replace 765s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 765s ok 27 /hash/set-insert-corruption 765s ok 28 /hash/set-to-strv 765s ok 29 /hash/get-keys-as-ptr-array 765s ok 30 /hash/get-values-as-ptr-array 765s ok 31 /hash/primes 765s # Start of int64 tests 765s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 765s ok 32 /hash/int64/collisions 765s # End of int64 tests 765s # Start of double tests 765s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 765s ok 33 /hash/double/collisions 765s # End of double tests 765s # Start of recursive-remove-all tests 765s # End of recursive-remove-all tests 765s # Start of steal-extended tests 765s ok 34 /hash/steal-extended/optional 765s # End of steal-extended tests 765s # End of hash tests 765s ok - glib/hash.test 765s # Running test: glib/utils.test 765s TAP version 13 765s # random seed: R02S2477a555bf82f1a549f6aff65b81c48e 765s 1..40 765s # Start of utils tests 765s ok 1 /utils/language-names 765s ok 2 /utils/locale-variants 765s ok 3 /utils/version 765s ok 4 /utils/appname 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 765s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 765s ok 5 /utils/prgname-thread-safety 765s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 765s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 765s ok 6 /utils/tmpdir 765s ok 7 /utils/basic_bits 765s ok 8 /utils/bits 765s ok 9 /utils/swap 765s ok 10 /utils/find-program 765s ok 11 /utils/find-program-for-path 765s ok 12 /utils/debug 765s ok 13 /utils/codeset 765s ok 14 /utils/codeset2 765s ok 15 /utils/console-charset 765s ok 16 /utils/gettext 765s ok 17 /utils/username 765s ok 18 /utils/realname 765s ok 19 /utils/hostname 765s ok 20 /utils/xdgdirs 765s ok 21 /utils/specialdir 765s # NAME: Ubuntu 765s ok 22 /utils/os-info 765s ok 23 /utils/clear-pointer 765s ok 24 /utils/clear-pointer-cast 765s ok 25 /utils/take-pointer 765s ok 26 /utils/clear-source 765s ok 27 /utils/misc-mem 765s # /utils/aligned-mem summary: Aligned memory allocator 765s # Alignment must not be zero 765s # Alignment must be a power of two 765s # Alignment must be a multiple of sizeof(void*) 765s ok 28 /utils/aligned-mem 765s # /utils/free-sized summary: Check that g_free_sized() works 765s ok 29 /utils/free-sized 765s ok 30 /utils/nullify 765s ok 31 /utils/atexit 765s ok 32 /utils/check-setuid 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 765s ok 33 /utils/int-limits 765s ok 34 /utils/clear-list 765s ok 35 /utils/clear-slist 765s # Start of specialdir tests 765s ok 36 /utils/specialdir/desktop 765s # End of specialdir tests 765s # Start of clear-pointer tests 765s ok 37 /utils/clear-pointer/side-effects 765s # End of clear-pointer tests 765s # Start of aligned-mem tests 765s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 765s ok 38 /utils/aligned-mem/alignment 765s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 765s ok 39 /utils/aligned-mem/zeroed 765s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 765s ok 40 /utils/aligned-mem/free-sized 765s # Start of subprocess tests 765s # End of subprocess tests 765s # End of aligned-mem tests 765s # End of utils tests 765s ok - glib/utils.test 765s # Running test: glib/memory-input-stream.test 765s TAP version 13 765s # random seed: R02Sd3ca0249bea91423c8e148563955fb11 765s 1..6 765s # Start of memory-input-stream tests 765s ok 1 /memory-input-stream/read-chunks 765s ok 2 /memory-input-stream/async 765s ok 3 /memory-input-stream/seek 765s ok 4 /memory-input-stream/truncate 765s ok 5 /memory-input-stream/read-bytes 765s ok 6 /memory-input-stream/from-bytes 765s # End of memory-input-stream tests 765s ok - glib/memory-input-stream.test 765s # Running test: glib/test-printf.test 765s TAP version 13 765s # random seed: R02Sf968274d5f11b8fe1302aaac49f3ae0c 765s 1..22 765s # Start of snprintf tests 765s ok 1 /snprintf/retval-and-trunc 765s ok 2 /snprintf/%d 765s ok 3 /snprintf/%d-invalid 765s ok 4 /snprintf/%o 765s ok 5 /snprintf/%u 765s ok 6 /snprintf/%x 765s ok 7 /snprintf/%X 765s ok 8 /snprintf/%f 765s ok 9 /snprintf/%e 765s ok 10 /snprintf/%c 765s ok 11 /snprintf/%s 765s ok 12 /snprintf/%n 765s ok 13 /snprintf/test-percent 765s ok 14 /snprintf/test-positional-params 765s ok 15 /snprintf/test-64bit 765s # End of snprintf tests 765s # Start of printf tests 765s ok 16 /printf/test-percent 765s ok 17 /printf/test-positional-params 765s ok 18 /printf/test-64bit 765s # Start of test-64bit tests 765s # Start of subprocess tests 765s # End of subprocess tests 765s # End of test-64bit tests 765s # End of printf tests 765s # Start of sprintf tests 765s ok 19 /sprintf/test-positional-params 765s ok 20 /sprintf/upper-bound 765s # End of sprintf tests 765s # Start of vasprintf tests 765s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 765s ok 21 /vasprintf/invalid-format-placeholder 765s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 765s ok 22 /vasprintf/invalid-wide-string 765s # End of vasprintf tests 765s ok - glib/test-printf.test 765s # Running test: glib/mappedfile.test 765s TAP version 13 765s # random seed: R02S411e2d5c7ad89ccde49bff187f55bf24 765s 1..7 765s # Start of mappedfile tests 765s ok 1 /mappedfile/basic 765s ok 2 /mappedfile/empty 765s ok 3 /mappedfile/device 765s ok 4 /mappedfile/nonexisting 765s ok 5 /mappedfile/writable 765s ok 6 /mappedfile/writable_fd 765s ok 7 /mappedfile/gbytes 765s # End of mappedfile tests 765s ok - glib/mappedfile.test 765s # Running test: glib/gsocketclient-slow.test 765s TAP version 13 765s # random seed: R02Sb6bcfa390263e6ee6f947a97386344ba 765s 1..3 765s # Start of socket-client tests 765s # Start of happy-eyeballs tests 765s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 765s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa39cfcad0 and GSocketClientAsyncConnectData 0x2aa39cf62a0 765s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 765s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 765s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa39cfe1e0 for GSocketClientAsyncConnectData 0x2aa39cf62a0 765s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 769s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 769s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 769s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 769s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 769s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 769s ok 1 /socket-client/happy-eyeballs/slow 769s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 769s # Start of cancellation tests 769s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa39d01900 and GSocketClientAsyncConnectData 0x2aa39cfd9f0 769s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 769s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 769s ok 2 /socket-client/happy-eyeballs/cancellation/instant 769s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa39d006f0 and GSocketClientAsyncConnectData 0x2aa39cf62a0 769s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 769s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 769s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa39d02550 for GSocketClientAsyncConnectData 0x2aa39cf62a0 769s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 769s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 769s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 769s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 769s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 769s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 769s ok 3 /socket-client/happy-eyeballs/cancellation/delayed 769s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 769s # End of cancellation tests 769s # End of happy-eyeballs tests 769s # End of socket-client tests 769s ok - glib/gsocketclient-slow.test 769s # Running test: glib/hook.test 769s TAP version 13 769s # random seed: R02S2fe84fdd8e82cb1310a235e7bedc1256 769s 1..2 769s # Start of hook tests 769s ok 1 /hook/basics 769s ok 2 /hook/corner-cases 769s # End of hook tests 769s ok - glib/hook.test 769s # Running test: glib/gobject-private.test 769s TAP version 13 769s # random seed: R02S6ce9ec5d68bf292cc32bbba9c6551047 769s 1..3 769s # Start of private tests 769s ok 1 /private/instance 769s ok 2 /private/derived-instance 769s ok 3 /private/mixed-derived-instance 769s # End of private tests 769s ok - glib/gobject-private.test 769s # Running test: glib/references.test 769s TAP version 13 769s # random seed: R02Se609fedf1bf474b57ede3c120d66112d 769s 1..1 769s # Start of gobject tests 769s ok 1 /gobject/references 769s # End of gobject tests 769s ok - glib/references.test 769s # Running test: glib/power-profile-monitor.test 769s TAP version 13 769s # random seed: R02Sc51327d5ff8fd8de795675fee9f51d59 769s 1..1 769s # Start of power-profile-monitor tests 769s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 769s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor 769s ok 1 /power-profile-monitor/default 769s # End of power-profile-monitor tests 769s ok - glib/power-profile-monitor.test 769s # Running test: glib/cancellable.test 769s TAP version 13 769s # random seed: R02S483531b0e3ef4e61a3a5315d062862cb 769s 1..10 769s # Start of cancellable tests 769s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 769s ok 2 /cancellable/null 769s # /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 769s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 769s # /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 769s ok 4 /cancellable/resets-on-cancel-callback-hangs 769s ok 5 /cancellable/poll-fd 769s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 769s ok 6 /cancellable/poll-fd-cancelled 769s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 769s # Executing: glib/cancellable.test 769s ok 7 /cancellable/poll-fd-cancelled-threaded 769s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 769s ok 8 /cancellable/cancel-reset-races 769s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 769s ok 9 /cancellable/cancel-reset-connect-races 769s # End of cancellable tests 769s # Start of cancellable-source tests 769s # /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) 769s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 769s ok 10 /cancellable-source/threaded-dispose 769s # End of cancellable-source tests 769s ok - glib/cancellable.test 769s # Running test: glib/param.test 769s TAP version 13 769s # random seed: R02S069e20b69f1cf6ff1fbf7d4630d0da59 769s 1..32 769s # Start of param tests 769s ok 1 /param/value 769s ok 2 /param/strings 769s ok 3 /param/qdata 769s ok 4 /param/validate 769s ok 5 /param/convert 769s ok 6 /param/implement # SKIP Skipping slow /param/implement test 769s ok 7 /param/default 769s ok 8 /param/is-valid-name 769s # Start of invalid-name tests 769s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 769s ok 9 /param/invalid-name/colon 769s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 769s ok 10 /param/invalid-name/first-char 769s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 769s ok 11 /param/invalid-name/empty 769s # End of invalid-name tests 769s # Start of implement tests 769s # Start of subprocess tests 769s # End of subprocess tests 769s # End of implement tests 769s # End of param tests 769s # Start of value tests 769s ok 12 /value/transform 769s # End of value tests 769s # Start of paramspec tests 769s ok 13 /paramspec/char 769s ok 14 /paramspec/uchar 769s ok 15 /paramspec/int 769s ok 16 /paramspec/uint 769s ok 17 /paramspec/long 769s ok 18 /paramspec/ulong 769s ok 19 /paramspec/int64 769s ok 20 /paramspec/uint64 769s ok 21 /paramspec/float 769s ok 22 /paramspec/double 769s ok 23 /paramspec/unichar 769s ok 24 /paramspec/param 769s ok 25 /paramspec/null-param 769s ok 26 /paramspec/string 769s ok 27 /paramspec/override 769s ok 28 /paramspec/gtype 769s ok 29 /paramspec/variant 769s ok 30 /paramspec/custom 769s ok 31 /paramspec/pool 769s # Start of variant tests 769s ok 32 /paramspec/variant/cmp 769s # End of variant tests 769s # End of paramspec tests 769s ok - glib/param.test 769s # Running test: glib/portal-support-flatpak-full.test 769s TAP version 13 769s # random seed: R02S9d1eaec5baa66c6c388b9e6e7ff32837 769s 1..1 769s # Start of portal-support tests 769s # Start of flatpak tests 769s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_LJ9UK2/portal-support/flatpak/full/.dirs/home 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_LJ9UK2/portal-support/flatpak/full/.dirs/cache 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_LJ9UK2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_LJ9UK2/portal-support/flatpak/full/.dirs/system-config2 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_LJ9UK2/portal-support/flatpak/full/.dirs/config 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_LJ9UK2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_LJ9UK2/portal-support/flatpak/full/.dirs/system-data2 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_LJ9UK2/portal-support/flatpak/full/.dirs/data 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_LJ9UK2/portal-support/flatpak/full/.dirs/state 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_LJ9UK2/portal-support/flatpak/full/.dirs/runtime 769s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_LJ9UK2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 769s ok 1 /portal-support/flatpak/full 769s # End of flatpak tests 769s # End of portal-support tests 769s ok - glib/portal-support-flatpak-full.test 769s # Running test: glib/credentials.test 769s TAP version 13 769s # random seed: R02S1bcb1dfc6a54f6a9ba5286362f41124e 769s 1..1 769s # Start of credentials tests 769s # GCredentials:linux-ucred:pid=6277,uid=1000,gid=1000 769s # GCredentials:linux-ucred:pid=6277,uid=0,gid=1000 769s ok 1 /credentials/basic 769s # End of credentials tests 769s ok - glib/credentials.test 769s # Running test: glib/objects-refcount1.test 769s TAP version 13 769s # random seed: R02Sdeb426f0cb09305f5406a197b2c40348 769s 1..1 769s # Start of gobject tests 769s # Start of refcount tests 769s # init 0x2aa0447d740 769s # 769s # init 0x2aa0447d8c0 769s # 772s # Executing: glib/objects-refcount1.test 773s # dispose 0x2aa0447d740! 773s # 773s # dispose 0x2aa0447d8c0! 773s # 773s ok 1 /gobject/refcount/object-basics 773s # slow test /gobject/refcount/object-basics executed in 5.00 secs 773s # End of refcount tests 773s # End of gobject tests 773s ok - glib/objects-refcount1.test 773s # Running test: glib/power-profile-monitor-portal.test 773s TAP version 13 773s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 773s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 773s 1..2 773s ok - glib/power-profile-monitor-portal.test 773s # Running test: glib/binding.test 773s TAP version 13 773s # random seed: R02Saa5239e10afb13042359f072212d6059 773s 1..19 773s # Start of binding tests 773s ok 1 /binding/default 773s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 773s ok 2 /binding/canonicalisation 773s ok 3 /binding/bidirectional 773s ok 4 /binding/transform 773s ok 5 /binding/transform-default 773s ok 6 /binding/transform-closure 773s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 773s ok 7 /binding/chain 773s ok 8 /binding/sync-create 773s ok 9 /binding/invert-boolean 773s ok 10 /binding/same-object 773s ok 11 /binding/unbind 773s ok 12 /binding/unbind-weak 773s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 773s ok 13 /binding/unbind-multiple 773s ok 14 /binding/fail 773s ok 15 /binding/interface 773s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 773s ok 16 /binding/concurrent-unbind 773s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 773s ok 17 /binding/concurrent-finalizing 773s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 773s ok 18 /binding/dispose-source 773s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 773s ok 19 /binding/dispose-target 773s # End of binding tests 773s ok - glib/binding.test 773s # Running test: glib/custom-dispatch.test 773s TAP version 13 773s # random seed: R02S4596f0a2d9f19a380a2a0266cf4a5a77 773s 1..2 773s # Start of properties tests 773s # Start of custom-dispatch tests 773s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 773s ok 1 /properties/custom-dispatch/init 773s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 773s ok 2 /properties/custom-dispatch/set 773s # End of custom-dispatch tests 773s # End of properties tests 773s ok - glib/custom-dispatch.test 773s # Running test: glib/win32-appinfo.test 773s TAP version 13 773s # random seed: R02S5f5cc2ee8b01eec4b63354fd93a1c075 773s 1..5 773s # Start of appinfo tests 773s ok 1 /appinfo/utf16-strfuncs 773s ok 2 /appinfo/win32-extract-executable 773s ok 3 /appinfo/win32-rundll32-fixup 773s ok 4 /appinfo/win32-parse-filename 773s ok 5 /appinfo/win32-utf16-conversion-fail 773s # Start of subprocess tests 773s # End of subprocess tests 773s # End of appinfo tests 773s ok - glib/win32-appinfo.test 773s # Running test: glib/mimeapps.test 773s TAP version 13 773s # random seed: R02Sf09e61aab93804ee84f0ed0b8e206b10 773s 1..7 773s # Start of appinfo tests 773s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/home 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/cache 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/system-config2 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/config 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/system-data2 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/data 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/state 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/runtime 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/system-data1/applications' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/data/applications' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/data/applications/myapp.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/data/applications/myapp2.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/data/applications/myapp3.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/data/applications/myapp4.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/data/applications/myapp5.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 773s # removing '/tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/data/applications/mimeapps.list' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 773s ok 1 /appinfo/all 773s # Start of mime tests 773s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/home 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/cache 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/system-config2 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/config 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/system-data2 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/data 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/state 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/runtime 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/system-data1/applications' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/data/applications' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 773s # removing '/tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/config 773s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_IUXKK2/appinfo/all/.dirs/config to /tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/config 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/config 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/config 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/config 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/config 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/config 773s ok 2 /appinfo/mime/api 773s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/home 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/cache 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/system-config2 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/config 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/system-data2 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/data 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/state 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/runtime 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/system-data1/applications' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/data/applications' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 773s # removing '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/config 773s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_IUXKK2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/config 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/config 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/config 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/config 773s ok 3 /appinfo/mime/default 773s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/home 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/cache 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/system-config2 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/config 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/system-data2 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/data 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/state 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/runtime 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/system-data1/applications' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/data/applications' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 773s # removing '/tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/config 773s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_IUXKK2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/config 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/config 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/config 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/config 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/config 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/config 773s ok 4 /appinfo/mime/file 773s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/home 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/cache 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/system-config2 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/config 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/system-data2 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/data 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/state 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/runtime 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/data/applications' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 773s # removing '/tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 773s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_IUXKK2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/config 773s ok 5 /appinfo/mime/scheme-handler 773s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/home 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/cache 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/system-config2 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/config 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/system-data2 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/data 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/state 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/runtime 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/data/applications' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 773s # removing '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/config 773s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_IUXKK2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/config 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/config 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/config 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/config 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/config 773s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/config 773s ok 6 /appinfo/mime/default-last-used 773s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/home 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/cache 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/config 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/data 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/state 773s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/runtime 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 773s # removing '/tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 773s # creating '/tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 773s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_IUXKK2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_IUXKK2/appinfo/mime/ignore-nonexisting/.dirs/config 773s ok 7 /appinfo/mime/ignore-nonexisting 773s # End of mime tests 773s # End of appinfo tests 773s ok - glib/mimeapps.test 773s # Running test: glib/null-settings-backend.test 773s TAP version 13 773s # random seed: R02Sfff124f3288a41eeecd906037031545e 773s 1..1 773s # Start of null-settings-backend tests 773s ok 1 /null-settings-backend/extension-point-registered 773s # End of null-settings-backend tests 773s ok - glib/null-settings-backend.test 773s # Running test: glib/debugcontroller.test 773s TAP version 13 773s # random seed: R02S88d0472c62f3a93061df6aaeefa8e153 773s 1..3 773s # Start of debug-controller tests 773s # Start of dbus tests 773s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 773s # GLib-GIO-DEBUG: Debug output enabled 773s # GLib-GIO-DEBUG: Debug output disabled 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s ok 1 /debug-controller/dbus/basic 773s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s ok 2 /debug-controller/dbus/duplicate 773s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 773s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 773s # End of dbus tests 773s # End of debug-controller tests 773s ok - glib/debugcontroller.test 773s # Running test: glib/contenttype.test 773s TAP version 13 773s # random seed: R02S26a071aaa810582124d59ef55dbb980c 773s 1..13 773s # Start of contenttype tests 773s ok 1 /contenttype/guess 773s ok 2 /contenttype/guess_svg_from_data 773s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 773s ok 4 /contenttype/unknown 773s ok 5 /contenttype/subtype 773s ok 6 /contenttype/list 773s ok 7 /contenttype/executable 773s ok 8 /contenttype/description 773s ok 9 /contenttype/icon 773s ok 10 /contenttype/symbolic-icon 773s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 773s ok 11 /contenttype/tree 773s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 773s ok 12 /contenttype/tree_invalid_encoding 773s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 773s ok 13 /contenttype/test_type_is_a_special_case 773s # End of contenttype tests 773s ok - glib/contenttype.test 773s # Running test: glib/overflow-fallback.test 773s TAP version 13 773s # random seed: R02S190ec44b9536a5975b0a01814b30aa3a 773s 1..6 773s # Start of glib tests 773s # Start of checked-math tests 773s ok 1 /glib/checked-math/guint-add 773s ok 2 /glib/checked-math/guint-mul 773s ok 3 /glib/checked-math/guint64-add 773s ok 4 /glib/checked-math/guint64-mul 773s ok 5 /glib/checked-math/gsize-add 773s ok 6 /glib/checked-math/gsize-mul 773s # End of checked-math tests 773s # End of glib tests 773s ok - glib/overflow-fallback.test 773s # Running test: glib/actions.test 773s TAP version 13 773s # random seed: R02S41b26b3ba43a506957f1afb30a178779 773s 1..12 773s # Start of actions tests 773s ok 1 /actions/basic 773s ok 2 /actions/name 773s ok 3 /actions/simplegroup 773s ok 4 /actions/stateful 773s ok 5 /actions/default-activate 773s ok 6 /actions/entries 773s ok 7 /actions/parse-detailed 773s ok 8 /actions/property 773s ok 9 /actions/no-properties 773s # Start of dbus tests 773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s ok 10 /actions/dbus/export 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 773s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 773s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s ok 11 /actions/dbus/threaded 774s # slow test /actions/dbus/threaded executed in 0.78 secs 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 774s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 774s ok 12 /actions/dbus/bug679509 774s # End of dbus tests 774s # End of actions tests 774s ok - glib/actions.test 774s # Running test: glib/strvbuilder.test 774s TAP version 13 774s # random seed: R02S5e23d0eff5245126b03f25e81f2ae458 774s 1..6 774s # Start of strvbuilder tests 774s ok 1 /strvbuilder/empty 774s ok 2 /strvbuilder/add 774s ok 3 /strvbuilder/addv 774s ok 4 /strvbuilder/add_many 774s ok 5 /strvbuilder/take 774s ok 6 /strvbuilder/ref 774s # End of strvbuilder tests 774s ok - glib/strvbuilder.test 774s # Running test: glib/atomic.test 774s TAP version 13 774s # random seed: R02S38e8112d3d18cec0b5884b0013b4930c 774s 1..2 774s # Start of atomic tests 774s ok 1 /atomic/types 774s ok 2 /atomic/threaded 774s # End of atomic tests 774s ok - glib/atomic.test 774s # Running test: glib/slice.test 774s TAP version 13 774s # random seed: R02S08778597cfdc8dfba939b740de6be57a 774s 1..3 774s # Start of slice tests 774s ok 1 /slice/copy 774s ok 2 /slice/chain 775s ok 3 /slice/allocate 775s # End of slice tests 775s ok - glib/slice.test 775s # Running test: glib/search-utils.test 775s TAP version 13 775s # random seed: R02S97d7ff55ac290c3d6c75650bf755fcda 775s # GLib-DEBUG: Current user locale: C.UTF-8 775s 1..6 775s # Start of search tests 775s # GLib-DEBUG: Started 775s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 775s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 775s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 775s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 775s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 775s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 775s ok 1 /search/basic 775s # GLib-DEBUG: Started 775s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 775s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 775s # GLib-DEBUG: 'ele' - 'élève' should match: OK 775s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK 775s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK 775s ok 2 /search/composed 775s # GLib-DEBUG: Started 775s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 775s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 775s ok 3 /search/decomposed 775s # GLib-DEBUG: Started 775s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 775s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 775s ok 4 /search/turkish 775s # GLib-DEBUG: Started 775s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 775s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 775s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 775s ok 5 /search/c_locale_unicode 775s # GLib-DEBUG: Started 775s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 775s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 775s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 775s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 775s ok 6 /search/multi_words 775s # End of search tests 775s ok - glib/search-utils.test 775s # Running test: glib/notify-init.test 775s TAP version 13 775s # random seed: R02S0a869a929b481a2d401f04e4f305a793 775s 1..1 775s # Start of properties tests 775s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 775s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 775s ok 1 /properties/notify-in-init 775s # End of properties tests 775s ok - glib/notify-init.test 775s # Running test: glib/qdata.test 775s TAP version 13 775s # random seed: R02S181ac679f7e95e47db2e2c8b89c5777c 775s 1..2 775s # Start of qdata tests 775s ok 1 /qdata/threaded 775s ok 2 /qdata/dup 775s # End of qdata tests 775s ok - glib/qdata.test 775s # Running test: glib/repository-search-paths.test 775s TAP version 13 775s # random seed: R02S23ff60d3aa41d2043e5731f4d79d4abb 775s 1..4 775s # Start of repository tests 775s # Start of search-paths tests 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_8CM3K2/repository/search-paths/default/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_8CM3K2/repository/search-paths/default/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_8CM3K2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_8CM3K2/repository/search-paths/default/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_8CM3K2/repository/search-paths/default/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_8CM3K2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_8CM3K2/repository/search-paths/default/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_8CM3K2/repository/search-paths/default/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_8CM3K2/repository/search-paths/default/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_8CM3K2/repository/search-paths/default/.dirs/runtime 775s ok 1 /repository/search-paths/default 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_8CM3K2/repository/search-paths/prepend/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_8CM3K2/repository/search-paths/prepend/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_8CM3K2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_8CM3K2/repository/search-paths/prepend/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_8CM3K2/repository/search-paths/prepend/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_8CM3K2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_8CM3K2/repository/search-paths/prepend/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_8CM3K2/repository/search-paths/prepend/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_8CM3K2/repository/search-paths/prepend/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_8CM3K2/repository/search-paths/prepend/.dirs/runtime 775s ok 2 /repository/search-paths/prepend 775s # End of search-paths tests 775s # Start of library-paths tests 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_8CM3K2/repository/library-paths/default/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_8CM3K2/repository/library-paths/default/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_8CM3K2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_8CM3K2/repository/library-paths/default/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_8CM3K2/repository/library-paths/default/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_8CM3K2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_8CM3K2/repository/library-paths/default/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_8CM3K2/repository/library-paths/default/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_8CM3K2/repository/library-paths/default/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_8CM3K2/repository/library-paths/default/.dirs/runtime 775s ok 3 /repository/library-paths/default 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_8CM3K2/repository/library-paths/prepend/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_8CM3K2/repository/library-paths/prepend/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_8CM3K2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_8CM3K2/repository/library-paths/prepend/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_8CM3K2/repository/library-paths/prepend/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_8CM3K2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_8CM3K2/repository/library-paths/prepend/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_8CM3K2/repository/library-paths/prepend/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_8CM3K2/repository/library-paths/prepend/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_8CM3K2/repository/library-paths/prepend/.dirs/runtime 775s ok 4 /repository/library-paths/prepend 775s # End of library-paths tests 775s # End of repository tests 775s ok - glib/repository-search-paths.test 775s # Running test: glib/autoptr-gio.test 775s TAP version 13 775s # random seed: R02Sdac646c04b07bc46ee4a640291f84264 775s 1..1 775s # Start of autoptr tests 775s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 775s ok 1 /autoptr/autoptr 775s # End of autoptr tests 775s ok - glib/autoptr-gio.test 775s # Running test: glib/uri.test 775s TAP version 13 775s # random seed: R02S5b6e211427634377ee098357ee46973d 775s 1..24 775s # Start of uri tests 775s ok 1 /uri/file-to-uri 775s ok 2 /uri/file-from-uri 775s ok 3 /uri/file-roundtrip 775s ok 4 /uri/list 775s # Test 0: %2Babc %4F 775s # Test 1: %2Babc %4F 775s # Test 2: %00abc %4F 775s # Test 3: /cursors/none.png 775s # Test 4: /cursors%2fbad-subdir/none.png 775s # Test 5: %0 775s # Test 6: %ra 775s # Test 7: %2r 775s # Test 8: Timm B?der 775s # Test 9: (null) 775s ok 5 /uri/unescape-string 775s ok 6 /uri/unescape-segment 775s # Test 0: abcdefgABCDEFG._~ 775s # Test 1: :+ \\?# 775s # Test 2: a+b:c 775s # Test 3: a+b:c\303\234 775s # Test 4: \374;\322 775s # Test 5: \303\261\303( 775s ok 7 /uri/escape-string 775s ok 8 /uri/escape-bytes 775s ok 9 /uri/scheme 775s ok 10 /uri/build 775s ok 11 /uri/split 775s ok 12 /uri/is_valid 775s ok 13 /uri/to-string 775s ok 14 /uri/join 775s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 775s # Combination 0 775s # Combination 1 775s # Combination 2 775s # Combination 3 775s # Combination 4 775s # Combination 5 775s # Combination 6 775s # Combination 7 775s # Combination 8 775s # Combination 9 775s # Combination 10 775s # Combination 11 775s # Combination 12 775s # Combination 13 775s # Combination 14 775s # Combination 15 775s # Combination 16 775s # Combination 17 775s # Combination 18 775s # Combination 19 775s # Combination 20 775s # Combination 21 775s # Combination 22 775s # Combination 23 775s # Combination 24 775s # Combination 25 775s # Combination 26 775s # Combination 27 775s # Combination 28 775s # Combination 29 775s # Combination 30 775s # Combination 31 775s # Combination 32 775s # Combination 33 775s # Combination 34 775s # Combination 35 775s # Combination 36 775s # Combination 37 775s # Combination 38 775s # Combination 39 775s # Combination 40 775s # Combination 41 775s # Combination 42 775s # Combination 43 775s # Combination 44 775s # Combination 45 775s # Combination 46 775s # Combination 47 775s # Combination 48 775s # Combination 49 775s # Combination 50 775s # Combination 51 775s # Combination 52 775s # Combination 53 775s # Combination 54 775s # Combination 55 775s # Combination 56 775s # Combination 57 775s # Combination 58 775s # Combination 59 775s # Combination 60 775s # Combination 61 775s # Combination 62 775s # Combination 63 775s # Combination 64 775s # Combination 65 775s # Combination 66 775s # Combination 67 775s # Combination 68 775s # Combination 69 775s # Combination 70 775s # Combination 71 775s # Combination 72 775s # Combination 73 775s # Combination 74 775s # Combination 75 775s # Combination 76 775s # Combination 77 775s # Combination 78 775s # Combination 79 775s # Combination 80 775s # Combination 81 775s # Combination 82 775s # Combination 83 775s # Combination 84 775s # Combination 85 775s # Combination 86 775s # Combination 87 775s # Combination 88 775s # Combination 89 775s # Combination 90 775s # Combination 91 775s # Combination 92 775s # Combination 93 775s # Combination 94 775s # Combination 95 775s # Combination 96 775s # Combination 97 775s # Combination 98 775s # Combination 99 775s # Combination 100 775s # Combination 101 775s # Combination 102 775s # Combination 103 775s # Combination 104 775s # Combination 105 775s # Combination 106 775s # Combination 107 775s # Combination 108 775s # Combination 109 775s # Combination 110 775s # Combination 111 775s # Combination 112 775s # Combination 113 775s # Combination 114 775s # Combination 115 775s # Combination 116 775s # Combination 117 775s # Combination 118 775s # Combination 119 775s # Combination 120 775s # Combination 121 775s # Combination 122 775s # Combination 123 775s # Combination 124 775s # Combination 125 775s # Combination 126 775s # Combination 127 775s # Combination 128 775s # Combination 129 775s # Combination 130 775s # Combination 131 775s # Combination 132 775s # Combination 133 775s # Combination 134 775s # Combination 135 775s # Combination 136 775s # Combination 137 775s # Combination 138 775s # Combination 139 775s # Combination 140 775s # Combination 141 775s # Combination 142 775s # Combination 143 775s # Combination 144 775s # Combination 145 775s # Combination 146 775s # Combination 147 775s # Combination 148 775s # Combination 149 775s # Combination 150 775s # Combination 151 775s # Combination 152 775s # Combination 153 775s # Combination 154 775s # Combination 155 775s # Combination 156 775s # Combination 157 775s # Combination 158 775s # Combination 159 775s # Combination 160 775s # Combination 161 775s # Combination 162 775s # Combination 163 775s # Combination 164 775s # Combination 165 775s # Combination 166 775s # Combination 167 775s # Combination 168 775s # Combination 169 775s # Combination 170 775s # Combination 171 775s # Combination 172 775s # Combination 173 775s # Combination 174 775s # Combination 175 775s # Combination 176 775s # Combination 177 775s # Combination 178 775s # Combination 179 775s # Combination 180 775s # Combination 181 775s # Combination 182 775s # Combination 183 775s # Combination 184 775s # Combination 185 775s # Combination 186 775s # Combination 187 775s # Combination 188 775s # Combination 189 775s # Combination 190 775s # Combination 191 775s # Combination 192 775s # Combination 193 775s # Combination 194 775s # Combination 195 775s # Combination 196 775s # Combination 197 775s # Combination 198 775s # Combination 199 775s # Combination 200 775s # Combination 201 775s # Combination 202 775s # Combination 203 775s # Combination 204 775s # Combination 205 775s # Combination 206 775s # Combination 207 775s # Combination 208 775s # Combination 209 775s # Combination 210 775s # Combination 211 775s # Combination 212 775s # Combination 213 775s # Combination 214 775s # Combination 215 775s # Combination 216 775s # Combination 217 775s # Combination 218 775s # Combination 219 775s # Combination 220 775s # Combination 221 775s # Combination 222 775s # Combination 223 775s # Combination 224 775s # Combination 225 775s # Combination 226 775s # Combination 227 775s # Combination 228 775s # Combination 229 775s # Combination 230 775s # Combination 231 775s # Combination 232 775s # Combination 233 775s # Combination 234 775s # Combination 235 775s # Combination 236 775s # Combination 237 775s # Combination 238 775s # Combination 239 775s # Combination 240 775s # Combination 241 775s # Combination 242 775s # Combination 243 775s # Combination 244 775s # Combination 245 775s # Combination 246 775s # Combination 247 775s # Combination 248 775s # Combination 249 775s # Combination 250 775s # Combination 251 775s # Combination 252 775s # Combination 253 775s # Combination 254 775s # Combination 255 775s ok 15 /uri/join-split-round-trip 775s ok 16 /uri/normalize 775s # Start of unescape-bytes tests 775s # Test 0: %00%00 775s # Test 1: /cursors/none.png 775s # Test 2: /cursors%2fbad-subdir/none.png 775s # Test 3: %% 775s # Test 4: % 775s ok 17 /uri/unescape-bytes/nul-terminated 775s # Test 0: %00%00 775s # Test 1: /cursors/none.png 775s # Test 2: /cursors%2fbad-subdir/none.png 775s # Test 3: %% 775s # Test 4: % 775s ok 18 /uri/unescape-bytes/length 775s # End of unescape-bytes tests 775s # Start of parsing tests 775s # Test 0: foo: 775s # Test 1: file:/dev/null 775s # Test 2: file:///dev/null 775s # Test 3: ftp://user@host/path 775s # Test 4: ftp://user@host:9999/path 775s # Test 5: ftp://user:password@host/path 775s # Test 6: ftp://user:password@host:9999/path 775s # Test 7: ftp://user:password@host 775s # Test 8: http://us%65r@host 775s # Test 9: http://us%40r@host 775s # Test 10: http://us%3ar@host 775s # Test 11: http://us%2fr@host 775s # Test 12: http://us%3fr@host 775s # Test 13: http://host?query 775s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 775s # 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 775s # Test 16: http://space/%20 775s # Test 17: http://delims/%3C%3E%23%25%22 775s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 775s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 775s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 775s # Test 21: http://[3ffe:2a00:100:7031::1] 775s # Test 22: http://[1080::8:800:200C:417A]/foo 775s # Test 23: http://[::192.9.5.5]/ipng 775s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 775s # Test 25: http://[2010:836B:4179::836B:4179] 775s # Test 26: http://host/path with spaces 775s # Test 27: http://host/path 775s # Test 28: http://host/path 775s # Test 29: http://host 775s # Test 30: http://host:999 775s # Test 31: http://host/pa 775s # th 775s # Test 32: http: 775s # //host/path 775s # Test 33: http:// host/path 775s # Test 34: http://host/path? 775s # Test 35: http://host/path# 775s # Test 36: http://host/path% 775s # Test 37: http://h%ost/path 775s # Test 38: http://host/path%% 775s # Test 39: http://host/path%%% 775s # Test 40: http://host/path%/x/ 775s # Test 41: http://host/path%0x/ 775s # Test 42: http://host/path%ax 775s # Test 43: http://host/p?th/ 775s # Test 44: HTTP://////////////// 775s # Test 45: http://@host 775s # Test 46: http://:@host 775s # Test 47: scheme://foo%3Abar._webdav._tcp.local 775s # Test 48: http://example.com/.. 775s # Test 49: foo0://host/path 775s # Test 50: f0.o://host/path 775s # Test 51: http++://host/path 775s # Test 52: http-ish://host/path 775s # Test 53: http://[fe80::dead:beef%]/ 775s # Test 54: http://[fe80::dead:beef%em1]/ 775s # Test 55: http://[fe80::dead:beef%em1]/ 775s # Test 56: http://[fe80::dead:beef%25em1]/ 775s # Test 57: http://[fe80::dead:beef%25em1%20]/ 775s # Test 58: http://[fe80::dead:beef%25em%31]/ 775s # Test 59: http://[fe80::dead:beef%10]/ 775s # Test 60: http://[fe80::dead:beef%10]/ 775s # Test 61: http://[fe80::dead:beef%25]/ 775s # Test 62: http://[fe80::dead:beef%25]/ 775s # Test 63: http://[192.168.0.1%25em1]/ 775s # Test 64: http://[fe80::dead:beef%2em1]/ 775s # Test 65: http://[fe80::dead:beef%2em1]/ 775s # Test 66: http://[fe80::dead:beef%25em1%00]/ 775s # Test 67: http://[fe80::dead:beef%25em1%00]/ 775s # Test 68: http://xn--mixed-?p/ 775s ok 19 /uri/parsing/absolute 775s ok 20 /uri/parsing/relative 775s # End of parsing tests 775s # Start of iter-params tests 775s # URI 0: p1=foo&p2=bar;p3=baz 775s # URI 1: p1=foo&p2=bar 775s # URI 2: p1=foo&&P1=bar 775s # URI 3: %00=foo 775s # URI 4: p1=%00 775s # URI 5: p1=foo&p1=bar 775s # URI 6: p1=foo&P1=bar 775s # URI 7: =% 775s # URI 8: = 775s # URI 9: foo 775s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 775s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 775s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 775s ok 21 /uri/iter-params/nul-terminated 775s # URI 0: p1=foo&p2=bar;p3=baz 775s # URI 1: p1=foo&p2=bar 775s # URI 2: p1=foo&&P1=bar 775s # URI 3: %00=foo 775s # URI 4: p1=%00 775s # URI 5: p1=foo&p1=bar 775s # URI 6: p1=foo&P1=bar 775s # URI 7: =% 775s # URI 8: = 775s # URI 9: foo 775s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 775s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 775s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 775s ok 22 /uri/iter-params/length 775s # End of iter-params tests 775s # Start of parse-params tests 775s # URI 0: p1=foo&p2=bar;p3=baz 775s # URI 1: p1=foo&p2=bar 775s # URI 2: p1=foo&&P1=bar 775s # URI 3: %00=foo 775s # URI 4: p1=%00 775s # URI 5: p1=foo&p1=bar 775s # URI 6: p1=foo&P1=bar 775s # URI 7: =% 775s # URI 8: = 775s # URI 9: foo 775s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 775s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 775s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 775s ok 23 /uri/parse-params/nul-terminated 775s # URI 0: p1=foo&p2=bar;p3=baz 775s # URI 1: p1=foo&p2=bar 775s # URI 2: p1=foo&&P1=bar 775s # URI 3: %00=foo 775s # URI 4: p1=%00 775s # URI 5: p1=foo&p1=bar 775s # URI 6: p1=foo&P1=bar 775s # URI 7: =% 775s # URI 8: = 775s # URI 9: foo 775s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 775s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 775s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 775s ok 24 /uri/parse-params/length 775s # End of parse-params tests 775s # End of uri tests 775s ok - glib/uri.test 775s # Running test: glib/signal-handler.test 775s TAP version 13 775s # random seed: R02Saf95faf6fa904e30cca1138d40a03fee 775s 1..7 775s # Start of signal tests 775s # Start of handler tests 775s # min perf: connected 1 handlers in 0.000 seconds 775s ok 1 /signal/handler/connect-many 775s # min perf: disconnected 1 handlers in 0.000 seconds 775s ok 2 /signal/handler/disconnect-many-ordered 775s # min perf: disconnected 1 handlers in 0.000 seconds 775s ok 3 /signal/handler/disconnect-many-inverse 775s # min perf: disconnected 1 handlers in 0.000 seconds 775s ok 4 /signal/handler/disconnect-many-random 775s # min perf: disconnected 1 handlers in 0.000 seconds 775s ok 5 /signal/handler/disconnect-2-signals 775s # min perf: disconnected 1 handlers in 0.000 seconds 775s ok 6 /signal/handler/disconnect-2-objects 775s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 775s ok 7 /signal/handler/block-many 775s # End of handler tests 775s # End of signal tests 775s ok - glib/signal-handler.test 775s # Running test: glib/cxx-98.test 775s TAP version 13 775s # random seed: R02S5910ed828917f76358b94a143e2e1f41 775s 1..2 775s # Start of gtask tests 775s # 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. 775s ok 1 /gtask/name 775s # Start of name tests 775s # 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. 775s ok 2 /gtask/name/macro-wrapper 775s # End of name tests 775s # End of gtask tests 775s ok - glib/cxx-98.test 775s # Running test: glib/sleepy-stream.test 775s TAP version 13 775s # random seed: R02Se070b7a946e72b193c6443ad03bf5b0e 775s 1..2 775s # Start of filter-stream tests 775s ok 1 /filter-stream/input 775s ok 2 /filter-stream/async 775s # End of filter-stream tests 775s ok - glib/sleepy-stream.test 775s # Running test: glib/dynamictests.test 775s TAP version 13 775s # random seed: R02S9d811f46516bd0399d2a9f2a53e55cfe 775s 1..2 775s # Start of GObject tests 775s ok 1 /GObject/threaded-dynamic-ref-unref-init 775s ok 2 /GObject/dynamic-interface-properties 775s # End of GObject tests 775s ok - glib/dynamictests.test 775s # Running test: glib/tree.test 775s TAP version 13 775s # random seed: R02Sc3b592df2715b3f923c38b96f60d0002 775s 1..7 775s # Start of tree tests 775s ok 1 /tree/search 775s ok 2 /tree/remove 775s ok 3 /tree/destroy 775s ok 4 /tree/traverse 775s ok 5 /tree/insert 775s ok 6 /tree/bounds 775s ok 7 /tree/remove-all 775s # End of tree tests 775s ok - glib/tree.test 775s # Running test: glib/refcount.test 775s TAP version 13 775s # random seed: R02S3af1c7b5678345ac99a8feb4cfdc3992 775s 1..4 775s # Start of refcount tests 775s ok 1 /refcount/grefcount 775s ok 2 /refcount/gatomicrefcount 775s # Start of grefcount tests 775s ok 3 /refcount/grefcount/saturation 775s # End of grefcount tests 775s # Start of gatomicrefcount tests 775s ok 4 /refcount/gatomicrefcount/saturation 775s # End of gatomicrefcount tests 775s # End of refcount tests 775s ok - glib/refcount.test 775s # Running test: glib/charset.test 775s TAP version 13 775s # random seed: R02S5d8d989563a9b1b5bc83c41fb18ac871 775s 1..2 775s # Start of charset tests 775s # Test 0 775s # Test 1 775s # Test 2 775s # Test 3 775s ok 1 /charset/language_names_with_category 775s ok 2 /charset/language_names_with_category_async 775s # End of charset tests 775s ok - glib/charset.test 775s # Running test: glib/simple-proxy.test 775s TAP version 13 775s # random seed: R02Sa18e35fe84e31a66a2aff07f29fcf0f9 775s 1..3 775s # Start of static-proxy tests 775s ok 1 /static-proxy/uri 775s ok 2 /static-proxy/socks 775s ok 3 /static-proxy/ignore 775s # End of static-proxy tests 775s ok - glib/simple-proxy.test 775s # Running test: glib/environment.test 775s TAP version 13 775s # random seed: R02S5d0e691393f208c2afe3f0a815b6e6d9 775s 1..6 775s # Start of environ tests 775s # /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. 775s ok 1 /environ/listenv 775s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 775s ok 2 /environ/getenv 775s ok 3 /environ/setenv 775s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 775s ok 4 /environ/array 775s # /environ/null summary: Test getting and setting variables on a NULL envp array. 775s ok 5 /environ/null 775s # /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. 775s ok 6 /environ/case 775s # End of environ tests 775s ok - glib/environment.test 775s # Running test: glib/properties.test 775s TAP version 13 775s # random seed: R02Sd8d24e663e9ebf4b36abb5b8c8409a6c 775s 1..13 775s # Start of properties tests 775s ok 1 /properties/install 775s ok 2 /properties/install-many 775s ok 3 /properties/notify 775s ok 4 /properties/notify-queue 775s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 775s ok 5 /properties/construct 775s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 775s # Test g_object_get_property with an initialized value 775s # Test g_object_get_property with an uninitialized value 775s # Test g_object_get_property with a transformable value 775s ok 6 /properties/get-property 775s ok 7 /properties/testv_with_no_properties 775s ok 8 /properties/testv_with_valid_properties 775s ok 9 /properties/testv_with_invalid_property_type 775s ok 10 /properties/testv_with_invalid_property_names 775s ok 11 /properties/testv_getv 775s ok 12 /properties/testv_notify_queue 775s # Start of set-property tests 775s # Start of variant tests 775s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 775s ok 13 /properties/set-property/variant/floating 775s # End of variant tests 775s # End of set-property tests 775s # End of properties tests 775s ok - glib/properties.test 775s # Running test: glib/spawn-path-search.test 775s TAP version 13 775s # random seed: R02Sa1acc5e02d77cf448eb70212b46d1ede 775s 1..7 775s # Start of spawn tests 775s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 775s # 775s # this is spawn-test-helper from glib/tests 775s # 775s ok 1 /spawn/do-not-search 775s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 775s # 775s # this is spawn-test-helper from path-test-subdir 775s # 775s ok 2 /spawn/search-path 775s # /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. 775s # 775s # this is spawn-test-helper from path-test-subdir 775s # 775s ok 3 /spawn/search-path-from-envp 775s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 775s # 775s # this is spawn-test-helper from path-test-subdir 775s # 775s ok 4 /spawn/search-path-ambiguous 775s # 775s # this is spawn-test-helper from path-test-subdir 775s # 775s ok 5 /spawn/search-path-heap-allocation 775s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 775s # 775s # this is spawn-test-helper from glib/tests 775s # 775s ok 6 /spawn/search-path-fallback-in-environ 775s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 775s # 775s # this is spawn-test-helper from glib/tests 775s # 775s ok 7 /spawn/search-path-fallback-in-envp 775s # End of spawn tests 775s ok - glib/spawn-path-search.test 775s # Running test: glib/function-info.test 775s TAP version 13 775s # random seed: R02S3080893cfc4bb383636692f0d994340f 775s 1..1 775s # Start of function-info tests 775s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_HAF2K2/function-info/invoker/.dirs/home 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_HAF2K2/function-info/invoker/.dirs/cache 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_HAF2K2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_HAF2K2/function-info/invoker/.dirs/system-config2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_HAF2K2/function-info/invoker/.dirs/config 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_HAF2K2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_HAF2K2/function-info/invoker/.dirs/system-data2 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_HAF2K2/function-info/invoker/.dirs/data 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_HAF2K2/function-info/invoker/.dirs/state 775s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_HAF2K2/function-info/invoker/.dirs/runtime 775s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 775s # /function-info/invoker summary: Test preparing a function invoker 775s ok 1 /function-info/invoker 775s # End of function-info tests 775s ok - glib/function-info.test 775s # Running test: glib/performance-threaded.test 775s Running test "liststore-is-a" 776s 9001 runs, min/avg/max = 0.106/0.111/0.425 ms 776s Running test "liststore-interface-peek" 777s # Executing: glib/performance-threaded.test 777s 18767 runs, min/avg/max = 0.050/0.053/1.202 ms 777s Running test "liststore-interface-peek-same" 779s 17781 runs, min/avg/max = 0.049/0.056/0.270 ms 779s ok - glib/performance-threaded.test 779s # Running test: glib/gdbus-export.test 779s TAP version 13 779s # random seed: R02S5fe2dd7d4e95dbd94d7e63643dfba18e 779s 1..6 779s # Start of gdbus tests 779s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_M302K2/gdbus/object-registration/.dirs/home 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_M302K2/gdbus/object-registration/.dirs/cache 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_M302K2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_M302K2/gdbus/object-registration/.dirs/system-config2 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_M302K2/gdbus/object-registration/.dirs/config 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_M302K2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_M302K2/gdbus/object-registration/.dirs/system-data2 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_M302K2/gdbus/object-registration/.dirs/data 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_M302K2/gdbus/object-registration/.dirs/state 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_M302K2/gdbus/object-registration/.dirs/runtime 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s ok 1 /gdbus/object-registration 779s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_M302K2/gdbus/object-registration-with-closures/.dirs/home 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_M302K2/gdbus/object-registration-with-closures/.dirs/cache 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_M302K2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_M302K2/gdbus/object-registration-with-closures/.dirs/system-config2 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_M302K2/gdbus/object-registration-with-closures/.dirs/config 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_M302K2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_M302K2/gdbus/object-registration-with-closures/.dirs/system-data2 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_M302K2/gdbus/object-registration-with-closures/.dirs/data 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_M302K2/gdbus/object-registration-with-closures/.dirs/state 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_M302K2/gdbus/object-registration-with-closures/.dirs/runtime 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s ok 2 /gdbus/object-registration-with-closures 779s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_M302K2/gdbus/registered-interfaces/.dirs/home 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_M302K2/gdbus/registered-interfaces/.dirs/cache 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_M302K2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_M302K2/gdbus/registered-interfaces/.dirs/system-config2 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_M302K2/gdbus/registered-interfaces/.dirs/config 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_M302K2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_M302K2/gdbus/registered-interfaces/.dirs/system-data2 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_M302K2/gdbus/registered-interfaces/.dirs/data 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_M302K2/gdbus/registered-interfaces/.dirs/state 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_M302K2/gdbus/registered-interfaces/.dirs/runtime 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s ok 3 /gdbus/registered-interfaces 779s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_M302K2/gdbus/async-properties/.dirs/home 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_M302K2/gdbus/async-properties/.dirs/cache 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_M302K2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_M302K2/gdbus/async-properties/.dirs/system-config2 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_M302K2/gdbus/async-properties/.dirs/config 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_M302K2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_M302K2/gdbus/async-properties/.dirs/system-data2 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_M302K2/gdbus/async-properties/.dirs/data 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_M302K2/gdbus/async-properties/.dirs/state 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_M302K2/gdbus/async-properties/.dirs/runtime 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s ok 4 /gdbus/async-properties 779s # Start of threaded-unregistration tests 779s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_M302K2/gdbus/threaded-unregistration/object/.dirs/home 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_M302K2/gdbus/threaded-unregistration/object/.dirs/cache 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_M302K2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_M302K2/gdbus/threaded-unregistration/object/.dirs/system-config2 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_M302K2/gdbus/threaded-unregistration/object/.dirs/config 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_M302K2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_M302K2/gdbus/threaded-unregistration/object/.dirs/system-data2 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_M302K2/gdbus/threaded-unregistration/object/.dirs/data 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_M302K2/gdbus/threaded-unregistration/object/.dirs/state 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_M302K2/gdbus/threaded-unregistration/object/.dirs/runtime 779s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 779s # /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 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test 779s # slow test /gdbus/threaded-unregistration/object executed in 1.07 secs 779s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_M302K2/gdbus/threaded-unregistration/subtree/.dirs/home 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_M302K2/gdbus/threaded-unregistration/subtree/.dirs/cache 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_M302K2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_M302K2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_M302K2/gdbus/threaded-unregistration/subtree/.dirs/config 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_M302K2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_M302K2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_M302K2/gdbus/threaded-unregistration/subtree/.dirs/data 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_M302K2/gdbus/threaded-unregistration/subtree/.dirs/state 779s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_M302K2/gdbus/threaded-unregistration/subtree/.dirs/runtime 779s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 779s # /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 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 779s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 780s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (2 iterations with unregistration first, 998 with call first); skipping test 780s # slow test /gdbus/threaded-unregistration/subtree executed in 1.09 secs 780s # End of threaded-unregistration tests 780s # End of gdbus tests 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 780s ok - glib/gdbus-export.test 780s cleaning up pid 7165 780s # Running test: glib/strfuncs.test 780s TAP version 13 780s # random seed: R02S6392a54b82074e4efd76c56736cecd66 780s 1..50 780s # Start of strfuncs tests 780s ok 1 /strfuncs/ascii-strcasecmp 780s ok 2 /strfuncs/ascii_strdown 780s ok 3 /strfuncs/ascii_strdup 780s ok 4 /strfuncs/ascii_strtod 780s ok 5 /strfuncs/bounds-check 780s ok 6 /strfuncs/has-prefix 780s ok 7 /strfuncs/has-prefix-macro 780s ok 8 /strfuncs/has-suffix 780s ok 9 /strfuncs/has-suffix-macro 780s ok 10 /strfuncs/memdup 780s ok 11 /strfuncs/memdup2 780s ok 12 /strfuncs/set_str 780s ok 13 /strfuncs/stpcpy 780s ok 14 /strfuncs/str_match_string 780s ok 15 /strfuncs/str_tokenize_and_fold 780s ok 16 /strfuncs/strcanon 780s ok 17 /strfuncs/strchomp 780s ok 18 /strfuncs/strchug 780s ok 19 /strfuncs/strcompress-strescape 780s ok 20 /strfuncs/strconcat 780s ok 21 /strfuncs/strdelimit 780s ok 22 /strfuncs/strdup 780s ok 23 /strfuncs/strdup-printf 780s ok 24 /strfuncs/strdupv 780s ok 25 /strfuncs/strerror 780s ok 26 /strfuncs/strip-context 780s ok 27 /strfuncs/strjoin 780s ok 28 /strfuncs/strjoinv 780s ok 29 /strfuncs/strlcat 780s ok 30 /strfuncs/strlcpy 780s ok 31 /strfuncs/strncasecmp 780s ok 32 /strfuncs/strndup 780s ok 33 /strfuncs/strnfill 780s ok 34 /strfuncs/strreverse 780s ok 35 /strfuncs/strsignal 780s ok 36 /strfuncs/strsplit 780s ok 37 /strfuncs/strsplit-set 780s ok 38 /strfuncs/strstr 780s ok 39 /strfuncs/strtod 780s ok 40 /strfuncs/strtoull-strtoll 780s ok 41 /strfuncs/strup 780s ok 42 /strfuncs/strv-contains 780s ok 43 /strfuncs/strv-equal 780s ok 44 /strfuncs/strv-length 780s ok 45 /strfuncs/test-is-to-digit 780s ok 46 /strfuncs/transliteration 780s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 780s ok 47 /strfuncs/str-equal 780s # Start of ascii-string-to-num tests 780s ok 48 /strfuncs/ascii-string-to-num/pathological 780s ok 49 /strfuncs/ascii-string-to-num/usual 780s # End of ascii-string-to-num tests 780s # Start of strdup tests 780s ok 50 /strfuncs/strdup/inline 780s # End of strdup tests 780s # End of strfuncs tests 780s ok - glib/strfuncs.test 780s # Running test: glib/rand.test 780s TAP version 13 780s # random seed: R02Sb80da1ea4c8146bec3bf0174f4821484 780s 1..2 780s # Start of rand tests 780s ok 1 /rand/test-rand 780s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 780s ok 2 /rand/double-range 780s # End of rand tests 780s ok - glib/rand.test 780s # Running test: glib/converter-stream.test 780s TAP version 13 780s # random seed: R02S338cb4e6e11c4740b9e4b775b7e8d80e 780s 1..17 780s # Start of converter tests 780s ok 1 /converter/basics 780s # End of converter tests 780s # Start of converter-input-stream tests 780s ok 2 /converter-input-stream/expander 780s ok 3 /converter-input-stream/compressor 780s # Start of truncation tests 780s ok 4 /converter-input-stream/truncation/zlib 780s ok 5 /converter-input-stream/truncation/gzip 781s ok 6 /converter-input-stream/truncation/raw 781s # End of truncation tests 781s # Start of charset tests 781s ok 7 /converter-input-stream/charset/utf8->latin1 781s ok 8 /converter-input-stream/charset/latin1->utf8 781s ok 9 /converter-input-stream/charset/fallbacks 781s # End of charset tests 781s # End of converter-input-stream tests 781s # Start of converter-output-stream tests 781s # Start of roundtrip tests 781s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 781s ok 10 /converter-output-stream/roundtrip/zlib-0 781s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 781s ok 11 /converter-output-stream/roundtrip/zlib-9 781s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 781s ok 12 /converter-output-stream/roundtrip/gzip-0 781s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 781s ok 13 /converter-output-stream/roundtrip/gzip-9 781s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 781s ok 14 /converter-output-stream/roundtrip/raw-0 781s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 781s ok 15 /converter-output-stream/roundtrip/raw-9 781s # End of roundtrip tests 781s # End of converter-output-stream tests 781s # Start of converter-stream tests 781s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 781s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1b55cb70 and GSocketClientAsyncConnectData 0x2aa1b55d4e0 781s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 781s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 781s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1b165aa0 for GSocketClientAsyncConnectData 0x2aa1b55d4e0 781s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 781s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 781s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 781s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 781s ok 16 /converter-stream/pollable 781s ok 17 /converter-stream/leftover 781s # End of converter-stream tests 781s ok - glib/converter-stream.test 781s # Running test: glib/utf8-performance.test 781s TAP version 13 781s # random seed: R02Se6ecd5512e68e89decb8008e58d3ade2 781s 1..36 781s # Start of utf8 tests 781s # Start of perf tests 781s # Start of get_char tests 781s # max perf: 43.0 MB/s 781s ok 1 /utf8/perf/get_char/ascii 781s # max perf: inf MB/s 781s ok 2 /utf8/perf/get_char/latin1 781s # max perf: inf MB/s 781s ok 3 /utf8/perf/get_char/cyrillic 781s # max perf: 156.0 MB/s 781s ok 4 /utf8/perf/get_char/han 781s # End of get_char tests 781s # Start of get_char-backwards tests 781s # max perf: 43.0 MB/s 781s ok 5 /utf8/perf/get_char-backwards/ascii 781s # max perf: 67.0 MB/s 781s ok 6 /utf8/perf/get_char-backwards/latin1 781s # max perf: 160.0 MB/s 781s ok 7 /utf8/perf/get_char-backwards/cyrillic 781s # max perf: 156.0 MB/s 781s ok 8 /utf8/perf/get_char-backwards/han 781s # End of get_char-backwards tests 781s # Start of get_char_validated tests 781s # max perf: inf MB/s 781s ok 9 /utf8/perf/get_char_validated/ascii 781s # max perf: 67.0 MB/s 781s ok 10 /utf8/perf/get_char_validated/latin1 781s # max perf: 160.0 MB/s 781s ok 11 /utf8/perf/get_char_validated/cyrillic 781s # max perf: 156.0 MB/s 781s ok 12 /utf8/perf/get_char_validated/han 781s # End of get_char_validated tests 781s # Start of utf8_to_ucs4 tests 781s # max perf: 43.0 MB/s 781s ok 13 /utf8/perf/utf8_to_ucs4/ascii 781s # max perf: inf MB/s 781s ok 14 /utf8/perf/utf8_to_ucs4/latin1 781s # max perf: 160.0 MB/s 781s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 781s # max perf: 156.0 MB/s 781s ok 16 /utf8/perf/utf8_to_ucs4/han 781s # End of utf8_to_ucs4 tests 781s # Start of utf8_to_ucs4-sized tests 781s # max perf: inf MB/s 781s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 781s # max perf: 67.0 MB/s 781s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 781s # max perf: 160.0 MB/s 781s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 781s # max perf: 156.0 MB/s 781s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 781s # End of utf8_to_ucs4-sized tests 781s # Start of utf8_to_ucs4_fast tests 781s # max perf: 43.0 MB/s 781s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 781s # max perf: inf MB/s 781s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 781s # max perf: 160.0 MB/s 781s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 781s # max perf: 156.0 MB/s 781s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 781s # End of utf8_to_ucs4_fast tests 781s # Start of utf8_to_ucs4_fast-sized tests 781s # max perf: inf MB/s 781s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 781s # max perf: inf MB/s 781s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 781s # max perf: inf MB/s 781s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 781s # max perf: inf MB/s 781s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 781s # End of utf8_to_ucs4_fast-sized tests 781s # Start of utf8_validate tests 781s # max perf: inf MB/s 781s ok 29 /utf8/perf/utf8_validate/ascii 781s # max perf: inf MB/s 781s ok 30 /utf8/perf/utf8_validate/latin1 781s # max perf: 160.0 MB/s 781s ok 31 /utf8/perf/utf8_validate/cyrillic 781s # max perf: inf MB/s 781s ok 32 /utf8/perf/utf8_validate/han 781s # End of utf8_validate tests 781s # Start of utf8_validate-sized tests 781s # max perf: inf MB/s 781s ok 33 /utf8/perf/utf8_validate-sized/ascii 781s # max perf: inf MB/s 781s ok 34 /utf8/perf/utf8_validate-sized/latin1 781s # max perf: 160.0 MB/s 781s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 781s # max perf: 156.0 MB/s 781s ok 36 /utf8/perf/utf8_validate-sized/han 781s # End of utf8_validate-sized tests 781s # End of perf tests 781s # End of utf8 tests 781s ok - glib/utf8-performance.test 781s # Running test: glib/asyncqueue.test 781s TAP version 13 781s # random seed: R02Sa2b2200f14ea6cde656988fab6f69817 781s 1..7 781s # Start of asyncqueue tests 781s ok 1 /asyncqueue/basics 781s ok 2 /asyncqueue/sort 781s ok 3 /asyncqueue/destroy 781s ok 4 /asyncqueue/threads 781s ok 5 /asyncqueue/timed 781s ok 6 /asyncqueue/remove 781s ok 7 /asyncqueue/push_front 781s # End of asyncqueue tests 781s ok - glib/asyncqueue.test 781s # Running test: glib/cmph-bdz.test 781s TAP version 13 781s # random seed: R02S84787721b7f96119ddb9379e1173fdae 781s 1..2 781s # Start of cmph-bdz tests 781s ok 1 /cmph-bdz/search 781s ok 2 /cmph-bdz/search-packed 781s # End of cmph-bdz tests 781s ok - glib/cmph-bdz.test 781s # Running test: glib/hmac.test 781s TAP version 13 781s # random seed: R02S24642ccff8c2f2a26a1b5f61343ba28f 781s 1..37 781s # Start of hmac tests 781s ok 1 /hmac/sha1-1 781s ok 2 /hmac/sha1-2 781s ok 3 /hmac/sha1-3 781s ok 4 /hmac/sha1-4 781s ok 5 /hmac/sha1-5 781s ok 6 /hmac/sha1-6 781s ok 7 /hmac/sha1-7 781s ok 8 /hmac/sha256-1 781s ok 9 /hmac/sha256-2 781s ok 10 /hmac/sha256-3 781s ok 11 /hmac/sha256-4 781s ok 12 /hmac/sha256-5 781s ok 13 /hmac/sha256-6 781s ok 14 /hmac/sha384-1 781s ok 15 /hmac/sha384-2 781s ok 16 /hmac/sha384-3 781s ok 17 /hmac/sha384-4 781s ok 18 /hmac/sha384-5 781s ok 19 /hmac/sha384-6 781s ok 20 /hmac/sha512-1 781s ok 21 /hmac/sha512-2 781s ok 22 /hmac/sha512-3 781s ok 23 /hmac/sha512-4 781s ok 24 /hmac/sha512-5 781s ok 25 /hmac/sha512-6 781s ok 26 /hmac/md5-1 781s ok 27 /hmac/md5-2 781s ok 28 /hmac/md5-3 781s ok 29 /hmac/md5-4 781s ok 30 /hmac/md5-5 781s ok 31 /hmac/md5-6 781s ok 32 /hmac/md5-7 781s ok 33 /hmac/ref-unref 781s ok 34 /hmac/copy 781s ok 35 /hmac/for-data 781s ok 36 /hmac/for-string 781s ok 37 /hmac/for-bytes 781s # End of hmac tests 781s ok - glib/hmac.test 781s # Running test: glib/object-info.test 781s TAP version 13 781s # random seed: R02S25ba1b5d17932f88d70409e199cff994 781s 1..2 781s # Start of object-info tests 781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_L7RRK2/object-info/find-method-using-interfaces/.dirs/home 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_L7RRK2/object-info/find-method-using-interfaces/.dirs/cache 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_L7RRK2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_L7RRK2/object-info/find-method-using-interfaces/.dirs/system-config2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_L7RRK2/object-info/find-method-using-interfaces/.dirs/config 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_L7RRK2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_L7RRK2/object-info/find-method-using-interfaces/.dirs/system-data2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_L7RRK2/object-info/find-method-using-interfaces/.dirs/data 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_L7RRK2/object-info/find-method-using-interfaces/.dirs/state 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_L7RRK2/object-info/find-method-using-interfaces/.dirs/runtime 781s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 781s ok 1 /object-info/find-method-using-interfaces 781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_L7RRK2/object-info/find-vfunc-using-interfaces/.dirs/home 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_L7RRK2/object-info/find-vfunc-using-interfaces/.dirs/cache 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_L7RRK2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_L7RRK2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_L7RRK2/object-info/find-vfunc-using-interfaces/.dirs/config 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_L7RRK2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_L7RRK2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_L7RRK2/object-info/find-vfunc-using-interfaces/.dirs/data 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_L7RRK2/object-info/find-vfunc-using-interfaces/.dirs/state 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_L7RRK2/object-info/find-vfunc-using-interfaces/.dirs/runtime 781s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 781s ok 2 /object-info/find-vfunc-using-interfaces 781s # End of object-info tests 781s ok - glib/object-info.test 781s # Running test: glib/utf8-misc.test 781s TAP version 13 781s # random seed: R02Sc1ac992a297df1b52e51fa1659995294 781s 1..7 781s # Start of utf8 tests 781s ok 1 /utf8/strlen 781s ok 2 /utf8/strncpy 781s ok 3 /utf8/strrchr 781s ok 4 /utf8/reverse 781s ok 5 /utf8/substring 781s ok 6 /utf8/make-valid 781s ok 7 /utf8/truncate-middle 781s # End of utf8 tests 781s ok - glib/utf8-misc.test 781s # Running test: glib/gnotification.test 781s TAP version 13 781s # random seed: R02S2dca28043029b7da28dcae4b2b05777e 781s 1..2 781s # Start of gnotification tests 781s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 781s ok 1 /gnotification/basic 781s ok 2 /gnotification/properties 781s # End of gnotification tests 781s ok - glib/gnotification.test 781s # Running test: glib/properties-refcount3.test 781s TAP version 13 781s # random seed: R02S212ab28ac51b71bda02ae2c47aa1ebb9 781s 1..1 781s # Start of gobject tests 781s # Start of refcount tests 782s # Executing: glib/properties-refcount3.test 787s # Executing: glib/properties-refcount3.test 792s # Executing: glib/properties-refcount3.test 797s # Executing: glib/properties-refcount3.test 802s # Executing: glib/properties-refcount3.test 810s # Executing: glib/properties-refcount3.test 811s # 811s # stopping 811s # 811s # stopped 811s # 811s # 47190000 24795343 811s # 811s ok 1 /gobject/refcount/properties-3 811s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 811s # End of refcount tests 811s # End of gobject tests 811s ok - glib/properties-refcount3.test 811s # Running test: glib/g-file-info-filesystem-readonly.test 811s TAP version 13 811s # random seed: R02S21b8499e5643c70dd93da5f856c949cd 811s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 811s 1..2 811s # Start of g-file-info-filesystem-readonly tests 811s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 811s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 811s # End of g-file-info-filesystem-readonly tests 812s ok - glib/g-file-info-filesystem-readonly.test 812s # Running test: glib/keyfile.test 812s TAP version 13 812s # random seed: R02Sd49fec4a75668a93a48f2a3ef1f3a505 812s 1..36 812s # Start of keyfile tests 812s ok 1 /keyfile/line-ends 812s ok 2 /keyfile/whitespace 812s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 812s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 812s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 812s ok 3 /keyfile/comments 812s ok 4 /keyfile/listing 812s ok 5 /keyfile/string 812s ok 6 /keyfile/boolean 812s ok 7 /keyfile/number 812s ok 8 /keyfile/locale-string 812s ok 9 /keyfile/lists 812s ok 10 /keyfile/lists-set-get 812s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 812s ok 11 /keyfile/group-remove 812s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 812s ok 12 /keyfile/key-remove 812s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 812s ok 13 /keyfile/groups 812s ok 14 /keyfile/duplicate-keys 812s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 812s ok 15 /keyfile/duplicate-groups 812s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 812s ok 16 /keyfile/duplicate-groups2 812s ok 17 /keyfile/group-names 812s ok 18 /keyfile/key-names 812s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 812s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 812s ok 19 /keyfile/reload 812s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 812s ok 20 /keyfile/int64 812s ok 21 /keyfile/load 812s ok 22 /keyfile/save 812s ok 23 /keyfile/load-fail 812s ok 24 /keyfile/non-utf8 812s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 812s ok 25 /keyfile/page-boundary 812s ok 26 /keyfile/ref 812s ok 27 /keyfile/replace-value 812s ok 28 /keyfile/list-separator 812s ok 29 /keyfile/empty-string 812s ok 30 /keyfile/limbo 812s # Testing invalid encoding ?non-UTF-8 812s # Testing invalid encoding ?UTF? 812s # Testing invalid encoding ?UTF-9? 812s ok 31 /keyfile/utf8 812s ok 32 /keyfile/roundtrip 812s ok 33 /keyfile/bytes 812s ok 34 /keyfile/get-locale 812s ok 35 /keyfile/free-when-not-last-ref 812s # Start of locale-string tests 812s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 812s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 812s ok 36 /keyfile/locale-string/multiple-loads 812s # End of locale-string tests 812s # End of keyfile tests 812s ok - glib/keyfile.test 812s # Running test: glib/file.test 812s TAP version 13 812s # random seed: R02Se96a57e74175d2892dabd8b65e61c9a2 812s 1..50 812s # Start of file tests 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/basic/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/basic/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/basic/.dirs/system-config1:/tmp/test_file_7EKPK2/file/basic/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/basic/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/basic/.dirs/system-data1:/tmp/test_file_7EKPK2/file/basic/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/basic/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/basic/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/basic/.dirs/runtime 812s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 812s ok 1 /file/basic 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/build-filename/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/build-filename/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/build-filename/.dirs/system-config1:/tmp/test_file_7EKPK2/file/build-filename/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/build-filename/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/build-filename/.dirs/system-data1:/tmp/test_file_7EKPK2/file/build-filename/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/build-filename/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/build-filename/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/build-filename/.dirs/runtime 812s ok 2 /file/build-filename 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/build-filenamev/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/build-filenamev/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_7EKPK2/file/build-filenamev/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/build-filenamev/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_7EKPK2/file/build-filenamev/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/build-filenamev/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/build-filenamev/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/build-filenamev/.dirs/runtime 812s ok 3 /file/build-filenamev 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/parent/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/parent/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/parent/.dirs/system-config1:/tmp/test_file_7EKPK2/file/parent/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/parent/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/parent/.dirs/system-data1:/tmp/test_file_7EKPK2/file/parent/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/parent/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/parent/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/parent/.dirs/runtime 812s ok 4 /file/parent 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/child/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/child/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/child/.dirs/system-config1:/tmp/test_file_7EKPK2/file/child/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/child/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/child/.dirs/system-data1:/tmp/test_file_7EKPK2/file/child/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/child/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/child/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/child/.dirs/runtime 812s ok 5 /file/child 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/empty-path/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/empty-path/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/empty-path/.dirs/system-config1:/tmp/test_file_7EKPK2/file/empty-path/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/empty-path/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/empty-path/.dirs/system-data1:/tmp/test_file_7EKPK2/file/empty-path/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/empty-path/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/empty-path/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/empty-path/.dirs/runtime 812s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 812s # /file/empty-path summary: Check that creating a file with an empty path results in errors 812s ok 6 /file/empty-path 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/type/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/type/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/type/.dirs/system-config1:/tmp/test_file_7EKPK2/file/type/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/type/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/type/.dirs/system-data1:/tmp/test_file_7EKPK2/file/type/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/type/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/type/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/type/.dirs/runtime 812s ok 7 /file/type 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/parse-name/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/parse-name/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/parse-name/.dirs/system-config1:/tmp/test_file_7EKPK2/file/parse-name/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/parse-name/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/parse-name/.dirs/system-data1:/tmp/test_file_7EKPK2/file/parse-name/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/parse-name/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/parse-name/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/parse-name/.dirs/runtime 812s ok 8 /file/parse-name 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/replace-load/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/replace-load/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/replace-load/.dirs/system-config1:/tmp/test_file_7EKPK2/file/replace-load/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/replace-load/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/replace-load/.dirs/system-data1:/tmp/test_file_7EKPK2/file/replace-load/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/replace-load/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/replace-load/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/replace-load/.dirs/runtime 812s ok 9 /file/replace-load 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/replace-cancel/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/replace-cancel/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_7EKPK2/file/replace-cancel/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/replace-cancel/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_7EKPK2/file/replace-cancel/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/replace-cancel/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/replace-cancel/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/replace-cancel/.dirs/runtime 812s # Bug Reference: https://bugzilla.gnome.org/629301 812s ok 10 /file/replace-cancel 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/replace-symlink/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/replace-symlink/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_7EKPK2/file/replace-symlink/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/replace-symlink/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_7EKPK2/file/replace-symlink/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/replace-symlink/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/replace-symlink/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/replace-symlink/.dirs/runtime 812s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 812s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 812s # Using temporary directory /tmp/test_file_7EKPK2/g_file_replace_symlink_G2YPK2 812s ok 11 /file/replace-symlink 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/async-new-tmp/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/async-new-tmp/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_7EKPK2/file/async-new-tmp/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/async-new-tmp/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_7EKPK2/file/async-new-tmp/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/async-new-tmp/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/async-new-tmp/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/async-new-tmp/.dirs/runtime 812s ok 12 /file/async-new-tmp 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/async-new-tmp-dir/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/async-new-tmp-dir/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_7EKPK2/file/async-new-tmp-dir/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/async-new-tmp-dir/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_7EKPK2/file/async-new-tmp-dir/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/async-new-tmp-dir/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/async-new-tmp-dir/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/async-new-tmp-dir/.dirs/runtime 812s ok 13 /file/async-new-tmp-dir 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/async-delete/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/async-delete/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/async-delete/.dirs/system-config1:/tmp/test_file_7EKPK2/file/async-delete/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/async-delete/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/async-delete/.dirs/system-data1:/tmp/test_file_7EKPK2/file/async-delete/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/async-delete/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/async-delete/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/async-delete/.dirs/runtime 812s ok 14 /file/async-delete 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/async-make-symlink/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/async-make-symlink/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_7EKPK2/file/async-make-symlink/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/async-make-symlink/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_7EKPK2/file/async-make-symlink/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/async-make-symlink/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/async-make-symlink/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/async-make-symlink/.dirs/runtime 812s ok 15 /file/async-make-symlink 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/copy-preserve-mode/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/copy-preserve-mode/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_7EKPK2/file/copy-preserve-mode/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/copy-preserve-mode/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_7EKPK2/file/copy-preserve-mode/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/copy-preserve-mode/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/copy-preserve-mode/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/copy-preserve-mode/.dirs/runtime 812s # Current umask: 2 812s # Vector 0 812s # Vector 1 812s # Vector 2 812s # Vector 3 812s # Vector 4 812s # Vector 5 812s # Vector 6 812s # Vector 7 812s # Vector 8 812s # Vector 9 812s # Vector 10 812s ok 16 /file/copy-preserve-mode 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/measure/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/measure/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/measure/.dirs/system-config1:/tmp/test_file_7EKPK2/file/measure/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/measure/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/measure/.dirs/system-data1:/tmp/test_file_7EKPK2/file/measure/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/measure/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/measure/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/measure/.dirs/runtime 812s ok 17 /file/measure 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/measure-async/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/measure-async/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/measure-async/.dirs/system-config1:/tmp/test_file_7EKPK2/file/measure-async/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/measure-async/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/measure-async/.dirs/system-data1:/tmp/test_file_7EKPK2/file/measure-async/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/measure-async/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/measure-async/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/measure-async/.dirs/runtime 812s ok 18 /file/measure-async 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/load-bytes/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/load-bytes/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/load-bytes/.dirs/system-config1:/tmp/test_file_7EKPK2/file/load-bytes/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/load-bytes/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/load-bytes/.dirs/system-data1:/tmp/test_file_7EKPK2/file/load-bytes/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/load-bytes/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/load-bytes/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/load-bytes/.dirs/runtime 812s ok 19 /file/load-bytes 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/load-bytes-async/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/load-bytes-async/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_7EKPK2/file/load-bytes-async/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/load-bytes-async/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_7EKPK2/file/load-bytes-async/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/load-bytes-async/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/load-bytes-async/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/load-bytes-async/.dirs/runtime 812s ok 20 /file/load-bytes-async 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/writev/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/writev/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/writev/.dirs/system-config1:/tmp/test_file_7EKPK2/file/writev/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/writev/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/writev/.dirs/system-data1:/tmp/test_file_7EKPK2/file/writev/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/writev/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/writev/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/writev/.dirs/runtime 812s ok 21 /file/writev 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/build-attribute-list-for-copy/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/build-attribute-list-for-copy/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_7EKPK2/file/build-attribute-list-for-copy/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/build-attribute-list-for-copy/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_7EKPK2/file/build-attribute-list-for-copy/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/build-attribute-list-for-copy/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/build-attribute-list-for-copy/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/build-attribute-list-for-copy/.dirs/runtime 812s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 812s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 812s # 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::* 812s # 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::* 812s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 812s # Attributes for copy: standard::size,xattr::* 812s # Attributes for copy: standard::size,unix::mode,xattr::* 812s ok 22 /file/build-attribute-list-for-copy 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/move_async/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/move_async/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/move_async/.dirs/system-config1:/tmp/test_file_7EKPK2/file/move_async/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/move_async/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/move_async/.dirs/system-data1:/tmp/test_file_7EKPK2/file/move_async/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/move_async/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/move_async/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/move_async/.dirs/runtime 812s ok 23 /file/move_async 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/query-zero-length-content-type/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/query-zero-length-content-type/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_7EKPK2/file/query-zero-length-content-type/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/query-zero-length-content-type/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_7EKPK2/file/query-zero-length-content-type/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/query-zero-length-content-type/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/query-zero-length-content-type/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/query-zero-length-content-type/.dirs/runtime 812s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 812s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 812s ok 24 /file/query-zero-length-content-type 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/query-default-handler-file/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/query-default-handler-file/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_7EKPK2/file/query-default-handler-file/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/query-default-handler-file/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_7EKPK2/file/query-default-handler-file/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/query-default-handler-file/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/query-default-handler-file/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/query-default-handler-file/.dirs/runtime 812s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7EKPK2/file/query-default-handler-file/.dirs/data/applications 812s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7EKPK2/file/query-default-handler-file/.dirs/config 812s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7EKPK2/file/query-default-handler-file/.dirs/config 812s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7EKPK2/file/query-default-handler-file/.dirs/config 812s ok 25 /file/query-default-handler-file 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/query-default-handler-file-async/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/query-default-handler-file-async/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_7EKPK2/file/query-default-handler-file-async/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/query-default-handler-file-async/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_7EKPK2/file/query-default-handler-file-async/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/query-default-handler-file-async/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/query-default-handler-file-async/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/query-default-handler-file-async/.dirs/runtime 812s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7EKPK2/file/query-default-handler-file-async/.dirs/data/applications 812s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7EKPK2/file/query-default-handler-file-async/.dirs/config 812s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_7EKPK2/file/query-default-handler-file/.dirs/config to /tmp/test_file_7EKPK2/file/query-default-handler-file-async/.dirs/config 812s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7EKPK2/file/query-default-handler-file-async/.dirs/config 812s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7EKPK2/file/query-default-handler-file-async/.dirs/config 812s ok 26 /file/query-default-handler-file-async 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/query-default-handler-uri/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/query-default-handler-uri/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_7EKPK2/file/query-default-handler-uri/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/query-default-handler-uri/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_7EKPK2/file/query-default-handler-uri/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/query-default-handler-uri/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/query-default-handler-uri/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/query-default-handler-uri/.dirs/runtime 812s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7EKPK2/file/query-default-handler-uri/.dirs/data/applications 812s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7EKPK2/file/query-default-handler-uri/.dirs/config 812s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_7EKPK2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_7EKPK2/file/query-default-handler-uri/.dirs/config 812s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7EKPK2/file/query-default-handler-uri/.dirs/config 812s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7EKPK2/file/query-default-handler-uri/.dirs/config 812s ok 27 /file/query-default-handler-uri 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/query-default-handler-uri-async/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/query-default-handler-uri-async/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_7EKPK2/file/query-default-handler-uri-async/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/query-default-handler-uri-async/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_7EKPK2/file/query-default-handler-uri-async/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/query-default-handler-uri-async/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/query-default-handler-uri-async/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/query-default-handler-uri-async/.dirs/runtime 812s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7EKPK2/file/query-default-handler-uri-async/.dirs/data/applications 812s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7EKPK2/file/query-default-handler-uri-async/.dirs/config 812s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_7EKPK2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_7EKPK2/file/query-default-handler-uri-async/.dirs/config 812s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7EKPK2/file/query-default-handler-uri-async/.dirs/config 812s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_7EKPK2/file/query-default-handler-uri-async/.dirs/config 812s ok 28 /file/query-default-handler-uri-async 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/enumerator-cancellation/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/enumerator-cancellation/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_7EKPK2/file/enumerator-cancellation/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/enumerator-cancellation/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_7EKPK2/file/enumerator-cancellation/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/enumerator-cancellation/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/enumerator-cancellation/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/enumerator-cancellation/.dirs/runtime 812s ok 29 /file/enumerator-cancellation 812s # Start of async-create-delete tests 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/async-create-delete/0/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/async-create-delete/0/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_7EKPK2/file/async-create-delete/0/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/async-create-delete/0/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_7EKPK2/file/async-create-delete/0/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/async-create-delete/0/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/async-create-delete/0/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/async-create-delete/0/.dirs/runtime 812s ok 30 /file/async-create-delete/0 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/async-create-delete/1/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/async-create-delete/1/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_7EKPK2/file/async-create-delete/1/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/async-create-delete/1/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_7EKPK2/file/async-create-delete/1/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/async-create-delete/1/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/async-create-delete/1/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/async-create-delete/1/.dirs/runtime 812s ok 31 /file/async-create-delete/1 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/async-create-delete/10/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/async-create-delete/10/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_7EKPK2/file/async-create-delete/10/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/async-create-delete/10/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_7EKPK2/file/async-create-delete/10/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/async-create-delete/10/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/async-create-delete/10/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/async-create-delete/10/.dirs/runtime 812s ok 32 /file/async-create-delete/10 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/async-create-delete/25/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/async-create-delete/25/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_7EKPK2/file/async-create-delete/25/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/async-create-delete/25/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_7EKPK2/file/async-create-delete/25/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/async-create-delete/25/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/async-create-delete/25/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/async-create-delete/25/.dirs/runtime 812s ok 33 /file/async-create-delete/25 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/async-create-delete/4096/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/async-create-delete/4096/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_7EKPK2/file/async-create-delete/4096/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/async-create-delete/4096/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_7EKPK2/file/async-create-delete/4096/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/async-create-delete/4096/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/async-create-delete/4096/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/async-create-delete/4096/.dirs/runtime 812s ok 34 /file/async-create-delete/4096 812s # End of async-create-delete tests 812s # Start of replace-symlink tests 812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/replace-symlink/using-etag/.dirs/home 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/replace-symlink/using-etag/.dirs/cache 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_7EKPK2/file/replace-symlink/using-etag/.dirs/system-config2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/replace-symlink/using-etag/.dirs/config 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_7EKPK2/file/replace-symlink/using-etag/.dirs/system-data2 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/replace-symlink/using-etag/.dirs/data 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/replace-symlink/using-etag/.dirs/state 812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/replace-symlink/using-etag/.dirs/runtime 812s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 812s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 812s # Using temporary directory /tmp/test_file_7EKPK2/g_file_replace_symlink_using_etag_YOK3K2 812s # Executing: glib/file.test 818s ok 35 /file/replace-symlink/using-etag 818s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 818s # End of replace-symlink tests 818s # Start of replace tests 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/replace/write-only/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/replace/write-only/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_7EKPK2/file/replace/write-only/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/replace/write-only/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_7EKPK2/file/replace/write-only/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/replace/write-only/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/replace/write-only/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/replace/write-only/.dirs/runtime 818s # /file/replace/write-only summary: Test various situations for g_file_replace() 818s # Current umask: 2 818s # Test 0, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_SK13K2 818s # Test 1, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_GE13K2 818s # Test 2, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_LJ03K2 818s # Test 3, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_0B13K2 818s # Test 4, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_B403K2 818s # Test 5, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_JW03K2 818s # Test 6, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_3R43K2 818s # Test 7, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_GG53K2 818s # Test 8, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_PP33K2 818s # Test 9, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_NM33K2 818s # Test 10, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_HH43K2 818s # Test 11, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_QT33K2 818s # Test 12, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_IQV3K2 818s # Test 13, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_6IV3K2 818s # Test 14, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_4AW3K2 818s # Test 15, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_UUT3K2 818s # Test 16, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_9NU3K2 818s # Test 17, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_6RY3K2 818s # Test 18, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_7JZ3K2 818s # Test 19, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_5AX3K2 818s # Test 20, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_TPW3K2 818s # Test 21, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_LMX3K2 818s # Test 22, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_B3D4K2 818s # Test 23, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_1KF4K2 818s # Test 24, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_38C4K2 818s # Test 25, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_CNC4K2 818s # Test 26, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_Q1D4K2 818s # Test 27, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_HUD4K2 818s # Test 28, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_PWH4K2 818s # Test 29, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_3MI4K2 818s # Test 30, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_BDI4K2 818s # Test 31, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_BAI4K2 818s # Test 32, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_4OF4K2 818s # Test 33, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_8IG4K2 818s # Test 34, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_K973K2 818s # Test 35, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_7673K2 818s # Test 36, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_PA93K2 818s # Test 37, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_MK83K2 818s # Test 38, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_OC63K2 818s # Test 39, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_A963K2 818s # Test 40, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_CBB4K2 818s # Test 41, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_00B4K2 818s # Test 42, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_HP93K2 818s # Test 43, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_1DA4K2 818s # Test 44, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_U2Q4K2 818s # Test 45, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_HUQ4K2 818s # Test 46, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_CWR4K2 818s # Test 47, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_ZKR4K2 818s # Test 48, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_48O4K2 818s # We do not have CAP_DAC_OVERRIDE or equivalent 818s ok 36 /file/replace/write-only 818s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/replace/read-write/.dirs/home 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/replace/read-write/.dirs/cache 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_7EKPK2/file/replace/read-write/.dirs/system-config2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/replace/read-write/.dirs/config 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_7EKPK2/file/replace/read-write/.dirs/system-data2 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/replace/read-write/.dirs/data 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/replace/read-write/.dirs/state 818s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/replace/read-write/.dirs/runtime 818s # /file/replace/read-write summary: Test various situations for g_file_replace() 818s # Current umask: 2 818s # Test 0, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_R2P4K2 818s # Test 1, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_1MU4K2 818s # Test 2, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_QXT4K2 818s # Test 3, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_QTU4K2 818s # Test 4, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_YRU4K2 818s # Test 5, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_ZYS4K2 818s # Test 6, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_GIS4K2 818s # Test 7, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_9DT4K2 818s # Test 8, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_N6S4K2 818s # Test 9, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_B1K4K2 818s # Test 10, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_MZL4K2 818s # Test 11, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_1BL4K2 818s # Test 12, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_5JJ4K2 818s # Test 13, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_MAJ4K2 818s # Test 14, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_ODK4K2 818s # Test 15, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_6DO4K2 818s # Test 16, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_F4O4K2 818s # Test 17, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_9GO4K2 818s # Test 18, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_K3L4K2 818s # Test 19, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_I3M4K2 818s # Test 20, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_YQA2K2 818s # Test 21, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_KNB2K2 818s # Test 22, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_2B91K2 818s # Test 23, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_Z981K2 818s # Test 24, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_S391K2 818s # Test 25, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_Q4D2K2 818s # Test 26, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_4WD2K2 818s # Test 27, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_RQD2K2 818s # Test 28, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_YFE2K2 818s # Test 29, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_7YB2K2 818s # Test 30, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_S6C2K2 818s # Test 31, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_K5C2K2 818s # Test 32, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_UH41K2 818s # Test 33, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_YW41K2 818s # Test 34, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_A521K2 818s # Test 35, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_1X21K2 818s # Test 36, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_VR31K2 818s # Test 37, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_0U71K2 819s # Test 38, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_S661K2 819s # Test 39, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_J971K2 819s # Test 40, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_2U51K2 819s # Test 41, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_5Q61K2 819s # Test 42, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_IKN2K2 819s # Test 43, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_EBO2K2 819s # Test 44, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_82L2K2 819s # Test 45, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_3VL2K2 819s # Test 46, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_ONM2K2 819s # Test 47, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_UHM2K2 819s # Test 48, using temporary directory /tmp/test_file_7EKPK2/g_file_replace_MHQ2K2 819s # We do not have CAP_DAC_OVERRIDE or equivalent 819s ok 37 /file/replace/read-write 819s # End of replace tests 819s # Start of copy tests 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/copy/progress/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/copy/progress/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/copy/progress/.dirs/system-config1:/tmp/test_file_7EKPK2/file/copy/progress/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/copy/progress/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/copy/progress/.dirs/system-data1:/tmp/test_file_7EKPK2/file/copy/progress/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/copy/progress/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/copy/progress/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/copy/progress/.dirs/runtime 819s ok 38 /file/copy/progress 819s # End of copy tests 819s # Start of writev tests 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/writev/no-bytes-written/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/writev/no-bytes-written/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_7EKPK2/file/writev/no-bytes-written/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/writev/no-bytes-written/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_7EKPK2/file/writev/no-bytes-written/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/writev/no-bytes-written/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/writev/no-bytes-written/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/writev/no-bytes-written/.dirs/runtime 819s ok 39 /file/writev/no-bytes-written 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/writev/no-vectors/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/writev/no-vectors/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_7EKPK2/file/writev/no-vectors/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/writev/no-vectors/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_7EKPK2/file/writev/no-vectors/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/writev/no-vectors/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/writev/no-vectors/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/writev/no-vectors/.dirs/runtime 819s ok 40 /file/writev/no-vectors 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/writev/empty-vectors/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/writev/empty-vectors/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_7EKPK2/file/writev/empty-vectors/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/writev/empty-vectors/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_7EKPK2/file/writev/empty-vectors/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/writev/empty-vectors/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/writev/empty-vectors/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/writev/empty-vectors/.dirs/runtime 819s ok 41 /file/writev/empty-vectors 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/writev/too-big-vectors/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/writev/too-big-vectors/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_7EKPK2/file/writev/too-big-vectors/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/writev/too-big-vectors/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_7EKPK2/file/writev/too-big-vectors/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/writev/too-big-vectors/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/writev/too-big-vectors/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/writev/too-big-vectors/.dirs/runtime 819s ok 42 /file/writev/too-big-vectors 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/writev/async/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/writev/async/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/writev/async/.dirs/system-config1:/tmp/test_file_7EKPK2/file/writev/async/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/writev/async/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/writev/async/.dirs/system-data1:/tmp/test_file_7EKPK2/file/writev/async/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/writev/async/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/writev/async/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/writev/async/.dirs/runtime 819s ok 43 /file/writev/async 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/writev/async_all/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/writev/async_all/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_7EKPK2/file/writev/async_all/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/writev/async_all/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_7EKPK2/file/writev/async_all/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/writev/async_all/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/writev/async_all/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/writev/async_all/.dirs/runtime 819s ok 44 /file/writev/async_all 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/writev/async_all-empty-vectors/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/writev/async_all-empty-vectors/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_7EKPK2/file/writev/async_all-empty-vectors/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/writev/async_all-empty-vectors/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_7EKPK2/file/writev/async_all-empty-vectors/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/writev/async_all-empty-vectors/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/writev/async_all-empty-vectors/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/writev/async_all-empty-vectors/.dirs/runtime 819s ok 45 /file/writev/async_all-empty-vectors 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/writev/async_all-no-vectors/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/writev/async_all-no-vectors/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_7EKPK2/file/writev/async_all-no-vectors/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/writev/async_all-no-vectors/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_7EKPK2/file/writev/async_all-no-vectors/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/writev/async_all-no-vectors/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/writev/async_all-no-vectors/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/writev/async_all-no-vectors/.dirs/runtime 819s ok 46 /file/writev/async_all-no-vectors 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/writev/async_all-to-big-vectors/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/writev/async_all-to-big-vectors/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_7EKPK2/file/writev/async_all-to-big-vectors/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/writev/async_all-to-big-vectors/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_7EKPK2/file/writev/async_all-to-big-vectors/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/writev/async_all-to-big-vectors/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/writev/async_all-to-big-vectors/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/writev/async_all-to-big-vectors/.dirs/runtime 819s ok 47 /file/writev/async_all-to-big-vectors 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/writev/async_all-cancellation/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/writev/async_all-cancellation/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_7EKPK2/file/writev/async_all-cancellation/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/writev/async_all-cancellation/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_7EKPK2/file/writev/async_all-cancellation/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/writev/async_all-cancellation/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/writev/async_all-cancellation/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/writev/async_all-cancellation/.dirs/runtime 819s ok 48 /file/writev/async_all-cancellation 819s # End of writev tests 819s # Start of from-uri tests 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/from-uri/ignores-query-string/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/from-uri/ignores-query-string/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_7EKPK2/file/from-uri/ignores-query-string/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/from-uri/ignores-query-string/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_7EKPK2/file/from-uri/ignores-query-string/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/from-uri/ignores-query-string/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/from-uri/ignores-query-string/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/from-uri/ignores-query-string/.dirs/runtime 819s ok 49 /file/from-uri/ignores-query-string 819s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_7EKPK2/file/from-uri/ignores-fragment/.dirs/home 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_7EKPK2/file/from-uri/ignores-fragment/.dirs/cache 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_7EKPK2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_7EKPK2/file/from-uri/ignores-fragment/.dirs/system-config2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_7EKPK2/file/from-uri/ignores-fragment/.dirs/config 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_7EKPK2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_7EKPK2/file/from-uri/ignores-fragment/.dirs/system-data2 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_7EKPK2/file/from-uri/ignores-fragment/.dirs/data 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_7EKPK2/file/from-uri/ignores-fragment/.dirs/state 819s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_7EKPK2/file/from-uri/ignores-fragment/.dirs/runtime 819s ok 50 /file/from-uri/ignores-fragment 819s # End of from-uri tests 819s # End of file tests 819s ok - glib/file.test 819s # Running test: glib/testing.test 819s TAP version 13 819s # random seed: R02S0ba5891258ea9ae0f79c271fef92cd27 819s 1..1 819s # Start of assert tests 819s ok 1 /assert/finalize_object 819s # Start of finalize_object tests 819s # Start of subprocess tests 819s # End of subprocess tests 819s # End of finalize_object tests 819s # End of assert tests 819s ok - glib/testing.test 819s # Running test: glib/utf8-validate.test 819s TAP version 13 819s # random seed: R02Sb1a5a69dcda3b6e178d7b42631ad0757 819s 1..216 819s # Start of utf8 tests 819s # Vector 0 819s # Vector 1 819s # Vector 2 819s # Vector 3 819s # Vector 4 819s # Vector 5 819s # Vector 6 819s # Vector 7 819s # Vector 8 819s # Vector 9 819s # Vector 10 819s # Vector 11 819s # Vector 12 819s # Vector 13 819s # Vector 14 819s # Vector 15 819s # Vector 16 819s # Vector 17 819s # Vector 18 819s # Vector 19 819s # Vector 20 819s # Vector 21 819s # Vector 22 819s # Vector 23 819s # Vector 24 819s # Vector 25 819s # Vector 26 819s # Vector 27 819s ok 1 /utf8/get-char-validated 819s # Start of validate tests 819s ok 2 /utf8/validate/0 819s ok 3 /utf8/validate/1 819s ok 4 /utf8/validate/2 819s ok 5 /utf8/validate/3 819s ok 6 /utf8/validate/4 819s ok 7 /utf8/validate/5 819s ok 8 /utf8/validate/6 819s ok 9 /utf8/validate/7 819s ok 10 /utf8/validate/8 819s ok 11 /utf8/validate/9 819s ok 12 /utf8/validate/10 819s ok 13 /utf8/validate/11 819s ok 14 /utf8/validate/12 819s ok 15 /utf8/validate/13 819s ok 16 /utf8/validate/14 819s ok 17 /utf8/validate/15 819s ok 18 /utf8/validate/16 819s ok 19 /utf8/validate/17 819s ok 20 /utf8/validate/18 819s ok 21 /utf8/validate/19 819s ok 22 /utf8/validate/20 819s ok 23 /utf8/validate/21 819s ok 24 /utf8/validate/22 819s ok 25 /utf8/validate/23 819s ok 26 /utf8/validate/24 819s ok 27 /utf8/validate/25 819s ok 28 /utf8/validate/26 819s ok 29 /utf8/validate/27 819s ok 30 /utf8/validate/28 819s ok 31 /utf8/validate/29 819s ok 32 /utf8/validate/30 819s ok 33 /utf8/validate/31 819s ok 34 /utf8/validate/32 819s ok 35 /utf8/validate/33 819s ok 36 /utf8/validate/34 819s ok 37 /utf8/validate/35 819s ok 38 /utf8/validate/36 819s ok 39 /utf8/validate/37 819s ok 40 /utf8/validate/38 819s ok 41 /utf8/validate/39 819s ok 42 /utf8/validate/40 819s ok 43 /utf8/validate/41 819s ok 44 /utf8/validate/42 819s ok 45 /utf8/validate/43 819s ok 46 /utf8/validate/44 819s ok 47 /utf8/validate/45 819s ok 48 /utf8/validate/46 819s ok 49 /utf8/validate/47 819s ok 50 /utf8/validate/48 819s ok 51 /utf8/validate/49 819s ok 52 /utf8/validate/50 819s ok 53 /utf8/validate/51 819s ok 54 /utf8/validate/52 819s ok 55 /utf8/validate/53 819s ok 56 /utf8/validate/54 819s ok 57 /utf8/validate/55 819s ok 58 /utf8/validate/56 819s ok 59 /utf8/validate/57 819s ok 60 /utf8/validate/58 819s ok 61 /utf8/validate/59 819s ok 62 /utf8/validate/60 819s ok 63 /utf8/validate/61 819s ok 64 /utf8/validate/62 819s ok 65 /utf8/validate/63 819s ok 66 /utf8/validate/64 819s ok 67 /utf8/validate/65 819s ok 68 /utf8/validate/66 819s ok 69 /utf8/validate/67 819s ok 70 /utf8/validate/68 819s ok 71 /utf8/validate/69 819s ok 72 /utf8/validate/70 819s ok 73 /utf8/validate/71 819s ok 74 /utf8/validate/72 819s ok 75 /utf8/validate/73 819s ok 76 /utf8/validate/74 819s ok 77 /utf8/validate/75 819s ok 78 /utf8/validate/76 819s ok 79 /utf8/validate/77 819s ok 80 /utf8/validate/78 819s ok 81 /utf8/validate/79 819s ok 82 /utf8/validate/80 819s ok 83 /utf8/validate/81 819s ok 84 /utf8/validate/82 819s ok 85 /utf8/validate/83 819s ok 86 /utf8/validate/84 819s ok 87 /utf8/validate/85 819s ok 88 /utf8/validate/86 819s ok 89 /utf8/validate/87 819s ok 90 /utf8/validate/88 819s ok 91 /utf8/validate/89 819s ok 92 /utf8/validate/90 819s ok 93 /utf8/validate/91 819s ok 94 /utf8/validate/92 819s ok 95 /utf8/validate/93 819s ok 96 /utf8/validate/94 819s ok 97 /utf8/validate/95 819s ok 98 /utf8/validate/96 819s ok 99 /utf8/validate/97 819s ok 100 /utf8/validate/98 819s ok 101 /utf8/validate/99 819s ok 102 /utf8/validate/100 819s ok 103 /utf8/validate/101 819s ok 104 /utf8/validate/102 819s ok 105 /utf8/validate/103 819s ok 106 /utf8/validate/104 819s ok 107 /utf8/validate/105 819s ok 108 /utf8/validate/106 819s ok 109 /utf8/validate/107 819s ok 110 /utf8/validate/108 819s ok 111 /utf8/validate/109 819s ok 112 /utf8/validate/110 819s ok 113 /utf8/validate/111 819s ok 114 /utf8/validate/112 819s ok 115 /utf8/validate/113 819s ok 116 /utf8/validate/114 819s ok 117 /utf8/validate/115 819s ok 118 /utf8/validate/116 819s ok 119 /utf8/validate/117 819s ok 120 /utf8/validate/118 819s ok 121 /utf8/validate/119 819s ok 122 /utf8/validate/120 819s ok 123 /utf8/validate/121 819s ok 124 /utf8/validate/122 819s ok 125 /utf8/validate/123 819s ok 126 /utf8/validate/124 819s ok 127 /utf8/validate/125 819s ok 128 /utf8/validate/126 819s ok 129 /utf8/validate/127 819s ok 130 /utf8/validate/128 819s ok 131 /utf8/validate/129 819s ok 132 /utf8/validate/130 819s ok 133 /utf8/validate/131 819s ok 134 /utf8/validate/132 819s ok 135 /utf8/validate/133 819s ok 136 /utf8/validate/134 819s ok 137 /utf8/validate/135 819s ok 138 /utf8/validate/136 819s ok 139 /utf8/validate/137 819s ok 140 /utf8/validate/138 819s ok 141 /utf8/validate/139 819s ok 142 /utf8/validate/140 819s ok 143 /utf8/validate/141 819s ok 144 /utf8/validate/142 819s ok 145 /utf8/validate/143 819s ok 146 /utf8/validate/144 819s ok 147 /utf8/validate/145 819s ok 148 /utf8/validate/146 819s ok 149 /utf8/validate/147 819s ok 150 /utf8/validate/148 819s ok 151 /utf8/validate/149 819s ok 152 /utf8/validate/150 819s ok 153 /utf8/validate/151 819s ok 154 /utf8/validate/152 819s ok 155 /utf8/validate/153 819s ok 156 /utf8/validate/154 819s ok 157 /utf8/validate/155 819s ok 158 /utf8/validate/156 819s ok 159 /utf8/validate/157 819s ok 160 /utf8/validate/158 819s ok 161 /utf8/validate/159 819s ok 162 /utf8/validate/160 819s ok 163 /utf8/validate/161 819s ok 164 /utf8/validate/162 819s ok 165 /utf8/validate/163 819s ok 166 /utf8/validate/164 819s ok 167 /utf8/validate/165 819s ok 168 /utf8/validate/166 819s ok 169 /utf8/validate/167 819s ok 170 /utf8/validate/168 819s ok 171 /utf8/validate/169 819s ok 172 /utf8/validate/170 819s ok 173 /utf8/validate/171 819s ok 174 /utf8/validate/172 819s ok 175 /utf8/validate/173 819s ok 176 /utf8/validate/174 819s ok 177 /utf8/validate/175 819s ok 178 /utf8/validate/176 819s ok 179 /utf8/validate/177 819s ok 180 /utf8/validate/178 819s ok 181 /utf8/validate/179 819s ok 182 /utf8/validate/180 819s ok 183 /utf8/validate/181 819s ok 184 /utf8/validate/182 819s ok 185 /utf8/validate/183 819s ok 186 /utf8/validate/184 819s ok 187 /utf8/validate/185 819s ok 188 /utf8/validate/186 819s ok 189 /utf8/validate/187 819s ok 190 /utf8/validate/188 819s ok 191 /utf8/validate/189 819s ok 192 /utf8/validate/190 819s ok 193 /utf8/validate/191 819s ok 194 /utf8/validate/192 819s ok 195 /utf8/validate/193 819s ok 196 /utf8/validate/194 819s ok 197 /utf8/validate/195 819s ok 198 /utf8/validate/196 819s ok 199 /utf8/validate/197 819s ok 200 /utf8/validate/198 819s ok 201 /utf8/validate/199 819s ok 202 /utf8/validate/200 819s ok 203 /utf8/validate/201 819s ok 204 /utf8/validate/202 819s ok 205 /utf8/validate/203 819s ok 206 /utf8/validate/204 819s ok 207 /utf8/validate/205 819s ok 208 /utf8/validate/206 819s ok 209 /utf8/validate/207 819s ok 210 /utf8/validate/208 819s ok 211 /utf8/validate/209 819s ok 212 /utf8/validate/210 819s ok 213 /utf8/validate/211 819s ok 214 /utf8/validate/212 819s ok 215 /utf8/validate/213 819s ok 216 /utf8/validate/214 819s # End of validate tests 819s # End of utf8 tests 819s ok - glib/utf8-validate.test 819s # Running test: glib/tls-interaction.test 819s TAP version 13 819s # random seed: R02Sa49fdeda0dc0dce301a2ec94916e26bf 819s 1..42 819s # Start of tls-interaction tests 819s # Start of ask-password tests 819s # Start of invoke-with-loop tests 819s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 819s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 819s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 819s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 819s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 819s # End of invoke-with-loop tests 819s # Start of invoke-without-loop tests 819s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 819s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 819s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 819s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 819s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 819s # End of invoke-without-loop tests 819s # Start of invoke-in-loop tests 819s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 819s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 819s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 819s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 819s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 819s # End of invoke-in-loop tests 819s # Start of sync tests 819s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 819s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 819s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 819s # End of sync tests 819s # Start of async tests 819s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 819s ok 20 /tls-interaction/ask-password/async/async-implementation-success 819s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 819s # End of async tests 819s # End of ask-password tests 819s # Start of request-certificate tests 819s # Start of invoke-with-loop tests 819s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 819s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 819s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 819s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 819s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 819s # End of invoke-with-loop tests 819s # Start of invoke-without-loop tests 819s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 819s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 819s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 819s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 819s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 819s # End of invoke-without-loop tests 819s # Start of invoke-in-loop tests 819s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 819s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 819s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 819s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 819s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 819s # End of invoke-in-loop tests 819s # Start of sync tests 819s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 819s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 819s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 819s # End of sync tests 819s # Start of async tests 819s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 819s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 819s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 819s # End of async tests 819s # End of request-certificate tests 819s # End of tls-interaction tests 819s ok - glib/tls-interaction.test 819s # Running test: glib/codegen.py.test 819s TAP version 13 819s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 819s # tmpdir: /tmp/tmpbmph59_f 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmpbmph59_f/tmpwptej0ts.xml: 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbmph59_f/tmpwptej0ts.xml', '--output', '-', '--header'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifndef __STDOUT__ 819s # #define __STDOUT__ 819s # 819s # #include 819s # 819s # G_BEGIN_DECLS 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # /* Declarations for org.project.UsefulInterface */ 819s # 819s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 819s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 819s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 819s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 819s # 819s # struct _OrgProjectUsefulInterface; 819s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 819s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 819s # 819s # struct _OrgProjectUsefulInterfaceIface 819s # { 819s # GTypeInterface parent_iface; 819s # 819s # gboolean (*handle_useful_method) ( 819s # OrgProjectUsefulInterface *object, 819s # GDBusMethodInvocation *invocation); 819s # 819s # }; 819s # 819s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 819s # 819s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 819s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 819s # 819s # 819s # /* D-Bus method call completion functions: */ 819s # void org_project_useful_interface_complete_useful_method ( 819s # OrgProjectUsefulInterface *object, 819s # GDBusMethodInvocation *invocation); 819s # 819s # 819s # 819s # /* D-Bus method calls: */ 819s # void org_project_useful_interface_call_useful_method ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data); 819s # 819s # gboolean org_project_useful_interface_call_useful_method_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GAsyncResult *res, 819s # GError **error); 819s # 819s # gboolean org_project_useful_interface_call_useful_method_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GError **error); 819s # 819s # 819s # 819s # /* ---- */ 819s # 819s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 819s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 819s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 819s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 819s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 819s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 819s # 819s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 819s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 819s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 819s # 819s # struct _OrgProjectUsefulInterfaceProxy 819s # { 819s # /*< private >*/ 819s # GDBusProxy parent_instance; 819s # OrgProjectUsefulInterfaceProxyPrivate *priv; 819s # }; 819s # 819s # struct _OrgProjectUsefulInterfaceProxyClass 819s # { 819s # GDBusProxyClass parent_class; 819s # }; 819s # 819s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 819s # 819s # #if GLIB_CHECK_VERSION(2, 44, 0) 819s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 819s # #endif 819s # 819s # void org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data); 819s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error); 819s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error); 819s # 819s # void org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data); 819s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error); 819s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error); 819s # 819s # 819s # /* ---- */ 819s # 819s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 819s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 819s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 819s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 819s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 819s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 819s # 819s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 819s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 819s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 819s # 819s # struct _OrgProjectUsefulInterfaceSkeleton 819s # { 819s # /*< private >*/ 819s # GDBusInterfaceSkeleton parent_instance; 819s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 819s # }; 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonClass 819s # { 819s # GDBusInterfaceSkeletonClass parent_class; 819s # }; 819s # 819s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 819s # 819s # #if GLIB_CHECK_VERSION(2, 44, 0) 819s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 819s # #endif 819s # 819s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 819s # 819s # 819s # G_END_DECLS 819s # 819s # #endif /* __STDOUT__ */ 819s # /tmp/tmpbmph59_f/tmp0pch3_cq.xml: 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbmph59_f/tmp0pch3_cq.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifndef __STDOUT__ 819s # #define __STDOUT__ 819s # 819s # #include 819s # 819s # G_BEGIN_DECLS 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # /* Declarations for org.project.UsefulInterface */ 819s # 819s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 819s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 819s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 819s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 819s # 819s # struct _OrgProjectUsefulInterface; 819s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 819s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 819s # 819s # struct _OrgProjectUsefulInterfaceIface 819s # { 819s # GTypeInterface parent_iface; 819s # 819s # gboolean (*handle_useful_method) ( 819s # OrgProjectUsefulInterface *object, 819s # GDBusMethodInvocation *invocation); 819s # 819s # }; 819s # 819s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 819s # 819s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 819s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 819s # 819s # 819s # /* D-Bus method call completion functions: */ 819s # void org_project_useful_interface_complete_useful_method ( 819s # OrgProjectUsefulInterface *object, 819s # GDBusMethodInvocation *invocation); 819s # 819s # 819s # 819s # /* D-Bus method calls: */ 819s # void org_project_useful_interface_call_useful_method ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data); 819s # 819s # gboolean org_project_useful_interface_call_useful_method_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GAsyncResult *res, 819s # GError **error); 819s # 819s # gboolean org_project_useful_interface_call_useful_method_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GError **error); 819s # 819s # 819s # 819s # /* ---- */ 819s # 819s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 819s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 819s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 819s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 819s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 819s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 819s # 819s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 819s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 819s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 819s # 819s # struct _OrgProjectUsefulInterfaceProxy 819s # { 819s # /*< private >*/ 819s # GDBusProxy parent_instance; 819s # OrgProjectUsefulInterfaceProxyPrivate *priv; 819s # }; 819s # 819s # struct _OrgProjectUsefulInterfaceProxyClass 819s # { 819s # GDBusProxyClass parent_class; 819s # }; 819s # 819s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 819s # 819s # #if GLIB_CHECK_VERSION(2, 44, 0) 819s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 819s # #endif 819s # 819s # void org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data); 819s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error); 819s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error); 819s # 819s # void org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data); 819s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error); 819s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error); 819s # 819s # 819s # /* ---- */ 819s # 819s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 819s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 819s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 819s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 819s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 819s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 819s # 819s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 819s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 819s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 819s # 819s # struct _OrgProjectUsefulInterfaceSkeleton 819s # { 819s # /*< private >*/ 819s # GDBusInterfaceSkeleton parent_instance; 819s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 819s # }; 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonClass 819s # { 819s # GDBusInterfaceSkeletonClass parent_class; 819s # }; 819s # 819s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 819s # 819s # #if GLIB_CHECK_VERSION(2, 44, 0) 819s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 819s # #endif 819s # 819s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 819s # 819s # 819s # G_END_DECLS 819s # 819s # #endif /* __STDOUT__ */ 819s # /tmp/tmpbmph59_f/tmpu3pdwrrd.xml: 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbmph59_f/tmpu3pdwrrd.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifndef __STDOUT__ 819s # #define __STDOUT__ 819s # 819s # #include 819s # 819s # G_BEGIN_DECLS 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # /* Declarations for org.project.UsefulInterface */ 819s # 819s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 819s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 819s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 819s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 819s # 819s # struct _OrgProjectUsefulInterface; 819s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 819s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 819s # 819s # struct _OrgProjectUsefulInterfaceIface 819s # { 819s # GTypeInterface parent_iface; 819s # 819s # gboolean (*handle_useful_method) ( 819s # OrgProjectUsefulInterface *object, 819s # GDBusMethodInvocation *invocation); 819s # 819s # }; 819s # 819s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 819s # 819s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 819s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 819s # 819s # 819s # /* D-Bus method call completion functions: */ 819s # void org_project_useful_interface_complete_useful_method ( 819s # OrgProjectUsefulInterface *object, 819s # GDBusMethodInvocation *invocation); 819s # 819s # 819s # 819s # /* D-Bus method calls: */ 819s # void org_project_useful_interface_call_useful_method ( 819s # OrgProjectUsefulInterface *proxy, 819s # GDBusCallFlags call_flags, 819s # gint timeout_msec, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data); 819s # 819s # gboolean org_project_useful_interface_call_useful_method_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GAsyncResult *res, 819s # GError **error); 819s # 819s # gboolean org_project_useful_interface_call_useful_method_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # GDBusCallFlags call_flags, 819s # gint timeout_msec, 819s # GCancellable *cancellable, 819s # GError **error); 819s # 819s # 819s # 819s # /* ---- */ 819s # 819s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 819s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 819s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 819s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 819s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 819s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 819s # 819s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 819s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 819s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 819s # 819s # struct _OrgProjectUsefulInterfaceProxy 819s # { 819s # /*< private >*/ 819s # GDBusProxy parent_instance; 819s # OrgProjectUsefulInterfaceProxyPrivate *priv; 819s # }; 819s # 819s # struct _OrgProjectUsefulInterfaceProxyClass 819s # { 819s # GDBusProxyClass parent_class; 819s # }; 819s # 819s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 819s # 819s # #if GLIB_CHECK_VERSION(2, 44, 0) 819s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 819s # #endif 819s # 819s # void org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data); 819s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error); 819s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error); 819s # 819s # void org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data); 819s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error); 819s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error); 819s # 819s # 819s # /* ---- */ 819s # 819s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 819s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 819s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 819s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 819s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 819s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 819s # 819s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 819s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 819s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 819s # 819s # struct _OrgProjectUsefulInterfaceSkeleton 819s # { 819s # /*< private >*/ 819s # GDBusInterfaceSkeleton parent_instance; 819s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 819s # }; 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonClass 819s # { 819s # GDBusInterfaceSkeletonClass parent_class; 819s # }; 819s # 819s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 819s # 819s # #if GLIB_CHECK_VERSION(2, 44, 0) 819s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 819s # #endif 819s # 819s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 819s # 819s # 819s # G_END_DECLS 819s # 819s # #endif /* __STDOUT__ */ 819s ok 2 __main__.TestCodegen.test_dbus_types 819s # tmpdir: /tmp/tmp0hnojymh 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmp0hnojymh/tmp7rk1s0j4.xml: 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hnojymh/tmp7rk1s0j4.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # /tmp/tmp0hnojymh/tmpa51xdoig.xml: 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hnojymh/tmpa51xdoig.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # /tmp/tmp0hnojymh/tmpsx8c2jm3.xml: 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hnojymh/tmpsx8c2jm3.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # /tmp/tmp0hnojymh/tmpbl2bqyot.xml: 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hnojymh/tmpbl2bqyot.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # /tmp/tmp0hnojymh/tmp7ywprejt.xml: 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hnojymh/tmp7ywprejt.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # /tmp/tmp0hnojymh/tmp196vyxhv.xml: 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hnojymh/tmp196vyxhv.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # /tmp/tmp0hnojymh/tmp1tmm9sj1.xml: 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hnojymh/tmp1tmm9sj1.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # /tmp/tmp0hnojymh/tmploqbbn6f.xml: 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hnojymh/tmploqbbn6f.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # /tmp/tmp0hnojymh/tmpnmughzw6.xml: 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hnojymh/tmpnmughzw6.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # /tmp/tmp0hnojymh/tmp1dav9vq5.xml: 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hnojymh/tmp1dav9vq5.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # /tmp/tmp0hnojymh/tmpfaa0e35i.xml: 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hnojymh/tmpfaa0e35i.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # /tmp/tmp0hnojymh/tmp5gnzfy61.xml: 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hnojymh/tmp5gnzfy61.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # /tmp/tmp0hnojymh/tmpmzlees00.xml: 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hnojymh/tmpmzlees00.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # /tmp/tmp0hnojymh/tmpc_nux4_r.xml: 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hnojymh/tmpc_nux4_r.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface GoodTypes 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:GoodTypes 819s # * @title: GoodTypes 819s # * @short_description: Generated C code for the GoodTypes D-Bus interface 819s # * 819s # * This section contains code for working with the GoodTypes D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for GoodTypes ---- */ 819s # 819s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 819s # { 819s # { 819s # -1, 819s # (gchar *) "GoodPropertyType", 819s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 819s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 819s # NULL 819s # }, 819s # "good-property-type", 819s # FALSE, 819s # TRUE 819s # }; 819s # 819s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 819s # { 819s # &_good_types_property_info_good_property_type.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "GoodTypes", 819s # NULL, 819s # NULL, 819s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 819s # NULL 819s # }, 819s # "good-types", 819s # }; 819s # 819s # 819s # /** 819s # * good_types_interface_info: 819s # * 819s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # good_types_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * good_types_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 819s # { 819s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # 819s # /** 819s # * GoodTypes: 819s # * 819s # * Abstract interface type for the D-Bus interface GoodTypes. 819s # */ 819s # 819s # /** 819s # * GoodTypesIface: 819s # * @parent_iface: The parent interface. 819s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 819s # * 819s # * Virtual table for the D-Bus interface GoodTypes. 819s # */ 819s # 819s # typedef GoodTypesIface GoodTypesInterface; 819s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 819s # 819s # static void 819s # good_types_default_init (GoodTypesIface *iface) 819s # { 819s # /* GObject properties for D-Bus properties: */ 819s # /** 819s # * GoodTypes:good-property-type: 819s # * 819s # * Represents the D-Bus property "GoodPropertyType". 819s # * 819s # * 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. 819s # */ 819s # g_object_interface_install_property (iface, 819s # 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)); 819s # } 819s # 819s # /** 819s # * good_types_get_good_property_type: (skip) 819s # * @object: A GoodTypes. 819s # * 819s # * Gets the value of the "GoodPropertyType" D-Bus property. 819s # * 819s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # GVariant * 819s # good_types_get_good_property_type (GoodTypes *object) 819s # { 819s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 819s # 819s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 819s # } 819s # 819s # /** 819s # * good_types_dup_good_property_type: (skip) 819s # * @object: A GoodTypes. 819s # * 819s # * Gets a copy of the "GoodPropertyType" D-Bus property. 819s # * 819s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 819s # * 819s # * 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(). 819s # */ 819s # GVariant * 819s # good_types_dup_good_property_type (GoodTypes *object) 819s # { 819s # GVariant *value; 819s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 819s # return value; 819s # } 819s # 819s # /** 819s # * good_types_set_good_property_type: (skip) 819s # * @object: A GoodTypes. 819s # * @value: The value to set. 819s # * 819s # * Sets the "GoodPropertyType" D-Bus property to @value. 819s # * 819s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 819s # */ 819s # void 819s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 819s # { 819s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * GoodTypesProxy: 819s # * 819s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * GoodTypesProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for GoodTypesProxy. 819s # */ 819s # 819s # struct _GoodTypesProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (GoodTypesProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # good_types_proxy_finalize (GObject *object) 819s # { 819s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # good_types_proxy_get_property (GObject *object, 819s # guint prop_id, 819s # GValue *value, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # GVariant *variant; 819s # g_assert (prop_id != 0 && prop_id - 1 < 1); 819s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 819s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 819s # if (info->use_gvariant) 819s # { 819s # g_value_set_variant (value, variant); 819s # } 819s # else 819s # { 819s # if (variant != NULL) 819s # g_dbus_gvariant_to_gvalue (variant, value); 819s # } 819s # if (variant != NULL) 819s # g_variant_unref (variant); 819s # } 819s # 819s # static void 819s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 819s # GAsyncResult *res, 819s # gpointer user_data) 819s # { 819s # const _ExtendedGDBusPropertyInfo *info = user_data; 819s # GError *error; 819s # GVariant *_ret; 819s # error = NULL; 819s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 819s # if (!_ret) 819s # { 819s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 819s # info->parent_struct.name, 819s # error->message, g_quark_to_string (error->domain), error->code); 819s # g_error_free (error); 819s # } 819s # else 819s # { 819s # g_variant_unref (_ret); 819s # } 819s # } 819s # 819s # static void 819s # good_types_proxy_set_property (GObject *object, 819s # guint prop_id, 819s # const GValue *value, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # GVariant *variant; 819s # g_assert (prop_id != 0 && prop_id - 1 < 1); 819s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 819s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_dbus_proxy_call (G_DBUS_PROXY (object), 819s # "org.freedesktop.DBus.Properties.Set", 819s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 819s # g_variant_unref (variant); 819s # } 819s # 819s # static void 819s # good_types_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static GVariant * 819s # good_types_proxy_get_good_property_type (GoodTypes *object) 819s # { 819s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 819s # GVariant *variant; 819s # GVariant *value = NULL; 819s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 819s # value = variant; 819s # if (variant != NULL) 819s # g_variant_unref (variant); 819s # return value; 819s # } 819s # 819s # static void 819s # good_types_proxy_init (GoodTypesProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = good_types_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 819s # } 819s # 819s # static void 819s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = good_types_proxy_finalize; 819s # gobject_class->get_property = good_types_proxy_get_property; 819s # gobject_class->set_property = good_types_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = good_types_proxy_g_signal; 819s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 819s # 819s # good_types_override_properties (gobject_class, 1); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # good_types_proxy_iface_init (GoodTypesIface *iface) 819s # { 819s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 819s # } 819s # 819s # /** 819s # * good_types_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # good_types_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * good_types_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with good_types_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # GoodTypes * 819s # good_types_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return GOOD_TYPES (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * good_types_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See good_types_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # GoodTypes * 819s # good_types_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return GOOD_TYPES (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * good_types_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # good_types_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * good_types_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with good_types_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # GoodTypes * 819s # good_types_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return GOOD_TYPES (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * good_types_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # GoodTypes * 819s # good_types_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return GOOD_TYPES (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * GoodTypesSkeleton: 819s # * 819s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * GoodTypesSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for GoodTypesSkeleton. 819s # */ 819s # 819s # struct _GoodTypesSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _good_types_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _good_types_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _good_types_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 819s # { 819s # _good_types_skeleton_handle_method_call, 819s # _good_types_skeleton_handle_get_property, 819s # _good_types_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return good_types_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_good_types_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static gboolean _good_types_emit_changed (gpointer user_data); 819s # 819s # static void 819s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 819s # gboolean emit_changed = FALSE; 819s # 819s # g_mutex_lock (&skeleton->priv->lock); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # { 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # skeleton->priv->changed_properties_idle_source = NULL; 819s # emit_changed = TRUE; 819s # } 819s # g_mutex_unlock (&skeleton->priv->lock); 819s # 819s # if (emit_changed) 819s # _good_types_emit_changed (skeleton); 819s # } 819s # 819s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (GoodTypesSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # good_types_skeleton_finalize (GObject *object) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 819s # guint n; 819s # for (n = 0; n < 1; n++) 819s # g_value_unset (&skeleton->priv->properties[n]); 819s # g_free (skeleton->priv->properties); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # good_types_skeleton_get_property (GObject *object, 819s # guint prop_id, 819s # GValue *value, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 819s # g_assert (prop_id != 0 && prop_id - 1 < 1); 819s # g_mutex_lock (&skeleton->priv->lock); 819s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 819s # g_mutex_unlock (&skeleton->priv->lock); 819s # } 819s # 819s # static gboolean 819s # _good_types_emit_changed (gpointer user_data) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 819s # GList *l; 819s # GVariantBuilder builder; 819s # GVariantBuilder invalidated_builder; 819s # guint num_changes; 819s # 819s # g_mutex_lock (&skeleton->priv->lock); 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 819s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 819s # { 819s # ChangedProperty *cp = l->data; 819s # GVariant *variant; 819s # const GValue *cur_value; 819s # 819s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 819s # if (!_g_value_equal (cur_value, &cp->orig_value)) 819s # { 819s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 819s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 819s # g_variant_unref (variant); 819s # num_changes++; 819s # } 819s # } 819s # if (num_changes > 0) 819s # { 819s # GList *connections, *ll; 819s # GVariant *signal_variant; 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 819s # &builder, &invalidated_builder)); 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # for (ll = connections; ll != NULL; ll = ll->next) 819s # { 819s # GDBusConnection *connection = ll->data; 819s # 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 819s # "org.freedesktop.DBus.Properties", 819s # "PropertiesChanged", 819s # signal_variant, 819s # NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # else 819s # { 819s # g_variant_builder_clear (&builder); 819s # g_variant_builder_clear (&invalidated_builder); 819s # } 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # skeleton->priv->changed_properties = NULL; 819s # skeleton->priv->changed_properties_idle_source = NULL; 819s # g_mutex_unlock (&skeleton->priv->lock); 819s # return FALSE; 819s # } 819s # 819s # static void 819s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 819s # { 819s # ChangedProperty *cp; 819s # GList *l; 819s # cp = NULL; 819s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 819s # { 819s # ChangedProperty *i_cp = l->data; 819s # if (i_cp->info == info) 819s # { 819s # cp = i_cp; 819s # break; 819s # } 819s # } 819s # if (cp == NULL) 819s # { 819s # cp = g_new0 (ChangedProperty, 1); 819s # cp->prop_id = prop_id; 819s # cp->info = info; 819s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 819s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 819s # g_value_copy (orig_value, &cp->orig_value); 819s # } 819s # } 819s # 819s # static void 819s # good_types_skeleton_notify (GObject *object, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 819s # g_mutex_lock (&skeleton->priv->lock); 819s # if (skeleton->priv->changed_properties != NULL && 819s # skeleton->priv->changed_properties_idle_source == NULL) 819s # { 819s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 819s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 819s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 819s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 819s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 819s # g_source_unref (skeleton->priv->changed_properties_idle_source); 819s # } 819s # g_mutex_unlock (&skeleton->priv->lock); 819s # } 819s # 819s # static void 819s # good_types_skeleton_set_property (GObject *object, 819s # guint prop_id, 819s # const GValue *value, 819s # GParamSpec *pspec) 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 819s # g_assert (prop_id != 0 && prop_id - 1 < 1); 819s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 819s # g_mutex_lock (&skeleton->priv->lock); 819s # g_object_freeze_notify (object); 819s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 819s # { 819s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 819s # info->emits_changed_signal) 819s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 819s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 819s # g_object_notify_by_pspec (object, pspec); 819s # } 819s # g_mutex_unlock (&skeleton->priv->lock); 819s # g_object_thaw_notify (object); 819s # } 819s # 819s # static void 819s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # skeleton->priv->properties = g_new0 (GValue, 1); 819s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 819s # } 819s # 819s # static GVariant * 819s # good_types_skeleton_get_good_property_type (GoodTypes *object) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 819s # GVariant *value; 819s # g_mutex_lock (&skeleton->priv->lock); 819s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 819s # g_mutex_unlock (&skeleton->priv->lock); 819s # return value; 819s # } 819s # 819s # static void 819s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = good_types_skeleton_finalize; 819s # gobject_class->get_property = good_types_skeleton_get_property; 819s # gobject_class->set_property = good_types_skeleton_set_property; 819s # gobject_class->notify = good_types_skeleton_notify; 819s # 819s # 819s # good_types_override_properties (gobject_class, 1); 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # good_types_skeleton_iface_init (GoodTypesIface *iface) 819s # { 819s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 819s # } 819s # 819s # /** 819s # * good_types_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface GoodTypes. 819s # * 819s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 819s # */ 819s # GoodTypes * 819s # good_types_skeleton_new (void) 819s # { 819s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 819s # } 819s # /tmp/tmp0hnojymh/tmp0wjm96o5.xml: 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hnojymh/tmp0wjm96o5.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface GoodTypes 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:GoodTypes 819s # * @title: GoodTypes 819s # * @short_description: Generated C code for the GoodTypes D-Bus interface 819s # * 819s # * This section contains code for working with the GoodTypes D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for GoodTypes ---- */ 819s # 819s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 819s # { 819s # { 819s # -1, 819s # (gchar *) "GoodPropertyType", 819s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 819s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 819s # NULL 819s # }, 819s # "good-property-type", 819s # FALSE, 819s # TRUE 819s # }; 819s # 819s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 819s # { 819s # &_good_types_property_info_good_property_type.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "GoodTypes", 819s # NULL, 819s # NULL, 819s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 819s # NULL 819s # }, 819s # "good-types", 819s # }; 819s # 819s # 819s # /** 819s # * good_types_interface_info: 819s # * 819s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # good_types_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * good_types_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 819s # { 819s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # 819s # /** 819s # * GoodTypes: 819s # * 819s # * Abstract interface type for the D-Bus interface GoodTypes. 819s # */ 819s # 819s # /** 819s # * GoodTypesIface: 819s # * @parent_iface: The parent interface. 819s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 819s # * 819s # * Virtual table for the D-Bus interface GoodTypes. 819s # */ 819s # 819s # typedef GoodTypesIface GoodTypesInterface; 819s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 819s # 819s # static void 819s # good_types_default_init (GoodTypesIface *iface) 819s # { 819s # /* GObject properties for D-Bus properties: */ 819s # /** 819s # * GoodTypes:good-property-type: 819s # * 819s # * Represents the D-Bus property "GoodPropertyType". 819s # * 819s # * 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. 819s # */ 819s # g_object_interface_install_property (iface, 819s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 819s # } 819s # 819s # /** 819s # * good_types_get_good_property_type: (skip) 819s # * @object: A GoodTypes. 819s # * 819s # * Gets the value of the "GoodPropertyType" D-Bus property. 819s # * 819s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # GVariant * 819s # good_types_get_good_property_type (GoodTypes *object) 819s # { 819s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 819s # 819s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 819s # } 819s # 819s # /** 819s # * good_types_dup_good_property_type: (skip) 819s # * @object: A GoodTypes. 819s # * 819s # * Gets a copy of the "GoodPropertyType" D-Bus property. 819s # * 819s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 819s # * 819s # * 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(). 819s # */ 819s # GVariant * 819s # good_types_dup_good_property_type (GoodTypes *object) 819s # { 819s # GVariant *value; 819s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 819s # return value; 819s # } 819s # 819s # /** 819s # * good_types_set_good_property_type: (skip) 819s # * @object: A GoodTypes. 819s # * @value: The value to set. 819s # * 819s # * Sets the "GoodPropertyType" D-Bus property to @value. 819s # * 819s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 819s # */ 819s # void 819s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 819s # { 819s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * GoodTypesProxy: 819s # * 819s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * GoodTypesProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for GoodTypesProxy. 819s # */ 819s # 819s # struct _GoodTypesProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (GoodTypesProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # good_types_proxy_finalize (GObject *object) 819s # { 819s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # good_types_proxy_get_property (GObject *object, 819s # guint prop_id, 819s # GValue *value, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # GVariant *variant; 819s # g_assert (prop_id != 0 && prop_id - 1 < 1); 819s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 819s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 819s # if (info->use_gvariant) 819s # { 819s # g_value_set_variant (value, variant); 819s # } 819s # else 819s # { 819s # if (variant != NULL) 819s # g_dbus_gvariant_to_gvalue (variant, value); 819s # } 819s # if (variant != NULL) 819s # g_variant_unref (variant); 819s # } 819s # 819s # static void 819s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 819s # GAsyncResult *res, 819s # gpointer user_data) 819s # { 819s # const _ExtendedGDBusPropertyInfo *info = user_data; 819s # GError *error; 819s # GVariant *_ret; 819s # error = NULL; 819s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 819s # if (!_ret) 819s # { 819s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 819s # info->parent_struct.name, 819s # error->message, g_quark_to_string (error->domain), error->code); 819s # g_error_free (error); 819s # } 819s # else 819s # { 819s # g_variant_unref (_ret); 819s # } 819s # } 819s # 819s # static void 819s # good_types_proxy_set_property (GObject *object, 819s # guint prop_id, 819s # const GValue *value, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # GVariant *variant; 819s # g_assert (prop_id != 0 && prop_id - 1 < 1); 819s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 819s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_dbus_proxy_call (G_DBUS_PROXY (object), 819s # "org.freedesktop.DBus.Properties.Set", 819s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 819s # g_variant_unref (variant); 819s # } 819s # 819s # static void 819s # good_types_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static GVariant * 819s # good_types_proxy_get_good_property_type (GoodTypes *object) 819s # { 819s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 819s # GVariant *variant; 819s # GVariant *value = NULL; 819s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 819s # value = variant; 819s # if (variant != NULL) 819s # g_variant_unref (variant); 819s # return value; 819s # } 819s # 819s # static void 819s # good_types_proxy_init (GoodTypesProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = good_types_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 819s # } 819s # 819s # static void 819s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = good_types_proxy_finalize; 819s # gobject_class->get_property = good_types_proxy_get_property; 819s # gobject_class->set_property = good_types_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = good_types_proxy_g_signal; 819s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 819s # 819s # good_types_override_properties (gobject_class, 1); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # good_types_proxy_iface_init (GoodTypesIface *iface) 819s # { 819s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 819s # } 819s # 819s # /** 819s # * good_types_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # good_types_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * good_types_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with good_types_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # GoodTypes * 819s # good_types_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return GOOD_TYPES (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * good_types_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See good_types_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # GoodTypes * 819s # good_types_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return GOOD_TYPES (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * good_types_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # good_types_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * good_types_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with good_types_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # GoodTypes * 819s # good_types_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return GOOD_TYPES (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * good_types_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # GoodTypes * 819s # good_types_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return GOOD_TYPES (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * GoodTypesSkeleton: 819s # * 819s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * GoodTypesSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for GoodTypesSkeleton. 819s # */ 819s # 819s # struct _GoodTypesSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _good_types_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _good_types_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _good_types_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 819s # { 819s # _good_types_skeleton_handle_method_call, 819s # _good_types_skeleton_handle_get_property, 819s # _good_types_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return good_types_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_good_types_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static gboolean _good_types_emit_changed (gpointer user_data); 819s # 819s # static void 819s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 819s # gboolean emit_changed = FALSE; 819s # 819s # g_mutex_lock (&skeleton->priv->lock); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # { 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # skeleton->priv->changed_properties_idle_source = NULL; 819s # emit_changed = TRUE; 819s # } 819s # g_mutex_unlock (&skeleton->priv->lock); 819s # 819s # if (emit_changed) 819s # _good_types_emit_changed (skeleton); 819s # } 819s # 819s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (GoodTypesSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # good_types_skeleton_finalize (GObject *object) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 819s # guint n; 819s # for (n = 0; n < 1; n++) 819s # g_value_unset (&skeleton->priv->properties[n]); 819s # g_free (skeleton->priv->properties); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # good_types_skeleton_get_property (GObject *object, 819s # guint prop_id, 819s # GValue *value, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 819s # g_assert (prop_id != 0 && prop_id - 1 < 1); 819s # g_mutex_lock (&skeleton->priv->lock); 819s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 819s # g_mutex_unlock (&skeleton->priv->lock); 819s # } 819s # 819s # static gboolean 819s # _good_types_emit_changed (gpointer user_data) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 819s # GList *l; 819s # GVariantBuilder builder; 819s # GVariantBuilder invalidated_builder; 819s # guint num_changes; 819s # 819s # g_mutex_lock (&skeleton->priv->lock); 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 819s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 819s # { 819s # ChangedProperty *cp = l->data; 819s # GVariant *variant; 819s # const GValue *cur_value; 819s # 819s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 819s # if (!_g_value_equal (cur_value, &cp->orig_value)) 819s # { 819s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 819s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 819s # g_variant_unref (variant); 819s # num_changes++; 819s # } 819s # } 819s # if (num_changes > 0) 819s # { 819s # GList *connections, *ll; 819s # GVariant *signal_variant; 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 819s # &builder, &invalidated_builder)); 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # for (ll = connections; ll != NULL; ll = ll->next) 819s # { 819s # GDBusConnection *connection = ll->data; 819s # 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 819s # "org.freedesktop.DBus.Properties", 819s # "PropertiesChanged", 819s # signal_variant, 819s # NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # else 819s # { 819s # g_variant_builder_clear (&builder); 819s # g_variant_builder_clear (&invalidated_builder); 819s # } 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # skeleton->priv->changed_properties = NULL; 819s # skeleton->priv->changed_properties_idle_source = NULL; 819s # g_mutex_unlock (&skeleton->priv->lock); 819s # return FALSE; 819s # } 819s # 819s # static void 819s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 819s # { 819s # ChangedProperty *cp; 819s # GList *l; 819s # cp = NULL; 819s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 819s # { 819s # ChangedProperty *i_cp = l->data; 819s # if (i_cp->info == info) 819s # { 819s # cp = i_cp; 819s # break; 819s # } 819s # } 819s # if (cp == NULL) 819s # { 819s # cp = g_new0 (ChangedProperty, 1); 819s # cp->prop_id = prop_id; 819s # cp->info = info; 819s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 819s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 819s # g_value_copy (orig_value, &cp->orig_value); 819s # } 819s # } 819s # 819s # static void 819s # good_types_skeleton_notify (GObject *object, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 819s # g_mutex_lock (&skeleton->priv->lock); 819s # if (skeleton->priv->changed_properties != NULL && 819s # skeleton->priv->changed_properties_idle_source == NULL) 819s # { 819s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 819s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 819s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 819s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 819s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 819s # g_source_unref (skeleton->priv->changed_properties_idle_source); 819s # } 819s # g_mutex_unlock (&skeleton->priv->lock); 819s # } 819s # 819s # static void 819s # good_types_skeleton_set_property (GObject *object, 819s # guint prop_id, 819s # const GValue *value, 819s # GParamSpec *pspec) 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 819s # g_assert (prop_id != 0 && prop_id - 1 < 1); 819s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 819s # g_mutex_lock (&skeleton->priv->lock); 819s # g_object_freeze_notify (object); 819s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 819s # { 819s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 819s # info->emits_changed_signal) 819s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 819s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 819s # g_object_notify_by_pspec (object, pspec); 819s # } 819s # g_mutex_unlock (&skeleton->priv->lock); 819s # g_object_thaw_notify (object); 819s # } 819s # 819s # static void 819s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # skeleton->priv->properties = g_new0 (GValue, 1); 819s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 819s # } 819s # 819s # static GVariant * 819s # good_types_skeleton_get_good_property_type (GoodTypes *object) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 819s # GVariant *value; 819s # g_mutex_lock (&skeleton->priv->lock); 819s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 819s # g_mutex_unlock (&skeleton->priv->lock); 819s # return value; 819s # } 819s # 819s # static void 819s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = good_types_skeleton_finalize; 819s # gobject_class->get_property = good_types_skeleton_get_property; 819s # gobject_class->set_property = good_types_skeleton_set_property; 819s # gobject_class->notify = good_types_skeleton_notify; 819s # 819s # 819s # good_types_override_properties (gobject_class, 1); 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # good_types_skeleton_iface_init (GoodTypesIface *iface) 819s # { 819s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 819s # } 819s # 819s # /** 819s # * good_types_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface GoodTypes. 819s # * 819s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 819s # */ 819s # GoodTypes * 819s # good_types_skeleton_new (void) 819s # { 819s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 819s # } 819s # /tmp/tmp0hnojymh/tmpgvl62jnq.xml: 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hnojymh/tmpgvl62jnq.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface GoodTypes 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:GoodTypes 819s # * @title: GoodTypes 819s # * @short_description: Generated C code for the GoodTypes D-Bus interface 819s # * 819s # * This section contains code for working with the GoodTypes D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for GoodTypes ---- */ 819s # 819s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 819s # { 819s # { 819s # -1, 819s # (gchar *) "GoodPropertyType", 819s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 819s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 819s # NULL 819s # }, 819s # "good-property-type", 819s # FALSE, 819s # TRUE 819s # }; 819s # 819s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 819s # { 819s # &_good_types_property_info_good_property_type.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "GoodTypes", 819s # NULL, 819s # NULL, 819s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 819s # NULL 819s # }, 819s # "good-types", 819s # }; 819s # 819s # 819s # /** 819s # * good_types_interface_info: 819s # * 819s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # good_types_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * good_types_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 819s # { 819s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # 819s # /** 819s # * GoodTypes: 819s # * 819s # * Abstract interface type for the D-Bus interface GoodTypes. 819s # */ 819s # 819s # /** 819s # * GoodTypesIface: 819s # * @parent_iface: The parent interface. 819s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 819s # * 819s # * Virtual table for the D-Bus interface GoodTypes. 819s # */ 819s # 819s # typedef GoodTypesIface GoodTypesInterface; 819s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 819s # 819s # static void 819s # good_types_default_init (GoodTypesIface *iface) 819s # { 819s # /* GObject properties for D-Bus properties: */ 819s # /** 819s # * GoodTypes:good-property-type: 819s # * 819s # * Represents the D-Bus property "GoodPropertyType". 819s # * 819s # * 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. 819s # */ 819s # g_object_interface_install_property (iface, 819s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 819s # } 819s # 819s # /** 819s # * good_types_get_good_property_type: (skip) 819s # * @object: A GoodTypes. 819s # * 819s # * Gets the value of the "GoodPropertyType" D-Bus property. 819s # * 819s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # GVariant * 819s # good_types_get_good_property_type (GoodTypes *object) 819s # { 819s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 819s # 819s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 819s # } 819s # 819s # /** 819s # * good_types_dup_good_property_type: (skip) 819s # * @object: A GoodTypes. 819s # * 819s # * Gets a copy of the "GoodPropertyType" D-Bus property. 819s # * 819s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 819s # * 819s # * 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(). 819s # */ 819s # GVariant * 819s # good_types_dup_good_property_type (GoodTypes *object) 819s # { 819s # GVariant *value; 819s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 819s # return value; 819s # } 819s # 819s # /** 819s # * good_types_set_good_property_type: (skip) 819s # * @object: A GoodTypes. 819s # * @value: The value to set. 819s # * 819s # * Sets the "GoodPropertyType" D-Bus property to @value. 819s # * 819s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 819s # */ 819s # void 819s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 819s # { 819s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * GoodTypesProxy: 819s # * 819s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * GoodTypesProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for GoodTypesProxy. 819s # */ 819s # 819s # struct _GoodTypesProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (GoodTypesProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # good_types_proxy_finalize (GObject *object) 819s # { 819s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # good_types_proxy_get_property (GObject *object, 819s # guint prop_id, 819s # GValue *value, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # GVariant *variant; 819s # g_assert (prop_id != 0 && prop_id - 1 < 1); 819s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 819s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 819s # if (info->use_gvariant) 819s # { 819s # g_value_set_variant (value, variant); 819s # } 819s # else 819s # { 819s # if (variant != NULL) 819s # g_dbus_gvariant_to_gvalue (variant, value); 819s # } 819s # if (variant != NULL) 819s # g_variant_unref (variant); 819s # } 819s # 819s # static void 819s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 819s # GAsyncResult *res, 819s # gpointer user_data) 819s # { 819s # const _ExtendedGDBusPropertyInfo *info = user_data; 819s # GError *error; 819s # GVariant *_ret; 819s # error = NULL; 819s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 819s # if (!_ret) 819s # { 819s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 819s # info->parent_struct.name, 819s # error->message, g_quark_to_string (error->domain), error->code); 819s # g_error_free (error); 819s # } 819s # else 819s # { 819s # g_variant_unref (_ret); 819s # } 819s # } 819s # 819s # static void 819s # good_types_proxy_set_property (GObject *object, 819s # guint prop_id, 819s # const GValue *value, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # GVariant *variant; 819s # g_assert (prop_id != 0 && prop_id - 1 < 1); 819s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 819s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_dbus_proxy_call (G_DBUS_PROXY (object), 819s # "org.freedesktop.DBus.Properties.Set", 819s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 819s # g_variant_unref (variant); 819s # } 819s # 819s # static void 819s # good_types_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static GVariant * 819s # good_types_proxy_get_good_property_type (GoodTypes *object) 819s # { 819s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 819s # GVariant *variant; 819s # GVariant *value = NULL; 819s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 819s # value = variant; 819s # if (variant != NULL) 819s # g_variant_unref (variant); 819s # return value; 819s # } 819s # 819s # static void 819s # good_types_proxy_init (GoodTypesProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = good_types_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 819s # } 819s # 819s # static void 819s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = good_types_proxy_finalize; 819s # gobject_class->get_property = good_types_proxy_get_property; 819s # gobject_class->set_property = good_types_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = good_types_proxy_g_signal; 819s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 819s # 819s # good_types_override_properties (gobject_class, 1); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # good_types_proxy_iface_init (GoodTypesIface *iface) 819s # { 819s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 819s # } 819s # 819s # /** 819s # * good_types_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # good_types_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * good_types_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with good_types_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # GoodTypes * 819s # good_types_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return GOOD_TYPES (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * good_types_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See good_types_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # GoodTypes * 819s # good_types_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return GOOD_TYPES (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * good_types_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # good_types_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * good_types_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with good_types_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # GoodTypes * 819s # good_types_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return GOOD_TYPES (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * good_types_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # GoodTypes * 819s # good_types_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return GOOD_TYPES (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * GoodTypesSkeleton: 819s # * 819s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * GoodTypesSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for GoodTypesSkeleton. 819s # */ 819s # 819s # struct _GoodTypesSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _good_types_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _good_types_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _good_types_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 819s # { 819s # _good_types_skeleton_handle_method_call, 819s # _good_types_skeleton_handle_get_property, 819s # _good_types_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return good_types_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_good_types_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static gboolean _good_types_emit_changed (gpointer user_data); 819s # 819s # static void 819s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 819s # gboolean emit_changed = FALSE; 819s # 819s # g_mutex_lock (&skeleton->priv->lock); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # { 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # skeleton->priv->changed_properties_idle_source = NULL; 819s # emit_changed = TRUE; 819s # } 819s # g_mutex_unlock (&skeleton->priv->lock); 819s # 819s # if (emit_changed) 819s # _good_types_emit_changed (skeleton); 819s # } 819s # 819s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (GoodTypesSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # good_types_skeleton_finalize (GObject *object) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 819s # guint n; 819s # for (n = 0; n < 1; n++) 819s # g_value_unset (&skeleton->priv->properties[n]); 819s # g_free (skeleton->priv->properties); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # good_types_skeleton_get_property (GObject *object, 819s # guint prop_id, 819s # GValue *value, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 819s # g_assert (prop_id != 0 && prop_id - 1 < 1); 819s # g_mutex_lock (&skeleton->priv->lock); 819s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 819s # g_mutex_unlock (&skeleton->priv->lock); 819s # } 819s # 819s # static gboolean 819s # _good_types_emit_changed (gpointer user_data) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 819s # GList *l; 819s # GVariantBuilder builder; 819s # GVariantBuilder invalidated_builder; 819s # guint num_changes; 819s # 819s # g_mutex_lock (&skeleton->priv->lock); 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 819s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 819s # { 819s # ChangedProperty *cp = l->data; 819s # GVariant *variant; 819s # const GValue *cur_value; 819s # 819s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 819s # if (!_g_value_equal (cur_value, &cp->orig_value)) 819s # { 819s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 819s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 819s # g_variant_unref (variant); 819s # num_changes++; 819s # } 819s # } 819s # if (num_changes > 0) 819s # { 819s # GList *connections, *ll; 819s # GVariant *signal_variant; 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 819s # &builder, &invalidated_builder)); 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # for (ll = connections; ll != NULL; ll = ll->next) 819s # { 819s # GDBusConnection *connection = ll->data; 819s # 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 819s # "org.freedesktop.DBus.Properties", 819s # "PropertiesChanged", 819s # signal_variant, 819s # NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # else 819s # { 819s # g_variant_builder_clear (&builder); 819s # g_variant_builder_clear (&invalidated_builder); 819s # } 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # skeleton->priv->changed_properties = NULL; 819s # skeleton->priv->changed_properties_idle_source = NULL; 819s # g_mutex_unlock (&skeleton->priv->lock); 819s # return FALSE; 819s # } 819s # 819s # static void 819s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 819s # { 819s # ChangedProperty *cp; 819s # GList *l; 819s # cp = NULL; 819s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 819s # { 819s # ChangedProperty *i_cp = l->data; 819s # if (i_cp->info == info) 819s # { 819s # cp = i_cp; 819s # break; 819s # } 819s # } 819s # if (cp == NULL) 819s # { 819s # cp = g_new0 (ChangedProperty, 1); 819s # cp->prop_id = prop_id; 819s # cp->info = info; 819s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 819s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 819s # g_value_copy (orig_value, &cp->orig_value); 819s # } 819s # } 819s # 819s # static void 819s # good_types_skeleton_notify (GObject *object, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 819s # g_mutex_lock (&skeleton->priv->lock); 819s # if (skeleton->priv->changed_properties != NULL && 819s # skeleton->priv->changed_properties_idle_source == NULL) 819s # { 819s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 819s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 819s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 819s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 819s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 819s # g_source_unref (skeleton->priv->changed_properties_idle_source); 819s # } 819s # g_mutex_unlock (&skeleton->priv->lock); 819s # } 819s # 819s # static void 819s # good_types_skeleton_set_property (GObject *object, 819s # guint prop_id, 819s # const GValue *value, 819s # GParamSpec *pspec) 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 819s # g_assert (prop_id != 0 && prop_id - 1 < 1); 819s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 819s # g_mutex_lock (&skeleton->priv->lock); 819s # g_object_freeze_notify (object); 819s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 819s # { 819s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 819s # info->emits_changed_signal) 819s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 819s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 819s # g_object_notify_by_pspec (object, pspec); 819s # } 819s # g_mutex_unlock (&skeleton->priv->lock); 819s # g_object_thaw_notify (object); 819s # } 819s # 819s # static void 819s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # skeleton->priv->properties = g_new0 (GValue, 1); 819s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 819s # } 819s # 819s # static GVariant * 819s # good_types_skeleton_get_good_property_type (GoodTypes *object) 819s # { 819s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 819s # GVariant *value; 819s # g_mutex_lock (&skeleton->priv->lock); 819s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 819s # g_mutex_unlock (&skeleton->priv->lock); 819s # return value; 819s # } 819s # 819s # static void 819s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = good_types_skeleton_finalize; 819s # gobject_class->get_property = good_types_skeleton_get_property; 819s # gobject_class->set_property = good_types_skeleton_set_property; 819s # gobject_class->notify = good_types_skeleton_notify; 819s # 819s # 819s # good_types_override_properties (gobject_class, 1); 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # good_types_skeleton_iface_init (GoodTypesIface *iface) 819s # { 819s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 819s # } 819s # 819s # /** 819s # * good_types_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface GoodTypes. 819s # * 819s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 819s # */ 819s # GoodTypes * 819s # good_types_skeleton_new (void) 819s # { 819s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 819s # } 819s ok 3 __main__.TestCodegen.test_empty_interface_body 819s # tmpdir: /tmp/tmp7528tfcf 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmp7528tfcf/tmpcclerc6m.xml: 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7528tfcf/tmpcclerc6m.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s ok 4 __main__.TestCodegen.test_empty_interface_header 819s # tmpdir: /tmp/tmp7d25n10p 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmp7d25n10p/tmp_4b7blx4.xml: 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7d25n10p/tmp_4b7blx4.xml', '--output', '-', '--header'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifndef __STDOUT__ 819s # #define __STDOUT__ 819s # 819s # #include 819s # 819s # G_BEGIN_DECLS 819s # 819s # 819s # G_END_DECLS 819s # 819s # #endif /* __STDOUT__ */ 819s ok 5 __main__.TestCodegen.test_empty_interface_info_body 819s # tmpdir: /tmp/tmp4v_g0yp6 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmp4v_g0yp6/tmp8qfskgjs.xml: 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4v_g0yp6/tmp8qfskgjs.xml', '--output', '-', '--interface-info-body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s ok 6 __main__.TestCodegen.test_empty_interface_info_header 819s # tmpdir: /tmp/tmpmnfz9vfq 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmpmnfz9vfq/tmpvpk1296s.xml: 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmnfz9vfq/tmpvpk1296s.xml', '--output', '-', '--interface-info-header'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifndef __STDOUT__ 819s # #define __STDOUT__ 819s # 819s # #include 819s # 819s # G_BEGIN_DECLS 819s # 819s # 819s # G_END_DECLS 819s # 819s # #endif /* __STDOUT__ */ 819s ok 7 __main__.TestCodegen.test_generate_docbook 819s # tmpdir: /tmp/tmpq4egw10m 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmpq4egw10m/tmpi988jydk.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq4egw10m/tmpi988jydk.xml', '--generate-docbook', 'test'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: 819s ok 8 __main__.TestCodegen.test_generate_md 819s # tmpdir: /tmp/tmpv9yo9drx 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmpv9yo9drx/tmpblqt1o2z.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv9yo9drx/tmpblqt1o2z.xml', '--generate-md', 'test'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: 819s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 819s # tmpdir: /tmp/tmp15dcxuy4 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmp15dcxuy4/tmp34i6q5i_.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp15dcxuy4/tmp34i6q5i_.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.CallableIface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectCallableIface 819s # * @title: OrgProjectCallableIface 819s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.CallableIface ---- */ 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SimpleMethod", 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-simple-method", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 819s # { 819s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.CallableIface", 819s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-callable-iface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_callable_iface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_callable_iface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_callable_iface_method_marshal_simple_method ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectCallableIface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 819s # */ 819s # 819s # /** 819s # * OrgProjectCallableIfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.CallableIface. 819s # */ 819s # 819s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectCallableIface::handle-simple-method: 819s # * @object: A #OrgProjectCallableIface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * 819s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-simple-method", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_callable_iface_method_marshal_simple_method, 819s # G_TYPE_BOOLEAN, 819s # 1, 819s # G_TYPE_DBUS_METHOD_INVOCATION); 819s # 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_call_simple_method: 819s # * @proxy: A #OrgProjectCallableIfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 819s # * 819s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_callable_iface_call_simple_method ( 819s # OrgProjectCallableIface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SimpleMethod", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_call_simple_method_finish: 819s # * @proxy: A #OrgProjectCallableIfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_callable_iface_call_simple_method_finish ( 819s # OrgProjectCallableIface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_call_simple_method_sync: 819s # * @proxy: A #OrgProjectCallableIfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_callable_iface_call_simple_method_sync ( 819s # OrgProjectCallableIface *proxy, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SimpleMethod", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_complete_simple_method: 819s # * @object: A #OrgProjectCallableIface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_callable_iface_complete_simple_method ( 819s # OrgProjectCallableIface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectCallableIfaceProxy: 819s # * 819s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectCallableIfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectCallableIfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectCallableIfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_callable_iface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 819s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 819s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_callable_iface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectCallableIface * 819s # org_project_callable_iface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_CALLABLE_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectCallableIface * 819s # org_project_callable_iface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_CALLABLE_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_callable_iface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_callable_iface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectCallableIface * 819s # org_project_callable_iface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_CALLABLE_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectCallableIface * 819s # org_project_callable_iface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_CALLABLE_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectCallableIfaceSkeleton: 819s # * 819s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectCallableIfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectCallableIfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectCallableIfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_callable_iface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_callable_iface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_callable_iface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 819s # { 819s # _org_project_callable_iface_skeleton_handle_method_call, 819s # _org_project_callable_iface_skeleton_handle_get_property, 819s # _org_project_callable_iface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_callable_iface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_callable_iface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectCallableIface * 819s # org_project_callable_iface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.OtherCallableIface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectOtherCallableIface 819s # * @title: OrgProjectOtherCallableIface 819s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SimpleMethod", 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-simple-method", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 819s # { 819s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.OtherCallableIface", 819s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-other-callable-iface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_other_callable_iface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_other_callable_iface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_other_callable_iface_method_marshal_simple_method ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectOtherCallableIface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 819s # */ 819s # 819s # /** 819s # * OrgProjectOtherCallableIfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 819s # */ 819s # 819s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectOtherCallableIface::handle-simple-method: 819s # * @object: A #OrgProjectOtherCallableIface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * 819s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-simple-method", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_other_callable_iface_method_marshal_simple_method, 819s # G_TYPE_BOOLEAN, 819s # 1, 819s # G_TYPE_DBUS_METHOD_INVOCATION); 819s # 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_call_simple_method: 819s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 819s # * 819s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_other_callable_iface_call_simple_method ( 819s # OrgProjectOtherCallableIface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SimpleMethod", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_call_simple_method_finish: 819s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_other_callable_iface_call_simple_method_finish ( 819s # OrgProjectOtherCallableIface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_call_simple_method_sync: 819s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_other_callable_iface_call_simple_method_sync ( 819s # OrgProjectOtherCallableIface *proxy, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SimpleMethod", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_complete_simple_method: 819s # * @object: A #OrgProjectOtherCallableIface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_other_callable_iface_complete_simple_method ( 819s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectOtherCallableIfaceProxy: 819s # * 819s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectOtherCallableIfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectOtherCallableIfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_other_callable_iface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 819s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 819s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_other_callable_iface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectOtherCallableIface * 819s # org_project_other_callable_iface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectOtherCallableIface * 819s # org_project_other_callable_iface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_other_callable_iface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_other_callable_iface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectOtherCallableIface * 819s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectOtherCallableIface * 819s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectOtherCallableIfaceSkeleton: 819s # * 819s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectOtherCallableIfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_other_callable_iface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_other_callable_iface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_other_callable_iface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 819s # { 819s # _org_project_other_callable_iface_skeleton_handle_method_call, 819s # _org_project_other_callable_iface_skeleton_handle_get_property, 819s # _org_project_other_callable_iface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_other_callable_iface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectOtherCallableIface * 819s # org_project_other_callable_iface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 819s # } 819s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 819s # tmpdir: /tmp/tmpcdhn2mj7 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmpcdhn2mj7/tmpp8wsiw9j.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcdhn2mj7/tmpp8wsiw9j.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # gboolean arg_arg_b, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 3); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # g_marshal_value_peek_boolean (param_values + 2), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_b", 819s # (gchar *) "b", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodB", 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-single-arg-method-b", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_b ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @arg_arg_b: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-b", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_b, 819s # G_TYPE_BOOLEAN, 819s # 2, 819s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_b: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_b: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_b ( 819s # OrgProjectUsefulInterface *proxy, 819s # gboolean arg_arg_b, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodB", 819s # g_variant_new ("(b)", 819s # arg_arg_b), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_b_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_b_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_b_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_b: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_b_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # gboolean arg_arg_b, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodB", 819s # g_variant_new ("(b)", 819s # arg_arg_b), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_b: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_b ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpcdhn2mj7/tmptw80hd12.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcdhn2mj7/tmptw80hd12.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # guchar arg_arg_y, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 3); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # g_marshal_value_peek_uchar (param_values + 2), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_y", 819s # (gchar *) "y", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodY", 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-single-arg-method-y", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_y ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @arg_arg_y: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-y", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_y, 819s # G_TYPE_BOOLEAN, 819s # 2, 819s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_y: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_y: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_y ( 819s # OrgProjectUsefulInterface *proxy, 819s # guchar arg_arg_y, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodY", 819s # g_variant_new ("(y)", 819s # arg_arg_y), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_y_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_y_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_y_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_y: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_y_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # guchar arg_arg_y, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodY", 819s # g_variant_new ("(y)", 819s # arg_arg_y), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_y: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_y ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpcdhn2mj7/tmplbliiuqi.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcdhn2mj7/tmplbliiuqi.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # gint16 arg_arg_n, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 3); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # g_marshal_value_peek_int (param_values + 2), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_n", 819s # (gchar *) "n", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodN", 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-single-arg-method-n", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_n ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @arg_arg_n: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-n", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_n, 819s # G_TYPE_BOOLEAN, 819s # 2, 819s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_n: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_n: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_n ( 819s # OrgProjectUsefulInterface *proxy, 819s # gint16 arg_arg_n, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodN", 819s # g_variant_new ("(n)", 819s # arg_arg_n), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_n_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_n_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_n_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_n: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_n_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # gint16 arg_arg_n, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodN", 819s # g_variant_new ("(n)", 819s # arg_arg_n), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_n: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_n ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpcdhn2mj7/tmp4nb7xjif.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcdhn2mj7/tmp4nb7xjif.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # guint16 arg_arg_q, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 3); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # g_marshal_value_peek_uint (param_values + 2), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_q", 819s # (gchar *) "q", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodQ", 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-single-arg-method-q", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_q ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @arg_arg_q: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-q", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_q, 819s # G_TYPE_BOOLEAN, 819s # 2, 819s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_q: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_q: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_q ( 819s # OrgProjectUsefulInterface *proxy, 819s # guint16 arg_arg_q, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodQ", 819s # g_variant_new ("(q)", 819s # arg_arg_q), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_q_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_q_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_q_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_q: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_q_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # guint16 arg_arg_q, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodQ", 819s # g_variant_new ("(q)", 819s # arg_arg_q), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_q: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_q ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpcdhn2mj7/tmpalrji4fe.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcdhn2mj7/tmpalrji4fe.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # gint arg_arg_i, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 3); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # g_marshal_value_peek_int (param_values + 2), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_i", 819s # (gchar *) "i", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodI", 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-single-arg-method-i", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_i ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @arg_arg_i: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-i", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_i, 819s # G_TYPE_BOOLEAN, 819s # 2, 819s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_i: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_i: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_i ( 819s # OrgProjectUsefulInterface *proxy, 819s # gint arg_arg_i, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodI", 819s # g_variant_new ("(i)", 819s # arg_arg_i), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_i_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_i_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_i_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_i: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_i_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # gint arg_arg_i, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodI", 819s # g_variant_new ("(i)", 819s # arg_arg_i), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_i: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_i ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpcdhn2mj7/tmpf32uhavw.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcdhn2mj7/tmpf32uhavw.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # guint arg_arg_u, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 3); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # g_marshal_value_peek_uint (param_values + 2), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_u", 819s # (gchar *) "u", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodU", 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-single-arg-method-u", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_u ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @arg_arg_u: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-u", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_u, 819s # G_TYPE_BOOLEAN, 819s # 2, 819s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_u: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_u: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_u ( 819s # OrgProjectUsefulInterface *proxy, 819s # guint arg_arg_u, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodU", 819s # g_variant_new ("(u)", 819s # arg_arg_u), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_u_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_u_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_u_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_u: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_u_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # guint arg_arg_u, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodU", 819s # g_variant_new ("(u)", 819s # arg_arg_u), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_u: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_u ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpcdhn2mj7/tmp9icjwnzz.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcdhn2mj7/tmp9icjwnzz.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # gint64 arg_arg_x, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 3); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # g_marshal_value_peek_int64 (param_values + 2), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_x", 819s # (gchar *) "x", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodX", 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-single-arg-method-x", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_x ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @arg_arg_x: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-x", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_x, 819s # G_TYPE_BOOLEAN, 819s # 2, 819s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_x: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_x: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_x ( 819s # OrgProjectUsefulInterface *proxy, 819s # gint64 arg_arg_x, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodX", 819s # g_variant_new ("(x)", 819s # arg_arg_x), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_x_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_x_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_x_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_x: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_x_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # gint64 arg_arg_x, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodX", 819s # g_variant_new ("(x)", 819s # arg_arg_x), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_x: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_x ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpcdhn2mj7/tmpztzw00a5.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcdhn2mj7/tmpztzw00a5.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # guint64 arg_arg_t, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 3); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # g_marshal_value_peek_uint64 (param_values + 2), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_t", 819s # (gchar *) "t", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodT", 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-single-arg-method-t", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_t ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @arg_arg_t: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-t", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_t, 819s # G_TYPE_BOOLEAN, 819s # 2, 819s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_t: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_t: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_t ( 819s # OrgProjectUsefulInterface *proxy, 819s # guint64 arg_arg_t, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodT", 819s # g_variant_new ("(t)", 819s # arg_arg_t), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_t_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_t_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_t_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_t: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_t_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # guint64 arg_arg_t, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodT", 819s # g_variant_new ("(t)", 819s # arg_arg_t), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_t: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_t ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpcdhn2mj7/tmpfz0xs6yz.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcdhn2mj7/tmpfz0xs6yz.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # gdouble arg_arg_d, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 3); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # g_marshal_value_peek_double (param_values + 2), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_d", 819s # (gchar *) "d", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodD", 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-single-arg-method-d", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_d ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @arg_arg_d: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-d", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_d, 819s # G_TYPE_BOOLEAN, 819s # 2, 819s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_d: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_d: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_d ( 819s # OrgProjectUsefulInterface *proxy, 819s # gdouble arg_arg_d, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodD", 819s # g_variant_new ("(d)", 819s # arg_arg_d), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_d_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_d_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_d_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_d: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_d_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # gdouble arg_arg_d, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodD", 819s # g_variant_new ("(d)", 819s # arg_arg_d), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_d: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_d ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpcdhn2mj7/tmphcfkkqtf.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcdhn2mj7/tmphcfkkqtf.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # const gchar *arg_arg_s, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 3); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # g_marshal_value_peek_string (param_values + 2), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_s", 819s # (gchar *) "s", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodS", 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-single-arg-method-s", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_s ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @arg_arg_s: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-s", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_s, 819s # G_TYPE_BOOLEAN, 819s # 2, 819s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_s: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_s: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_s ( 819s # OrgProjectUsefulInterface *proxy, 819s # const gchar *arg_arg_s, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodS", 819s # g_variant_new ("(s)", 819s # arg_arg_s), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_s_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_s_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_s_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_s: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_s_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # const gchar *arg_arg_s, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodS", 819s # g_variant_new ("(s)", 819s # arg_arg_s), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_s: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_s ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpcdhn2mj7/tmp3nmzvbfy.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcdhn2mj7/tmp3nmzvbfy.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # const gchar *arg_arg_o, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 3); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # g_marshal_value_peek_string (param_values + 2), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_o", 819s # (gchar *) "o", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodO", 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-single-arg-method-o", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_o ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @arg_arg_o: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-o", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_o, 819s # G_TYPE_BOOLEAN, 819s # 2, 819s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_o: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_o: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_o ( 819s # OrgProjectUsefulInterface *proxy, 819s # const gchar *arg_arg_o, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodO", 819s # g_variant_new ("(o)", 819s # arg_arg_o), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_o_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_o_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_o_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_o: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_o_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # const gchar *arg_arg_o, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodO", 819s # g_variant_new ("(o)", 819s # arg_arg_o), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_o: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_o ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpcdhn2mj7/tmpc_ht9hwl.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcdhn2mj7/tmpc_ht9hwl.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # const gchar *arg_arg_g, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 3); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # g_marshal_value_peek_string (param_values + 2), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_g", 819s # (gchar *) "g", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodG", 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-single-arg-method-g", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_g ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @arg_arg_g: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-g", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_g, 819s # G_TYPE_BOOLEAN, 819s # 2, 819s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_g: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_g: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_g ( 819s # OrgProjectUsefulInterface *proxy, 819s # const gchar *arg_arg_g, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodG", 819s # g_variant_new ("(g)", 819s # arg_arg_g), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_g_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_g_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_g_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_g: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_g_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # const gchar *arg_arg_g, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodG", 819s # g_variant_new ("(g)", 819s # arg_arg_g), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_g: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_g ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpcdhn2mj7/tmp3bwk2nga.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcdhn2mj7/tmp3bwk2nga.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # GVariant *arg_arg_h, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 3); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # g_marshal_value_peek_variant (param_values + 2), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_h", 819s # (gchar *) "h", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodH", 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-single-arg-method-h", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_h ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @arg_arg_h: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-h", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_h, 819s # G_TYPE_BOOLEAN, 819s # 2, 819s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_h: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_h: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_h ( 819s # OrgProjectUsefulInterface *proxy, 819s # GVariant *arg_arg_h, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodH", 819s # g_variant_new ("(@h)", 819s # arg_arg_h), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_h_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_h_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_h_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_h: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_h_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # GVariant *arg_arg_h, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodH", 819s # g_variant_new ("(@h)", 819s # arg_arg_h), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_h: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_h ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpcdhn2mj7/tmpab626ebt.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcdhn2mj7/tmpab626ebt.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # const gchar *arg_arg_ay, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 3); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # g_marshal_value_peek_string (param_values + 2), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_ay", 819s # (gchar *) "ay", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodAy", 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-single-arg-method-ay", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @arg_arg_ay: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-ay", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_ay, 819s # G_TYPE_BOOLEAN, 819s # 2, 819s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_ay: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_ay: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_ay ( 819s # OrgProjectUsefulInterface *proxy, 819s # const gchar *arg_arg_ay, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodAy", 819s # g_variant_new ("(^ay)", 819s # arg_arg_ay), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_ay_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_ay_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_ay_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_ay: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_ay_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # const gchar *arg_arg_ay, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodAy", 819s # g_variant_new ("(^ay)", 819s # arg_arg_ay), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_ay: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_ay ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpcdhn2mj7/tmpxuyt5mmp.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcdhn2mj7/tmpxuyt5mmp.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # const gchar *const *arg_arg_as, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 3); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # g_marshal_value_peek_boxed (param_values + 2), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_as", 819s # (gchar *) "as", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodAs", 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-single-arg-method-as", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_as ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @arg_arg_as: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-as", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_as, 819s # G_TYPE_BOOLEAN, 819s # 2, 819s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_as: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_as: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_as ( 819s # OrgProjectUsefulInterface *proxy, 819s # const gchar *const *arg_arg_as, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodAs", 819s # g_variant_new ("(^as)", 819s # arg_arg_as), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_as_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_as_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_as_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_as: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_as_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # const gchar *const *arg_arg_as, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodAs", 819s # g_variant_new ("(^as)", 819s # arg_arg_as), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_as: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_as ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpcdhn2mj7/tmp7j26ij16.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcdhn2mj7/tmp7j26ij16.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # const gchar *const *arg_arg_ao, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 3); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # g_marshal_value_peek_boxed (param_values + 2), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_ao", 819s # (gchar *) "ao", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodAo", 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-single-arg-method-ao", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @arg_arg_ao: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-ao", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_ao, 819s # G_TYPE_BOOLEAN, 819s # 2, 819s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_ao: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_ao: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_ao ( 819s # OrgProjectUsefulInterface *proxy, 819s # const gchar *const *arg_arg_ao, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodAo", 819s # g_variant_new ("(^ao)", 819s # arg_arg_ao), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_ao_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_ao_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_ao_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_ao: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_ao_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # const gchar *const *arg_arg_ao, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodAo", 819s # g_variant_new ("(^ao)", 819s # arg_arg_ao), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_ao: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_ao ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpcdhn2mj7/tmpe3gqoknp.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcdhn2mj7/tmpe3gqoknp.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # const gchar *const *arg_arg_aay, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 3); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # g_marshal_value_peek_boxed (param_values + 2), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_aay", 819s # (gchar *) "aay", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodAay", 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-single-arg-method-aay", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @arg_arg_aay: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-aay", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_aay, 819s # G_TYPE_BOOLEAN, 819s # 2, 819s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_aay: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_aay: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_aay ( 819s # OrgProjectUsefulInterface *proxy, 819s # const gchar *const *arg_arg_aay, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodAay", 819s # g_variant_new ("(^aay)", 819s # arg_arg_aay), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_aay_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_aay_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_aay_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_aay: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_aay_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # const gchar *const *arg_arg_aay, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodAay", 819s # g_variant_new ("(^aay)", 819s # arg_arg_aay), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_aay: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_aay ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpcdhn2mj7/tmp9sc6vf0a.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcdhn2mj7/tmp9sc6vf0a.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # GVariant *arg_arg_asv, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 3); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # g_marshal_value_peek_variant (param_values + 2), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_asv", 819s # (gchar *) "a{sv}", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodAsv", 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-single-arg-method-asv", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @arg_arg_asv: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-asv", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_asv, 819s # G_TYPE_BOOLEAN, 819s # 2, 819s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_asv: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_asv: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_asv ( 819s # OrgProjectUsefulInterface *proxy, 819s # GVariant *arg_arg_asv, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodAsv", 819s # g_variant_new ("(@a{sv})", 819s # arg_arg_asv), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_asv_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_asv_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_asv_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @arg_arg_asv: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_asv_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # GVariant *arg_arg_asv, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodAsv", 819s # g_variant_new ("(@a{sv})", 819s # arg_arg_asv), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_asv: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_asv ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 819s # tmpdir: /tmp/tmpoi778shk 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmpoi778shk/tmpcqjeoccq.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoi778shk/tmpcqjeoccq.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_b", 819s # (gchar *) "b", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodB", 819s # NULL, 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 819s # NULL 819s # }, 819s # "handle-single-arg-method-b", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_b ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-b", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_b, 819s # G_TYPE_BOOLEAN, 819s # 1, 819s # G_TYPE_DBUS_METHOD_INVOCATION); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_b: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_b ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodB", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_b_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_b_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # gboolean *out_arg_b, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(b)", 819s # out_arg_b); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_b_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_b_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # gboolean *out_arg_b, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodB", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(b)", 819s # out_arg_b); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_b: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * @arg_b: Parameter to return. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_b ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation, 819s # gboolean arg_b) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("(b)", 819s # arg_b)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpoi778shk/tmpm13velvh.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoi778shk/tmpm13velvh.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_y", 819s # (gchar *) "y", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodY", 819s # NULL, 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 819s # NULL 819s # }, 819s # "handle-single-arg-method-y", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_y ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-y", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_y, 819s # G_TYPE_BOOLEAN, 819s # 1, 819s # G_TYPE_DBUS_METHOD_INVOCATION); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_y: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_y ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodY", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_y_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_y_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # guchar *out_arg_y, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(y)", 819s # out_arg_y); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_y_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_y_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # guchar *out_arg_y, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodY", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(y)", 819s # out_arg_y); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_y: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * @arg_y: Parameter to return. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_y ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation, 819s # guchar arg_y) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("(y)", 819s # arg_y)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpoi778shk/tmpm8etvzun.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoi778shk/tmpm8etvzun.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_n", 819s # (gchar *) "n", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodN", 819s # NULL, 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 819s # NULL 819s # }, 819s # "handle-single-arg-method-n", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_n ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-n", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_n, 819s # G_TYPE_BOOLEAN, 819s # 1, 819s # G_TYPE_DBUS_METHOD_INVOCATION); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_n: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_n ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodN", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_n_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_n_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # gint16 *out_arg_n, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(n)", 819s # out_arg_n); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_n_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_n_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # gint16 *out_arg_n, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodN", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(n)", 819s # out_arg_n); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_n: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * @arg_n: Parameter to return. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_n ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation, 819s # gint16 arg_n) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("(n)", 819s # arg_n)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpoi778shk/tmpoe3rw0og.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoi778shk/tmpoe3rw0og.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_q", 819s # (gchar *) "q", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodQ", 819s # NULL, 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 819s # NULL 819s # }, 819s # "handle-single-arg-method-q", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_q ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-q", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_q, 819s # G_TYPE_BOOLEAN, 819s # 1, 819s # G_TYPE_DBUS_METHOD_INVOCATION); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_q: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_q ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodQ", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_q_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_q_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # guint16 *out_arg_q, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(q)", 819s # out_arg_q); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_q_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_q_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # guint16 *out_arg_q, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodQ", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(q)", 819s # out_arg_q); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_q: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * @arg_q: Parameter to return. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_q ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation, 819s # guint16 arg_q) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("(q)", 819s # arg_q)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpoi778shk/tmpi82byyx8.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoi778shk/tmpi82byyx8.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_i", 819s # (gchar *) "i", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodI", 819s # NULL, 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 819s # NULL 819s # }, 819s # "handle-single-arg-method-i", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_i ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-i", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_i, 819s # G_TYPE_BOOLEAN, 819s # 1, 819s # G_TYPE_DBUS_METHOD_INVOCATION); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_i: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_i ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodI", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_i_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_i_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # gint *out_arg_i, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(i)", 819s # out_arg_i); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_i_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_i_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # gint *out_arg_i, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodI", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(i)", 819s # out_arg_i); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_i: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * @arg_i: Parameter to return. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_i ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation, 819s # gint arg_i) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("(i)", 819s # arg_i)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpoi778shk/tmpzveoza8t.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoi778shk/tmpzveoza8t.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_u", 819s # (gchar *) "u", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodU", 819s # NULL, 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 819s # NULL 819s # }, 819s # "handle-single-arg-method-u", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_u ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-u", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_u, 819s # G_TYPE_BOOLEAN, 819s # 1, 819s # G_TYPE_DBUS_METHOD_INVOCATION); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_u: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_u ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodU", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_u_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_u_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # guint *out_arg_u, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(u)", 819s # out_arg_u); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_u_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_u_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # guint *out_arg_u, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodU", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(u)", 819s # out_arg_u); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_u: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * @arg_u: Parameter to return. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_u ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation, 819s # guint arg_u) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("(u)", 819s # arg_u)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpoi778shk/tmpmwz6hmch.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoi778shk/tmpmwz6hmch.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_x", 819s # (gchar *) "x", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodX", 819s # NULL, 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 819s # NULL 819s # }, 819s # "handle-single-arg-method-x", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_x ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-x", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_x, 819s # G_TYPE_BOOLEAN, 819s # 1, 819s # G_TYPE_DBUS_METHOD_INVOCATION); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_x: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_x ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodX", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_x_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_x_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # gint64 *out_arg_x, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(x)", 819s # out_arg_x); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_x_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_x_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # gint64 *out_arg_x, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodX", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(x)", 819s # out_arg_x); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_x: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * @arg_x: Parameter to return. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_x ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation, 819s # gint64 arg_x) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("(x)", 819s # arg_x)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpoi778shk/tmpwrzj7_5b.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoi778shk/tmpwrzj7_5b.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_t", 819s # (gchar *) "t", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodT", 819s # NULL, 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 819s # NULL 819s # }, 819s # "handle-single-arg-method-t", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_t ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-t", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_t, 819s # G_TYPE_BOOLEAN, 819s # 1, 819s # G_TYPE_DBUS_METHOD_INVOCATION); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_t: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_t ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodT", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_t_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_t_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # guint64 *out_arg_t, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(t)", 819s # out_arg_t); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_t_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_t_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # guint64 *out_arg_t, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodT", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(t)", 819s # out_arg_t); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_t: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * @arg_t: Parameter to return. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_t ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation, 819s # guint64 arg_t) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("(t)", 819s # arg_t)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpoi778shk/tmp0n68owrc.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoi778shk/tmp0n68owrc.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_d", 819s # (gchar *) "d", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodD", 819s # NULL, 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 819s # NULL 819s # }, 819s # "handle-single-arg-method-d", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_d ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-d", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_d, 819s # G_TYPE_BOOLEAN, 819s # 1, 819s # G_TYPE_DBUS_METHOD_INVOCATION); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_d: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_d ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodD", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_d_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_d_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # gdouble *out_arg_d, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(d)", 819s # out_arg_d); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_d_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_d_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # gdouble *out_arg_d, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodD", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(d)", 819s # out_arg_d); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_d: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * @arg_d: Parameter to return. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_d ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation, 819s # gdouble arg_d) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("(d)", 819s # arg_d)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpoi778shk/tmplh0u0pw0.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoi778shk/tmplh0u0pw0.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_s", 819s # (gchar *) "s", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodS", 819s # NULL, 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 819s # NULL 819s # }, 819s # "handle-single-arg-method-s", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_s ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-s", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_s, 819s # G_TYPE_BOOLEAN, 819s # 1, 819s # G_TYPE_DBUS_METHOD_INVOCATION); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_s: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_s ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodS", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_s_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_s_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # gchar **out_arg_s, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(s)", 819s # out_arg_s); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_s_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_s_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # gchar **out_arg_s, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodS", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(s)", 819s # out_arg_s); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_s: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * @arg_s: Parameter to return. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_s ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation, 819s # const gchar *arg_s) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("(s)", 819s # arg_s)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpoi778shk/tmpc8lr2lfe.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoi778shk/tmpc8lr2lfe.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_o", 819s # (gchar *) "o", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodO", 819s # NULL, 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 819s # NULL 819s # }, 819s # "handle-single-arg-method-o", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_o ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-o", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_o, 819s # G_TYPE_BOOLEAN, 819s # 1, 819s # G_TYPE_DBUS_METHOD_INVOCATION); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_o: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_o ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodO", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_o_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_o_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # gchar **out_arg_o, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(o)", 819s # out_arg_o); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_o_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_o_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # gchar **out_arg_o, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodO", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(o)", 819s # out_arg_o); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_o: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * @arg_o: Parameter to return. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_o ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation, 819s # const gchar *arg_o) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("(o)", 819s # arg_o)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpoi778shk/tmpffphz2m9.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoi778shk/tmpffphz2m9.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_g", 819s # (gchar *) "g", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodG", 819s # NULL, 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 819s # NULL 819s # }, 819s # "handle-single-arg-method-g", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_g ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-g", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_g, 819s # G_TYPE_BOOLEAN, 819s # 1, 819s # G_TYPE_DBUS_METHOD_INVOCATION); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_g: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_g ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodG", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_g_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_g_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # gchar **out_arg_g, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(g)", 819s # out_arg_g); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_g_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_g_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # gchar **out_arg_g, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodG", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(g)", 819s # out_arg_g); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_g: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * @arg_g: Parameter to return. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_g ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation, 819s # const gchar *arg_g) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("(g)", 819s # arg_g)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpoi778shk/tmp8s9tv_bg.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoi778shk/tmp8s9tv_bg.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_h", 819s # (gchar *) "h", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodH", 819s # NULL, 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 819s # NULL 819s # }, 819s # "handle-single-arg-method-h", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_h ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-h", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_h, 819s # G_TYPE_BOOLEAN, 819s # 1, 819s # G_TYPE_DBUS_METHOD_INVOCATION); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_h: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_h ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodH", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_h_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_h_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GVariant **out_arg_h, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(@h)", 819s # out_arg_h); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_h_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_h_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # GVariant **out_arg_h, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodH", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(@h)", 819s # out_arg_h); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_h: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * @arg_h: Parameter to return. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_h ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation, 819s # GVariant *arg_h) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("(@h)", 819s # arg_h)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpoi778shk/tmpd_5hjtu0.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoi778shk/tmpd_5hjtu0.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_ay", 819s # (gchar *) "ay", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodAy", 819s # NULL, 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 819s # NULL 819s # }, 819s # "handle-single-arg-method-ay", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-ay", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_ay, 819s # G_TYPE_BOOLEAN, 819s # 1, 819s # G_TYPE_DBUS_METHOD_INVOCATION); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_ay: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_ay ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodAy", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_ay_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_ay_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # gchar **out_arg_ay, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(^ay)", 819s # out_arg_ay); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_ay_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_ay_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # gchar **out_arg_ay, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodAy", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(^ay)", 819s # out_arg_ay); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_ay: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * @arg_ay: Parameter to return. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_ay ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation, 819s # const gchar *arg_ay) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("(^ay)", 819s # arg_ay)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpoi778shk/tmptce1t2k1.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoi778shk/tmptce1t2k1.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_as", 819s # (gchar *) "as", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodAs", 819s # NULL, 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 819s # NULL 819s # }, 819s # "handle-single-arg-method-as", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_as ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-as", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_as, 819s # G_TYPE_BOOLEAN, 819s # 1, 819s # G_TYPE_DBUS_METHOD_INVOCATION); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_as: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_as ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodAs", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_as_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_as_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # gchar ***out_arg_as, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(^as)", 819s # out_arg_as); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_as_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_as_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # gchar ***out_arg_as, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodAs", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(^as)", 819s # out_arg_as); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_as: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * @arg_as: Parameter to return. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_as ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation, 819s # const gchar *const *arg_as) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("(^as)", 819s # arg_as)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpoi778shk/tmpv58y34xp.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoi778shk/tmpv58y34xp.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_ao", 819s # (gchar *) "ao", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodAo", 819s # NULL, 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 819s # NULL 819s # }, 819s # "handle-single-arg-method-ao", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-ao", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_ao, 819s # G_TYPE_BOOLEAN, 819s # 1, 819s # G_TYPE_DBUS_METHOD_INVOCATION); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_ao: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_ao ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodAo", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_ao_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_ao_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # gchar ***out_arg_ao, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(^ao)", 819s # out_arg_ao); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_ao_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_ao_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # gchar ***out_arg_ao, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodAo", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(^ao)", 819s # out_arg_ao); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_ao: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * @arg_ao: Parameter to return. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_ao ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation, 819s # const gchar *const *arg_ao) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("(^ao)", 819s # arg_ao)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpoi778shk/tmp5xo38i20.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoi778shk/tmp5xo38i20.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_aay", 819s # (gchar *) "aay", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodAay", 819s # NULL, 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 819s # NULL 819s # }, 819s # "handle-single-arg-method-aay", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-aay", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_aay, 819s # G_TYPE_BOOLEAN, 819s # 1, 819s # G_TYPE_DBUS_METHOD_INVOCATION); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_aay: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_aay ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodAay", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_aay_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_aay_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # gchar ***out_arg_aay, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(^aay)", 819s # out_arg_aay); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_aay_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_aay_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # gchar ***out_arg_aay, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodAay", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(^aay)", 819s # out_arg_aay); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_aay: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * @arg_aay: Parameter to return. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_aay ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation, 819s # const gchar *const *arg_aay) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("(^aay)", 819s # arg_aay)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # /tmp/tmpoi778shk/tmpfnv98hj2.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoi778shk/tmpfnv98hj2.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 819s # { 819s # { 819s # -1, 819s # (gchar *) "arg_asv", 819s # (gchar *) "a{sv}", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgMethodAsv", 819s # NULL, 819s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 819s # NULL 819s # }, 819s # "handle-single-arg-method-asv", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * 819s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-single-arg-method-asv", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_useful_interface_method_marshal_single_arg_method_asv, 819s # G_TYPE_BOOLEAN, 819s # 1, 819s # G_TYPE_DBUS_METHOD_INVOCATION); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_asv: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_useful_interface_call_single_arg_method_asv ( 819s # OrgProjectUsefulInterface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodAsv", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_asv_finish: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_asv_finish ( 819s # OrgProjectUsefulInterface *proxy, 819s # GVariant **out_arg_asv, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(@a{sv})", 819s # out_arg_asv); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_call_single_arg_method_asv_sync: 819s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 819s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_useful_interface_call_single_arg_method_asv_sync ( 819s # OrgProjectUsefulInterface *proxy, 819s # GVariant **out_arg_asv, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SingleArgMethodAsv", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(@a{sv})", 819s # out_arg_asv); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_complete_single_arg_method_asv: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * @arg_asv: Parameter to return. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_useful_interface_complete_single_arg_method_asv ( 819s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation, 819s # GVariant *arg_asv) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("(@a{sv})", 819s # arg_asv)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 819s # tmpdir: /tmp/tmpc9c1yaib 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmpc9c1yaib/tmpdrnm6rgw.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc9c1yaib/tmpdrnm6rgw.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # gboolean arg_an_b, 819s # guchar arg_an_y, 819s # gint16 arg_an_n, 819s # guint16 arg_an_q, 819s # gint arg_an_i, 819s # guint arg_an_u, 819s # gint64 arg_an_x, 819s # guint64 arg_an_t, 819s # gdouble arg_an_d, 819s # const gchar *arg_an_s, 819s # const gchar *arg_an_o, 819s # const gchar *arg_an_g, 819s # GVariant *arg_an_h, 819s # const gchar *arg_an_ay, 819s # const gchar *const *arg_an_as, 819s # const gchar *const *arg_an_ao, 819s # const gchar *const *arg_an_aay, 819s # GVariant *arg_an_asv, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 20); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # g_marshal_value_peek_boolean (param_values + 2), 819s # g_marshal_value_peek_uchar (param_values + 3), 819s # g_marshal_value_peek_int (param_values + 4), 819s # g_marshal_value_peek_uint (param_values + 5), 819s # g_marshal_value_peek_int (param_values + 6), 819s # g_marshal_value_peek_uint (param_values + 7), 819s # g_marshal_value_peek_int64 (param_values + 8), 819s # g_marshal_value_peek_uint64 (param_values + 9), 819s # g_marshal_value_peek_double (param_values + 10), 819s # g_marshal_value_peek_string (param_values + 11), 819s # g_marshal_value_peek_string (param_values + 12), 819s # g_marshal_value_peek_string (param_values + 13), 819s # g_marshal_value_peek_variant (param_values + 14), 819s # g_marshal_value_peek_string (param_values + 15), 819s # g_marshal_value_peek_boxed (param_values + 16), 819s # g_marshal_value_peek_boxed (param_values + 17), 819s # g_marshal_value_peek_boxed (param_values + 18), 819s # g_marshal_value_peek_variant (param_values + 19), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.CallableIface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectCallableIface 819s # * @title: OrgProjectCallableIface 819s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.CallableIface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_b", 819s # (gchar *) "b", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_y", 819s # (gchar *) "y", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_n", 819s # (gchar *) "n", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_q", 819s # (gchar *) "q", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_i", 819s # (gchar *) "i", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_u", 819s # (gchar *) "u", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_x", 819s # (gchar *) "x", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_t", 819s # (gchar *) "t", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_d", 819s # (gchar *) "d", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_s", 819s # (gchar *) "s", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_o", 819s # (gchar *) "o", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_g", 819s # (gchar *) "g", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_h", 819s # (gchar *) "h", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_ay", 819s # (gchar *) "ay", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_as", 819s # (gchar *) "as", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_ao", 819s # (gchar *) "ao", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_aay", 819s # (gchar *) "aay", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_asv", 819s # (gchar *) "a{sv}", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 819s # { 819s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 819s # { 819s # { 819s # -1, 819s # (gchar *) "MethodWithManyArgs", 819s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-method-with-many-args", 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_b", 819s # (gchar *) "b", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_y", 819s # (gchar *) "y", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_n", 819s # (gchar *) "n", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_q", 819s # (gchar *) "q", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_i", 819s # (gchar *) "i", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_u", 819s # (gchar *) "u", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_x", 819s # (gchar *) "x", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_t", 819s # (gchar *) "t", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_d", 819s # (gchar *) "d", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_s", 819s # (gchar *) "s", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_o", 819s # (gchar *) "o", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_g", 819s # (gchar *) "g", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_h", 819s # (gchar *) "h", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_ay", 819s # (gchar *) "ay", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_as", 819s # (gchar *) "as", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_ao", 819s # (gchar *) "ao", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_aay", 819s # (gchar *) "aay", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_asv", 819s # (gchar *) "a{sv}", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 819s # { 819s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 819s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 819s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 819s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 819s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 819s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 819s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 819s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 819s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 819s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 819s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 819s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 819s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 819s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 819s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 819s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 819s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 819s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SameMethodWithManyArgs", 819s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-same-method-with-many-args", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 819s # { 819s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 819s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.CallableIface", 819s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-callable-iface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_callable_iface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_callable_iface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_callable_iface_method_marshal_method_with_many_args ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _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, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # inline static void 819s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _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, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectCallableIface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 819s # */ 819s # 819s # /** 819s # * OrgProjectCallableIfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 819s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.CallableIface. 819s # */ 819s # 819s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectCallableIface::handle-method-with-many-args: 819s # * @object: A #OrgProjectCallableIface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @arg_an_b: Argument passed by remote caller. 819s # * @arg_an_y: Argument passed by remote caller. 819s # * @arg_an_n: Argument passed by remote caller. 819s # * @arg_an_q: Argument passed by remote caller. 819s # * @arg_an_i: Argument passed by remote caller. 819s # * @arg_an_u: Argument passed by remote caller. 819s # * @arg_an_x: Argument passed by remote caller. 819s # * @arg_an_t: Argument passed by remote caller. 819s # * @arg_an_d: Argument passed by remote caller. 819s # * @arg_an_s: Argument passed by remote caller. 819s # * @arg_an_o: Argument passed by remote caller. 819s # * @arg_an_g: Argument passed by remote caller. 819s # * @arg_an_h: Argument passed by remote caller. 819s # * @arg_an_ay: Argument passed by remote caller. 819s # * @arg_an_as: Argument passed by remote caller. 819s # * @arg_an_ao: Argument passed by remote caller. 819s # * @arg_an_aay: Argument passed by remote caller. 819s # * @arg_an_asv: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-method-with-many-args", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_callable_iface_method_marshal_method_with_many_args, 819s # G_TYPE_BOOLEAN, 819s # 19, 819s # 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); 819s # 819s # /** 819s # * OrgProjectCallableIface::handle-same-method-with-many-args: 819s # * @object: A #OrgProjectCallableIface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @arg_an_b: Argument passed by remote caller. 819s # * @arg_an_y: Argument passed by remote caller. 819s # * @arg_an_n: Argument passed by remote caller. 819s # * @arg_an_q: Argument passed by remote caller. 819s # * @arg_an_i: Argument passed by remote caller. 819s # * @arg_an_u: Argument passed by remote caller. 819s # * @arg_an_x: Argument passed by remote caller. 819s # * @arg_an_t: Argument passed by remote caller. 819s # * @arg_an_d: Argument passed by remote caller. 819s # * @arg_an_s: Argument passed by remote caller. 819s # * @arg_an_o: Argument passed by remote caller. 819s # * @arg_an_g: Argument passed by remote caller. 819s # * @arg_an_h: Argument passed by remote caller. 819s # * @arg_an_ay: Argument passed by remote caller. 819s # * @arg_an_as: Argument passed by remote caller. 819s # * @arg_an_ao: Argument passed by remote caller. 819s # * @arg_an_aay: Argument passed by remote caller. 819s # * @arg_an_asv: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-same-method-with-many-args", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_callable_iface_method_marshal_same_method_with_many_args, 819s # G_TYPE_BOOLEAN, 819s # 19, 819s # 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); 819s # 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_call_method_with_many_args: 819s # * @proxy: A #OrgProjectCallableIfaceProxy. 819s # * @arg_an_b: Argument to pass with the method invocation. 819s # * @arg_an_y: Argument to pass with the method invocation. 819s # * @arg_an_n: Argument to pass with the method invocation. 819s # * @arg_an_q: Argument to pass with the method invocation. 819s # * @arg_an_i: Argument to pass with the method invocation. 819s # * @arg_an_u: Argument to pass with the method invocation. 819s # * @arg_an_x: Argument to pass with the method invocation. 819s # * @arg_an_t: Argument to pass with the method invocation. 819s # * @arg_an_d: Argument to pass with the method invocation. 819s # * @arg_an_s: Argument to pass with the method invocation. 819s # * @arg_an_o: Argument to pass with the method invocation. 819s # * @arg_an_g: Argument to pass with the method invocation. 819s # * @arg_an_h: Argument to pass with the method invocation. 819s # * @arg_an_ay: Argument to pass with the method invocation. 819s # * @arg_an_as: Argument to pass with the method invocation. 819s # * @arg_an_ao: Argument to pass with the method invocation. 819s # * @arg_an_aay: Argument to pass with the method invocation. 819s # * @arg_an_asv: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 819s # * 819s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_callable_iface_call_method_with_many_args ( 819s # OrgProjectCallableIface *proxy, 819s # gboolean arg_an_b, 819s # guchar arg_an_y, 819s # gint16 arg_an_n, 819s # guint16 arg_an_q, 819s # gint arg_an_i, 819s # guint arg_an_u, 819s # gint64 arg_an_x, 819s # guint64 arg_an_t, 819s # gdouble arg_an_d, 819s # const gchar *arg_an_s, 819s # const gchar *arg_an_o, 819s # const gchar *arg_an_g, 819s # GVariant *arg_an_h, 819s # const gchar *arg_an_ay, 819s # const gchar *const *arg_an_as, 819s # const gchar *const *arg_an_ao, 819s # const gchar *const *arg_an_aay, 819s # GVariant *arg_an_asv, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "MethodWithManyArgs", 819s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 819s # arg_an_b, 819s # arg_an_y, 819s # arg_an_n, 819s # arg_an_q, 819s # arg_an_i, 819s # arg_an_u, 819s # arg_an_x, 819s # arg_an_t, 819s # arg_an_d, 819s # arg_an_s, 819s # arg_an_o, 819s # arg_an_g, 819s # arg_an_h, 819s # arg_an_ay, 819s # arg_an_as, 819s # arg_an_ao, 819s # arg_an_aay, 819s # arg_an_asv), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_call_method_with_many_args_finish: 819s # * @proxy: A #OrgProjectCallableIfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_callable_iface_call_method_with_many_args_finish ( 819s # OrgProjectCallableIface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_call_method_with_many_args_sync: 819s # * @proxy: A #OrgProjectCallableIfaceProxy. 819s # * @arg_an_b: Argument to pass with the method invocation. 819s # * @arg_an_y: Argument to pass with the method invocation. 819s # * @arg_an_n: Argument to pass with the method invocation. 819s # * @arg_an_q: Argument to pass with the method invocation. 819s # * @arg_an_i: Argument to pass with the method invocation. 819s # * @arg_an_u: Argument to pass with the method invocation. 819s # * @arg_an_x: Argument to pass with the method invocation. 819s # * @arg_an_t: Argument to pass with the method invocation. 819s # * @arg_an_d: Argument to pass with the method invocation. 819s # * @arg_an_s: Argument to pass with the method invocation. 819s # * @arg_an_o: Argument to pass with the method invocation. 819s # * @arg_an_g: Argument to pass with the method invocation. 819s # * @arg_an_h: Argument to pass with the method invocation. 819s # * @arg_an_ay: Argument to pass with the method invocation. 819s # * @arg_an_as: Argument to pass with the method invocation. 819s # * @arg_an_ao: Argument to pass with the method invocation. 819s # * @arg_an_aay: Argument to pass with the method invocation. 819s # * @arg_an_asv: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_callable_iface_call_method_with_many_args_sync ( 819s # OrgProjectCallableIface *proxy, 819s # gboolean arg_an_b, 819s # guchar arg_an_y, 819s # gint16 arg_an_n, 819s # guint16 arg_an_q, 819s # gint arg_an_i, 819s # guint arg_an_u, 819s # gint64 arg_an_x, 819s # guint64 arg_an_t, 819s # gdouble arg_an_d, 819s # const gchar *arg_an_s, 819s # const gchar *arg_an_o, 819s # const gchar *arg_an_g, 819s # GVariant *arg_an_h, 819s # const gchar *arg_an_ay, 819s # const gchar *const *arg_an_as, 819s # const gchar *const *arg_an_ao, 819s # const gchar *const *arg_an_aay, 819s # GVariant *arg_an_asv, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "MethodWithManyArgs", 819s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 819s # arg_an_b, 819s # arg_an_y, 819s # arg_an_n, 819s # arg_an_q, 819s # arg_an_i, 819s # arg_an_u, 819s # arg_an_x, 819s # arg_an_t, 819s # arg_an_d, 819s # arg_an_s, 819s # arg_an_o, 819s # arg_an_g, 819s # arg_an_h, 819s # arg_an_ay, 819s # arg_an_as, 819s # arg_an_ao, 819s # arg_an_aay, 819s # arg_an_asv), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_call_same_method_with_many_args: 819s # * @proxy: A #OrgProjectCallableIfaceProxy. 819s # * @arg_an_b: Argument to pass with the method invocation. 819s # * @arg_an_y: Argument to pass with the method invocation. 819s # * @arg_an_n: Argument to pass with the method invocation. 819s # * @arg_an_q: Argument to pass with the method invocation. 819s # * @arg_an_i: Argument to pass with the method invocation. 819s # * @arg_an_u: Argument to pass with the method invocation. 819s # * @arg_an_x: Argument to pass with the method invocation. 819s # * @arg_an_t: Argument to pass with the method invocation. 819s # * @arg_an_d: Argument to pass with the method invocation. 819s # * @arg_an_s: Argument to pass with the method invocation. 819s # * @arg_an_o: Argument to pass with the method invocation. 819s # * @arg_an_g: Argument to pass with the method invocation. 819s # * @arg_an_h: Argument to pass with the method invocation. 819s # * @arg_an_ay: Argument to pass with the method invocation. 819s # * @arg_an_as: Argument to pass with the method invocation. 819s # * @arg_an_ao: Argument to pass with the method invocation. 819s # * @arg_an_aay: Argument to pass with the method invocation. 819s # * @arg_an_asv: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 819s # * 819s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_callable_iface_call_same_method_with_many_args ( 819s # OrgProjectCallableIface *proxy, 819s # gboolean arg_an_b, 819s # guchar arg_an_y, 819s # gint16 arg_an_n, 819s # guint16 arg_an_q, 819s # gint arg_an_i, 819s # guint arg_an_u, 819s # gint64 arg_an_x, 819s # guint64 arg_an_t, 819s # gdouble arg_an_d, 819s # const gchar *arg_an_s, 819s # const gchar *arg_an_o, 819s # const gchar *arg_an_g, 819s # GVariant *arg_an_h, 819s # const gchar *arg_an_ay, 819s # const gchar *const *arg_an_as, 819s # const gchar *const *arg_an_ao, 819s # const gchar *const *arg_an_aay, 819s # GVariant *arg_an_asv, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "SameMethodWithManyArgs", 819s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 819s # arg_an_b, 819s # arg_an_y, 819s # arg_an_n, 819s # arg_an_q, 819s # arg_an_i, 819s # arg_an_u, 819s # arg_an_x, 819s # arg_an_t, 819s # arg_an_d, 819s # arg_an_s, 819s # arg_an_o, 819s # arg_an_g, 819s # arg_an_h, 819s # arg_an_ay, 819s # arg_an_as, 819s # arg_an_ao, 819s # arg_an_aay, 819s # arg_an_asv), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_call_same_method_with_many_args_finish: 819s # * @proxy: A #OrgProjectCallableIfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_callable_iface_call_same_method_with_many_args_finish ( 819s # OrgProjectCallableIface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_call_same_method_with_many_args_sync: 819s # * @proxy: A #OrgProjectCallableIfaceProxy. 819s # * @arg_an_b: Argument to pass with the method invocation. 819s # * @arg_an_y: Argument to pass with the method invocation. 819s # * @arg_an_n: Argument to pass with the method invocation. 819s # * @arg_an_q: Argument to pass with the method invocation. 819s # * @arg_an_i: Argument to pass with the method invocation. 819s # * @arg_an_u: Argument to pass with the method invocation. 819s # * @arg_an_x: Argument to pass with the method invocation. 819s # * @arg_an_t: Argument to pass with the method invocation. 819s # * @arg_an_d: Argument to pass with the method invocation. 819s # * @arg_an_s: Argument to pass with the method invocation. 819s # * @arg_an_o: Argument to pass with the method invocation. 819s # * @arg_an_g: Argument to pass with the method invocation. 819s # * @arg_an_h: Argument to pass with the method invocation. 819s # * @arg_an_ay: Argument to pass with the method invocation. 819s # * @arg_an_as: Argument to pass with the method invocation. 819s # * @arg_an_ao: Argument to pass with the method invocation. 819s # * @arg_an_aay: Argument to pass with the method invocation. 819s # * @arg_an_asv: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_callable_iface_call_same_method_with_many_args_sync ( 819s # OrgProjectCallableIface *proxy, 819s # gboolean arg_an_b, 819s # guchar arg_an_y, 819s # gint16 arg_an_n, 819s # guint16 arg_an_q, 819s # gint arg_an_i, 819s # guint arg_an_u, 819s # gint64 arg_an_x, 819s # guint64 arg_an_t, 819s # gdouble arg_an_d, 819s # const gchar *arg_an_s, 819s # const gchar *arg_an_o, 819s # const gchar *arg_an_g, 819s # GVariant *arg_an_h, 819s # const gchar *arg_an_ay, 819s # const gchar *const *arg_an_as, 819s # const gchar *const *arg_an_ao, 819s # const gchar *const *arg_an_aay, 819s # GVariant *arg_an_asv, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "SameMethodWithManyArgs", 819s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 819s # arg_an_b, 819s # arg_an_y, 819s # arg_an_n, 819s # arg_an_q, 819s # arg_an_i, 819s # arg_an_u, 819s # arg_an_x, 819s # arg_an_t, 819s # arg_an_d, 819s # arg_an_s, 819s # arg_an_o, 819s # arg_an_g, 819s # arg_an_h, 819s # arg_an_ay, 819s # arg_an_as, 819s # arg_an_ao, 819s # arg_an_aay, 819s # arg_an_asv), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_complete_method_with_many_args: 819s # * @object: A #OrgProjectCallableIface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_callable_iface_complete_method_with_many_args ( 819s # OrgProjectCallableIface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_complete_same_method_with_many_args: 819s # * @object: A #OrgProjectCallableIface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_callable_iface_complete_same_method_with_many_args ( 819s # OrgProjectCallableIface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectCallableIfaceProxy: 819s # * 819s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectCallableIfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectCallableIfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectCallableIfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_callable_iface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 819s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 819s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_callable_iface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectCallableIface * 819s # org_project_callable_iface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_CALLABLE_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectCallableIface * 819s # org_project_callable_iface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_CALLABLE_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_callable_iface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_callable_iface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectCallableIface * 819s # org_project_callable_iface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_CALLABLE_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectCallableIface * 819s # org_project_callable_iface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_CALLABLE_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectCallableIfaceSkeleton: 819s # * 819s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectCallableIfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectCallableIfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectCallableIfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_callable_iface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_callable_iface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_callable_iface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 819s # { 819s # _org_project_callable_iface_skeleton_handle_method_call, 819s # _org_project_callable_iface_skeleton_handle_get_property, 819s # _org_project_callable_iface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_callable_iface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_callable_iface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectCallableIface * 819s # org_project_callable_iface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.OtherCallableIface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectOtherCallableIface 819s # * @title: OrgProjectOtherCallableIface 819s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_b", 819s # (gchar *) "b", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_y", 819s # (gchar *) "y", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_n", 819s # (gchar *) "n", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_q", 819s # (gchar *) "q", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_i", 819s # (gchar *) "i", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_u", 819s # (gchar *) "u", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_x", 819s # (gchar *) "x", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_t", 819s # (gchar *) "t", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_d", 819s # (gchar *) "d", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_s", 819s # (gchar *) "s", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_o", 819s # (gchar *) "o", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_g", 819s # (gchar *) "g", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_h", 819s # (gchar *) "h", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_ay", 819s # (gchar *) "ay", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_as", 819s # (gchar *) "as", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_ao", 819s # (gchar *) "ao", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_aay", 819s # (gchar *) "aay", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_asv", 819s # (gchar *) "a{sv}", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 819s # { 819s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 819s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 819s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 819s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 819s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 819s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 819s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 819s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 819s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 819s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 819s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 819s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 819s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 819s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 819s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 819s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 819s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 819s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 819s # { 819s # { 819s # -1, 819s # (gchar *) "MethodWithManyArgs", 819s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "handle-method-with-many-args", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 819s # { 819s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.OtherCallableIface", 819s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-other-callable-iface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_other_callable_iface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_other_callable_iface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _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, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectOtherCallableIface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 819s # */ 819s # 819s # /** 819s # * OrgProjectOtherCallableIfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 819s # */ 819s # 819s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 819s # * @object: A #OrgProjectOtherCallableIface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @arg_an_b: Argument passed by remote caller. 819s # * @arg_an_y: Argument passed by remote caller. 819s # * @arg_an_n: Argument passed by remote caller. 819s # * @arg_an_q: Argument passed by remote caller. 819s # * @arg_an_i: Argument passed by remote caller. 819s # * @arg_an_u: Argument passed by remote caller. 819s # * @arg_an_x: Argument passed by remote caller. 819s # * @arg_an_t: Argument passed by remote caller. 819s # * @arg_an_d: Argument passed by remote caller. 819s # * @arg_an_s: Argument passed by remote caller. 819s # * @arg_an_o: Argument passed by remote caller. 819s # * @arg_an_g: Argument passed by remote caller. 819s # * @arg_an_h: Argument passed by remote caller. 819s # * @arg_an_ay: Argument passed by remote caller. 819s # * @arg_an_as: Argument passed by remote caller. 819s # * @arg_an_ao: Argument passed by remote caller. 819s # * @arg_an_aay: Argument passed by remote caller. 819s # * @arg_an_asv: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-method-with-many-args", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_other_callable_iface_method_marshal_method_with_many_args, 819s # G_TYPE_BOOLEAN, 819s # 19, 819s # 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); 819s # 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_call_method_with_many_args: 819s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 819s # * @arg_an_b: Argument to pass with the method invocation. 819s # * @arg_an_y: Argument to pass with the method invocation. 819s # * @arg_an_n: Argument to pass with the method invocation. 819s # * @arg_an_q: Argument to pass with the method invocation. 819s # * @arg_an_i: Argument to pass with the method invocation. 819s # * @arg_an_u: Argument to pass with the method invocation. 819s # * @arg_an_x: Argument to pass with the method invocation. 819s # * @arg_an_t: Argument to pass with the method invocation. 819s # * @arg_an_d: Argument to pass with the method invocation. 819s # * @arg_an_s: Argument to pass with the method invocation. 819s # * @arg_an_o: Argument to pass with the method invocation. 819s # * @arg_an_g: Argument to pass with the method invocation. 819s # * @arg_an_h: Argument to pass with the method invocation. 819s # * @arg_an_ay: Argument to pass with the method invocation. 819s # * @arg_an_as: Argument to pass with the method invocation. 819s # * @arg_an_ao: Argument to pass with the method invocation. 819s # * @arg_an_aay: Argument to pass with the method invocation. 819s # * @arg_an_asv: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 819s # * 819s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_other_callable_iface_call_method_with_many_args ( 819s # OrgProjectOtherCallableIface *proxy, 819s # gboolean arg_an_b, 819s # guchar arg_an_y, 819s # gint16 arg_an_n, 819s # guint16 arg_an_q, 819s # gint arg_an_i, 819s # guint arg_an_u, 819s # gint64 arg_an_x, 819s # guint64 arg_an_t, 819s # gdouble arg_an_d, 819s # const gchar *arg_an_s, 819s # const gchar *arg_an_o, 819s # const gchar *arg_an_g, 819s # GVariant *arg_an_h, 819s # const gchar *arg_an_ay, 819s # const gchar *const *arg_an_as, 819s # const gchar *const *arg_an_ao, 819s # const gchar *const *arg_an_aay, 819s # GVariant *arg_an_asv, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "MethodWithManyArgs", 819s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 819s # arg_an_b, 819s # arg_an_y, 819s # arg_an_n, 819s # arg_an_q, 819s # arg_an_i, 819s # arg_an_u, 819s # arg_an_x, 819s # arg_an_t, 819s # arg_an_d, 819s # arg_an_s, 819s # arg_an_o, 819s # arg_an_g, 819s # arg_an_h, 819s # arg_an_ay, 819s # arg_an_as, 819s # arg_an_ao, 819s # arg_an_aay, 819s # arg_an_asv), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_call_method_with_many_args_finish: 819s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_other_callable_iface_call_method_with_many_args_finish ( 819s # OrgProjectOtherCallableIface *proxy, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_call_method_with_many_args_sync: 819s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 819s # * @arg_an_b: Argument to pass with the method invocation. 819s # * @arg_an_y: Argument to pass with the method invocation. 819s # * @arg_an_n: Argument to pass with the method invocation. 819s # * @arg_an_q: Argument to pass with the method invocation. 819s # * @arg_an_i: Argument to pass with the method invocation. 819s # * @arg_an_u: Argument to pass with the method invocation. 819s # * @arg_an_x: Argument to pass with the method invocation. 819s # * @arg_an_t: Argument to pass with the method invocation. 819s # * @arg_an_d: Argument to pass with the method invocation. 819s # * @arg_an_s: Argument to pass with the method invocation. 819s # * @arg_an_o: Argument to pass with the method invocation. 819s # * @arg_an_g: Argument to pass with the method invocation. 819s # * @arg_an_h: Argument to pass with the method invocation. 819s # * @arg_an_ay: Argument to pass with the method invocation. 819s # * @arg_an_as: Argument to pass with the method invocation. 819s # * @arg_an_ao: Argument to pass with the method invocation. 819s # * @arg_an_aay: Argument to pass with the method invocation. 819s # * @arg_an_asv: Argument to pass with the method invocation. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_other_callable_iface_call_method_with_many_args_sync ( 819s # OrgProjectOtherCallableIface *proxy, 819s # gboolean arg_an_b, 819s # guchar arg_an_y, 819s # gint16 arg_an_n, 819s # guint16 arg_an_q, 819s # gint arg_an_i, 819s # guint arg_an_u, 819s # gint64 arg_an_x, 819s # guint64 arg_an_t, 819s # gdouble arg_an_d, 819s # const gchar *arg_an_s, 819s # const gchar *arg_an_o, 819s # const gchar *arg_an_g, 819s # GVariant *arg_an_h, 819s # const gchar *arg_an_ay, 819s # const gchar *const *arg_an_as, 819s # const gchar *const *arg_an_ao, 819s # const gchar *const *arg_an_aay, 819s # GVariant *arg_an_asv, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "MethodWithManyArgs", 819s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 819s # arg_an_b, 819s # arg_an_y, 819s # arg_an_n, 819s # arg_an_q, 819s # arg_an_i, 819s # arg_an_u, 819s # arg_an_x, 819s # arg_an_t, 819s # arg_an_d, 819s # arg_an_s, 819s # arg_an_o, 819s # arg_an_g, 819s # arg_an_h, 819s # arg_an_ay, 819s # arg_an_as, 819s # arg_an_ao, 819s # arg_an_aay, 819s # arg_an_asv), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "()"); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_complete_method_with_many_args: 819s # * @object: A #OrgProjectOtherCallableIface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_other_callable_iface_complete_method_with_many_args ( 819s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("()")); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectOtherCallableIfaceProxy: 819s # * 819s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectOtherCallableIfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectOtherCallableIfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_other_callable_iface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 819s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 819s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_other_callable_iface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectOtherCallableIface * 819s # org_project_other_callable_iface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectOtherCallableIface * 819s # org_project_other_callable_iface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_other_callable_iface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_other_callable_iface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectOtherCallableIface * 819s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectOtherCallableIface * 819s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectOtherCallableIfaceSkeleton: 819s # * 819s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectOtherCallableIfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_other_callable_iface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_other_callable_iface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_other_callable_iface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 819s # { 819s # _org_project_other_callable_iface_skeleton_handle_method_call, 819s # _org_project_other_callable_iface_skeleton_handle_get_property, 819s # _org_project_other_callable_iface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_other_callable_iface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_other_callable_iface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectOtherCallableIface * 819s # org_project_other_callable_iface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 819s # } 819s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 819s # tmpdir: /tmp/tmp4_1c6akq 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmp4_1c6akq/tmpw7yzpiku.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4_1c6akq/tmpw7yzpiku.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (void *data1, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.CallableIface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectCallableIface 819s # * @title: OrgProjectCallableIface 819s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for org.project.CallableIface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_b", 819s # (gchar *) "b", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_y", 819s # (gchar *) "y", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_n", 819s # (gchar *) "n", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_q", 819s # (gchar *) "q", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_i", 819s # (gchar *) "i", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_u", 819s # (gchar *) "u", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_x", 819s # (gchar *) "x", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_t", 819s # (gchar *) "t", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_d", 819s # (gchar *) "d", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_s", 819s # (gchar *) "s", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_o", 819s # (gchar *) "o", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_g", 819s # (gchar *) "g", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_h", 819s # (gchar *) "h", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_ay", 819s # (gchar *) "ay", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_as", 819s # (gchar *) "as", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_ao", 819s # (gchar *) "ao", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_aay", 819s # (gchar *) "aay", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_asv", 819s # (gchar *) "a{sv}", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 819s # { 819s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 819s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 819s # { 819s # { 819s # -1, 819s # (gchar *) "MethodWithManyArgs", 819s # NULL, 819s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 819s # NULL 819s # }, 819s # "handle-method-with-many-args", 819s # FALSE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 819s # { 819s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.CallableIface", 819s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-callable-iface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_callable_iface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_callable_iface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_callable_iface_method_marshal_method_with_many_args ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectCallableIface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 819s # */ 819s # 819s # /** 819s # * OrgProjectCallableIfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.CallableIface. 819s # */ 819s # 819s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * OrgProjectCallableIface::handle-method-with-many-args: 819s # * @object: A #OrgProjectCallableIface. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * 819s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-method-with-many-args", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # org_project_callable_iface_method_marshal_method_with_many_args, 819s # G_TYPE_BOOLEAN, 819s # 1, 819s # G_TYPE_DBUS_METHOD_INVOCATION); 819s # 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_call_method_with_many_args: 819s # * @proxy: A #OrgProjectCallableIfaceProxy. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 819s # * 819s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # org_project_callable_iface_call_method_with_many_args ( 819s # OrgProjectCallableIface *proxy, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 819s # "MethodWithManyArgs", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_call_method_with_many_args_finish: 819s # * @proxy: A #OrgProjectCallableIfaceProxy. 819s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 819s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 819s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 819s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_callable_iface_call_method_with_many_args_finish ( 819s # OrgProjectCallableIface *proxy, 819s # gboolean *out_an_b, 819s # guchar *out_an_y, 819s # gint16 *out_an_n, 819s # guint16 *out_an_q, 819s # gint *out_an_i, 819s # guint *out_an_u, 819s # gint64 *out_an_x, 819s # guint64 *out_an_t, 819s # gdouble *out_an_d, 819s # gchar **out_an_s, 819s # gchar **out_an_o, 819s # gchar **out_an_g, 819s # GVariant **out_an_h, 819s # gchar **out_an_ay, 819s # gchar ***out_an_as, 819s # gchar ***out_an_ao, 819s # gchar ***out_an_aay, 819s # GVariant **out_an_asv, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 819s # out_an_b, 819s # out_an_y, 819s # out_an_n, 819s # out_an_q, 819s # out_an_i, 819s # out_an_u, 819s # out_an_x, 819s # out_an_t, 819s # out_an_d, 819s # out_an_s, 819s # out_an_o, 819s # out_an_g, 819s # out_an_h, 819s # out_an_ay, 819s # out_an_as, 819s # out_an_ao, 819s # out_an_aay, 819s # out_an_asv); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_call_method_with_many_args_sync: 819s # * @proxy: A #OrgProjectCallableIfaceProxy. 819s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 819s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 819s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 819s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # org_project_callable_iface_call_method_with_many_args_sync ( 819s # OrgProjectCallableIface *proxy, 819s # gboolean *out_an_b, 819s # guchar *out_an_y, 819s # gint16 *out_an_n, 819s # guint16 *out_an_q, 819s # gint *out_an_i, 819s # guint *out_an_u, 819s # gint64 *out_an_x, 819s # guint64 *out_an_t, 819s # gdouble *out_an_d, 819s # gchar **out_an_s, 819s # gchar **out_an_o, 819s # gchar **out_an_g, 819s # GVariant **out_an_h, 819s # gchar **out_an_ay, 819s # gchar ***out_an_as, 819s # gchar ***out_an_ao, 819s # gchar ***out_an_aay, 819s # GVariant **out_an_asv, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 819s # "MethodWithManyArgs", 819s # g_variant_new ("()"), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 819s # out_an_b, 819s # out_an_y, 819s # out_an_n, 819s # out_an_q, 819s # out_an_i, 819s # out_an_u, 819s # out_an_x, 819s # out_an_t, 819s # out_an_d, 819s # out_an_s, 819s # out_an_o, 819s # out_an_g, 819s # out_an_h, 819s # out_an_ay, 819s # out_an_as, 819s # out_an_ao, 819s # out_an_aay, 819s # out_an_asv); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_complete_method_with_many_args: 819s # * @object: A #OrgProjectCallableIface. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * @an_b: Parameter to return. 819s # * @an_y: Parameter to return. 819s # * @an_n: Parameter to return. 819s # * @an_q: Parameter to return. 819s # * @an_i: Parameter to return. 819s # * @an_u: Parameter to return. 819s # * @an_x: Parameter to return. 819s # * @an_t: Parameter to return. 819s # * @an_d: Parameter to return. 819s # * @an_s: Parameter to return. 819s # * @an_o: Parameter to return. 819s # * @an_g: Parameter to return. 819s # * @an_h: Parameter to return. 819s # * @an_ay: Parameter to return. 819s # * @an_as: Parameter to return. 819s # * @an_ao: Parameter to return. 819s # * @an_aay: Parameter to return. 819s # * @an_asv: Parameter to return. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # org_project_callable_iface_complete_method_with_many_args ( 819s # OrgProjectCallableIface *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation, 819s # gboolean an_b, 819s # guchar an_y, 819s # gint16 an_n, 819s # guint16 an_q, 819s # gint an_i, 819s # guint an_u, 819s # gint64 an_x, 819s # guint64 an_t, 819s # gdouble an_d, 819s # const gchar *an_s, 819s # const gchar *an_o, 819s # const gchar *an_g, 819s # GVariant *an_h, 819s # const gchar *an_ay, 819s # const gchar *const *an_as, 819s # const gchar *const *an_ao, 819s # const gchar *const *an_aay, 819s # GVariant *an_asv) 819s # { 819s # g_dbus_method_invocation_return_value (invocation, 819s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 819s # an_b, 819s # an_y, 819s # an_n, 819s # an_q, 819s # an_i, 819s # an_u, 819s # an_x, 819s # an_t, 819s # an_d, 819s # an_s, 819s # an_o, 819s # an_g, 819s # an_h, 819s # an_ay, 819s # an_as, 819s # an_ao, 819s # an_aay, 819s # an_asv)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectCallableIfaceProxy: 819s # * 819s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectCallableIfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectCallableIfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectCallableIfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_callable_iface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 819s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 819s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_callable_iface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectCallableIface * 819s # org_project_callable_iface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_CALLABLE_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectCallableIface * 819s # org_project_callable_iface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_CALLABLE_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_callable_iface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_callable_iface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectCallableIface * 819s # org_project_callable_iface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_CALLABLE_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectCallableIface * 819s # org_project_callable_iface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_CALLABLE_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectCallableIfaceSkeleton: 819s # * 819s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectCallableIfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectCallableIfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectCallableIfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_callable_iface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_callable_iface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_callable_iface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 819s # { 819s # _org_project_callable_iface_skeleton_handle_method_call, 819s # _org_project_callable_iface_skeleton_handle_get_property, 819s # _org_project_callable_iface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_callable_iface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_callable_iface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_callable_iface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectCallableIface * 819s # org_project_callable_iface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 819s # } 819s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 819s # tmpdir: /tmp/tmpg8_7e4fa 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmpg8_7e4fa/tmp0eny3pzp.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpg8_7e4fa/tmp0eny3pzp.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu',# Executing: glib/codegen.py.test 819s 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 819s # (void *data1, 819s # GUnixFDList *arg_fd_list, 819s # GDBusMethodInvocation *arg_method_invocation, 819s # const gchar *arg_greeting, 819s # void *data2); 819s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # gboolean v_return; 819s # 819s # g_return_if_fail (return_value != NULL); 819s # g_return_if_fail (n_param_values == 4); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # v_return = 819s # callback (data1, 819s # g_marshal_value_peek_object (param_values + 1), 819s # g_marshal_value_peek_object (param_values + 2), 819s # g_marshal_value_peek_string (param_values + 3), 819s # data2); 819s # 819s # g_value_set_boolean (return_value, v_return); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface test.FDPassing 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:TestFDPassing 819s # * @title: TestFDPassing 819s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 819s # * 819s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 819s # */ 819s # 819s # /* ---- Introspection data for test.FDPassing ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 819s # { 819s # { 819s # -1, 819s # (gchar *) "greeting", 819s # (gchar *) "s", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 819s # { 819s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 819s # { 819s # { 819s # -1, 819s # (gchar *) "response", 819s # (gchar *) "s", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 819s # { 819s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 819s # { 819s # { 819s # -1, 819s # (gchar *) "HelloFD", 819s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 819s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 819s # NULL 819s # }, 819s # "handle-hello-fd", 819s # TRUE 819s # }; 819s # 819s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 819s # { 819s # &_test_fdpassing_method_info_hello_fd.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "test.FDPassing", 819s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 819s # NULL, 819s # NULL, 819s # NULL 819s # }, 819s # "test-fdpassing", 819s # }; 819s # 819s # 819s # /** 819s # * test_fdpassing_interface_info: 819s # * 819s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # test_fdpassing_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * test_fdpassing_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # test_fdpassing_method_marshal_hello_fd ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * TestFDPassing: 819s # * 819s # * Abstract interface type for the D-Bus interface test.FDPassing. 819s # */ 819s # 819s # /** 819s # * TestFDPassingIface: 819s # * @parent_iface: The parent interface. 819s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 819s # * 819s # * Virtual table for the D-Bus interface test.FDPassing. 819s # */ 819s # 819s # typedef TestFDPassingIface TestFDPassingInterface; 819s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 819s # 819s # static void 819s # test_fdpassing_default_init (TestFDPassingIface *iface) 819s # { 819s # /* GObject signals for incoming D-Bus method calls: */ 819s # /** 819s # * TestFDPassing::handle-hello-fd: 819s # * @object: A #TestFDPassing. 819s # * @invocation: A #GDBusMethodInvocation. 819s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 819s # * @arg_greeting: Argument passed by remote caller. 819s # * 819s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 819s # * 819s # * 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. 819s # * 819s # * 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. 819s # */ 819s # g_signal_new ("handle-hello-fd", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 819s # g_signal_accumulator_true_handled, 819s # NULL, 819s # test_fdpassing_method_marshal_hello_fd, 819s # G_TYPE_BOOLEAN, 819s # 3, 819s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 819s # 819s # } 819s # 819s # /** 819s # * test_fdpassing_call_hello_fd: 819s # * @proxy: A #TestFDPassingProxy. 819s # * @arg_greeting: Argument to pass with the method invocation. 819s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 819s # * 819s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 819s # */ 819s # void 819s # test_fdpassing_call_hello_fd ( 819s # TestFDPassing *proxy, 819s # const gchar *arg_greeting, 819s # GUnixFDList *fd_list, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 819s # "HelloFD", 819s # g_variant_new ("(s)", 819s # arg_greeting), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # fd_list, 819s # cancellable, 819s # callback, 819s # user_data); 819s # } 819s # 819s # /** 819s # * test_fdpassing_call_hello_fd_finish: 819s # * @proxy: A #TestFDPassingProxy. 819s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # test_fdpassing_call_hello_fd_finish ( 819s # TestFDPassing *proxy, 819s # gchar **out_response, 819s # GUnixFDList **out_fd_list, 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(s)", 819s # out_response); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * test_fdpassing_call_hello_fd_sync: 819s # * @proxy: A #TestFDPassingProxy. 819s # * @arg_greeting: Argument to pass with the method invocation. 819s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 819s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 819s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL. 819s # * 819s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 819s # * 819s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 819s # * 819s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 819s # */ 819s # gboolean 819s # test_fdpassing_call_hello_fd_sync ( 819s # TestFDPassing *proxy, 819s # const gchar *arg_greeting, 819s # GUnixFDList *fd_list, 819s # gchar **out_response, 819s # GUnixFDList **out_fd_list, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GVariant *_ret; 819s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 819s # "HelloFD", 819s # g_variant_new ("(s)", 819s # arg_greeting), 819s # G_DBUS_CALL_FLAGS_NONE, 819s # -1, 819s # fd_list, 819s # out_fd_list, 819s # cancellable, 819s # error); 819s # if (_ret == NULL) 819s # goto _out; 819s # g_variant_get (_ret, 819s # "(s)", 819s # out_response); 819s # g_variant_unref (_ret); 819s # _out: 819s # return _ret != NULL; 819s # } 819s # 819s # /** 819s # * test_fdpassing_complete_hello_fd: 819s # * @object: A #TestFDPassing. 819s # * @invocation: (transfer full): A #GDBusMethodInvocation. 819s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 819s # * @response: Parameter to return. 819s # * 819s # * 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. 819s # * 819s # * This method will free @invocation, you cannot use it afterwards. 819s # */ 819s # void 819s # test_fdpassing_complete_hello_fd ( 819s # TestFDPassing *object G_GNUC_UNUSED, 819s # GDBusMethodInvocation *invocation, 819s # GUnixFDList *fd_list, 819s # const gchar *response) 819s # { 819s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 819s # g_variant_new ("(s)", 819s # response), 819s # fd_list); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * TestFDPassingProxy: 819s # * 819s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * TestFDPassingProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #TestFDPassingProxy. 819s # */ 819s # 819s # struct _TestFDPassingProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (TestFDPassingProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # test_fdpassing_proxy_finalize (GObject *object) 819s # { 819s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 819s # } 819s # 819s # static void 819s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = test_fdpassing_proxy_finalize; 819s # gobject_class->get_property = test_fdpassing_proxy_get_property; 819s # gobject_class->set_property = test_fdpassing_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 819s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * test_fdpassing_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # test_fdpassing_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * test_fdpassing_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with test_fdpassing_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # TestFDPassing * 819s # test_fdpassing_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return TEST_FDPASSING (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * test_fdpassing_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # TestFDPassing * 819s # test_fdpassing_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return TEST_FDPASSING (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * test_fdpassing_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # test_fdpassing_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * test_fdpassing_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # TestFDPassing * 819s # test_fdpassing_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return TEST_FDPASSING (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * test_fdpassing_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # TestFDPassing * 819s # test_fdpassing_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return TEST_FDPASSING (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * TestFDPassingSkeleton: 819s # * 819s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * TestFDPassingSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #TestFDPassingSkeleton. 819s # */ 819s # 819s # struct _TestFDPassingSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _test_fdpassing_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _test_fdpassing_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _test_fdpassing_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 819s # { 819s # _test_fdpassing_skeleton_handle_method_call, 819s # _test_fdpassing_skeleton_handle_get_property, 819s # _test_fdpassing_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return test_fdpassing_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (TestFDPassingSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # test_fdpassing_skeleton_finalize (GObject *object) 819s # { 819s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * test_fdpassing_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 819s # * 819s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 819s # */ 819s # TestFDPassing * 819s # test_fdpassing_skeleton_new (void) 819s # { 819s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 819s # } 819s ok 15 __main__.TestCodegen.test_generate_rst 819s # tmpdir: /tmp/tmpo0xim53k 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmpo0xim53k/tmp_zaihafa.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo0xim53k/tmp_zaihafa.xml', '--generate-rst', 'test'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: 819s ok 16 __main__.TestCodegen.test_generate_rst_method 819s # tmpdir: /tmp/tmp74lhutoq 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmp74lhutoq/tmpz__ix8st.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74lhutoq/tmpz__ix8st.xml', '--generate-rst', 'test'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: 819s ok 17 __main__.TestCodegen.test_generate_rst_property 819s # tmpdir: /tmp/tmpvyoenhxi 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmpvyoenhxi/tmpz12ux42r.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvyoenhxi/tmpz12ux42r.xml', '--generate-rst', 'test'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: 819s ok 18 __main__.TestCodegen.test_generate_rst_signal 819s # tmpdir: /tmp/tmpgmzsr5mh 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmpgmzsr5mh/tmp7d2dyva_.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgmzsr5mh/tmp7d2dyva_.xml', '--generate-rst', 'test'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: 819s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 819s # tmpdir: /tmp/tmpydm4z2rd 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmpydm4z2rd/tmpugwter40.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpydm4z2rd/tmpugwter40.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 819s # GClosure *closure, 819s # GValue *return_value G_GNUC_UNUSED, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 819s # (void *data1, 819s # gboolean arg_an_b, 819s # guchar arg_an_y, 819s # gint16 arg_an_n, 819s # guint16 arg_an_q, 819s # gint arg_an_i, 819s # guint arg_an_u, 819s # gint64 arg_an_x, 819s # guint64 arg_an_t, 819s # gdouble arg_an_d, 819s # const gchar *arg_an_s, 819s # const gchar *arg_an_o, 819s # const gchar *arg_an_g, 819s # GVariant *arg_an_h, 819s # const gchar *arg_an_ay, 819s # const gchar *const *arg_an_as, 819s # const gchar *const *arg_an_ao, 819s # const gchar *const *arg_an_aay, 819s # GVariant *arg_an_asv, 819s # void *data2); 819s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # 819s # g_return_if_fail (n_param_values == 19); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # callback (data1, 819s # g_marshal_value_peek_boolean (param_values + 1), 819s # g_marshal_value_peek_uchar (param_values + 2), 819s # g_marshal_value_peek_int (param_values + 3), 819s # g_marshal_value_peek_uint (param_values + 4), 819s # g_marshal_value_peek_int (param_values + 5), 819s # g_marshal_value_peek_uint (param_values + 6), 819s # g_marshal_value_peek_int64 (param_values + 7), 819s # g_marshal_value_peek_uint64 (param_values + 8), 819s # g_marshal_value_peek_double (param_values + 9), 819s # g_marshal_value_peek_string (param_values + 10), 819s # g_marshal_value_peek_string (param_values + 11), 819s # g_marshal_value_peek_string (param_values + 12), 819s # g_marshal_value_peek_variant (param_values + 13), 819s # g_marshal_value_peek_string (param_values + 14), 819s # g_marshal_value_peek_boxed (param_values + 15), 819s # g_marshal_value_peek_boxed (param_values + 16), 819s # g_marshal_value_peek_boxed (param_values + 17), 819s # g_marshal_value_peek_variant (param_values + 18), 819s # data2); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.SignalingIface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectSignalingIface 819s # * @title: OrgProjectSignalingIface 819s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 819s # */ 819s # 819s # enum 819s # { 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 819s # }; 819s # 819s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 819s # 819s # /* ---- Introspection data for org.project.SignalingIface ---- */ 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_b", 819s # (gchar *) "b", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_y", 819s # (gchar *) "y", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_n", 819s # (gchar *) "n", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_q", 819s # (gchar *) "q", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_i", 819s # (gchar *) "i", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_u", 819s # (gchar *) "u", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_x", 819s # (gchar *) "x", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_t", 819s # (gchar *) "t", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_d", 819s # (gchar *) "d", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_s", 819s # (gchar *) "s", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_o", 819s # (gchar *) "o", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_g", 819s # (gchar *) "g", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_h", 819s # (gchar *) "h", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_ay", 819s # (gchar *) "ay", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_as", 819s # (gchar *) "as", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_ao", 819s # (gchar *) "ao", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_aay", 819s # (gchar *) "aay", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_asv", 819s # (gchar *) "a{sv}", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 819s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 819s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 819s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 819s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 819s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 819s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 819s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 819s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 819s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 819s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 819s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 819s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 819s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 819s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 819s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 819s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 819s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SignalWithManyArgs", 819s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 819s # NULL 819s # }, 819s # "signal-with-many-args" 819s # }; 819s # 819s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.SignalingIface", 819s # NULL, 819s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-signaling-iface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_signaling_iface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_signaling_iface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectSignalingIface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 819s # */ 819s # 819s # /** 819s # * OrgProjectSignalingIfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.SignalingIface. 819s # */ 819s # 819s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 819s # { 819s # /* GObject signals for received D-Bus signals: */ 819s # /** 819s # * OrgProjectSignalingIface::signal-with-many-args: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_b: Argument. 819s # * @arg_an_y: Argument. 819s # * @arg_an_n: Argument. 819s # * @arg_an_q: Argument. 819s # * @arg_an_i: Argument. 819s # * @arg_an_u: Argument. 819s # * @arg_an_x: Argument. 819s # * @arg_an_t: Argument. 819s # * @arg_an_d: Argument. 819s # * @arg_an_s: Argument. 819s # * @arg_an_o: Argument. 819s # * @arg_an_g: Argument. 819s # * @arg_an_h: Argument. 819s # * @arg_an_ay: Argument. 819s # * @arg_an_as: Argument. 819s # * @arg_an_ao: Argument. 819s # * @arg_an_aay: Argument. 819s # * @arg_an_asv: Argument. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 819s # g_signal_new ("signal-with-many-args", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 819s # NULL, 819s # NULL, 819s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 819s # G_TYPE_NONE, 819s # 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); 819s # 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_emit_signal_with_many_args: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_b: Argument to pass with the signal. 819s # * @arg_an_y: Argument to pass with the signal. 819s # * @arg_an_n: Argument to pass with the signal. 819s # * @arg_an_q: Argument to pass with the signal. 819s # * @arg_an_i: Argument to pass with the signal. 819s # * @arg_an_u: Argument to pass with the signal. 819s # * @arg_an_x: Argument to pass with the signal. 819s # * @arg_an_t: Argument to pass with the signal. 819s # * @arg_an_d: Argument to pass with the signal. 819s # * @arg_an_s: Argument to pass with the signal. 819s # * @arg_an_o: Argument to pass with the signal. 819s # * @arg_an_g: Argument to pass with the signal. 819s # * @arg_an_h: Argument to pass with the signal. 819s # * @arg_an_ay: Argument to pass with the signal. 819s # * @arg_an_as: Argument to pass with the signal. 819s # * @arg_an_ao: Argument to pass with the signal. 819s # * @arg_an_aay: Argument to pass with the signal. 819s # * @arg_an_asv: Argument to pass with the signal. 819s # * 819s # * Emits the "SignalWithManyArgs" D-Bus signal. 819s # */ 819s # void 819s # org_project_signaling_iface_emit_signal_with_many_args ( 819s # OrgProjectSignalingIface *object, 819s # gboolean arg_an_b, 819s # guchar arg_an_y, 819s # gint16 arg_an_n, 819s # guint16 arg_an_q, 819s # gint arg_an_i, 819s # guint arg_an_u, 819s # gint64 arg_an_x, 819s # guint64 arg_an_t, 819s # gdouble arg_an_d, 819s # const gchar *arg_an_s, 819s # const gchar *arg_an_o, 819s # const gchar *arg_an_g, 819s # GVariant *arg_an_h, 819s # const gchar *arg_an_ay, 819s # const gchar *const *arg_an_as, 819s # const gchar *const *arg_an_ao, 819s # const gchar *const *arg_an_aay, 819s # GVariant *arg_an_asv) 819s # { 819s # 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); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectSignalingIfaceProxy: 819s # * 819s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectSignalingIfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectSignalingIfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectSignalingIfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_signaling_iface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 819s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 819s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_signaling_iface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectSignalingIface * 819s # org_project_signaling_iface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_SIGNALING_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectSignalingIface * 819s # org_project_signaling_iface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_SIGNALING_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_signaling_iface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_signaling_iface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectSignalingIface * 819s # org_project_signaling_iface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_SIGNALING_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectSignalingIface * 819s # org_project_signaling_iface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_SIGNALING_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectSignalingIfaceSkeleton: 819s # * 819s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectSignalingIfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectSignalingIfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_signaling_iface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_signaling_iface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_signaling_iface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 819s # { 819s # _org_project_signaling_iface_skeleton_handle_method_call, 819s # _org_project_signaling_iface_skeleton_handle_get_property, 819s # _org_project_signaling_iface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_signaling_iface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 819s # OrgProjectSignalingIface *object, 819s # gboolean arg_an_b, 819s # guchar arg_an_y, 819s # gint16 arg_an_n, 819s # guint16 arg_an_q, 819s # gint arg_an_i, 819s # guint arg_an_u, 819s # gint64 arg_an_x, 819s # guint64 arg_an_t, 819s # gdouble arg_an_d, 819s # const gchar *arg_an_s, 819s # const gchar *arg_an_o, 819s # const gchar *arg_an_g, 819s # GVariant *arg_an_h, 819s # const gchar *arg_an_ay, 819s # const gchar *const *arg_an_as, 819s # const gchar *const *arg_an_ao, 819s # const gchar *const *arg_an_aay, 819s # GVariant *arg_an_asv) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 819s # arg_an_b, 819s # arg_an_y, 819s # arg_an_n, 819s # arg_an_q, 819s # arg_an_i, 819s # arg_an_u, 819s # arg_an_x, 819s # arg_an_t, 819s # arg_an_d, 819s # arg_an_s, 819s # arg_an_o, 819s # arg_an_g, 819s # arg_an_h, 819s # arg_an_ay, 819s # arg_an_as, 819s # arg_an_ao, 819s # arg_an_aay, 819s # arg_an_asv)); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_signaling_iface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 819s # { 819s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectSignalingIface * 819s # org_project_signaling_iface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 819s # } 819s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 819s # tmpdir: /tmp/tmp_v6h7qau 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmp_v6h7qau/tmpdybhw4h2.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_v6h7qau/tmpdybhw4h2.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_VOID__INT64 ( 819s # GClosure *closure, 819s # GValue *return_value G_GNUC_UNUSED, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 819s # (void *data1, 819s # gint64 arg_an_x, 819s # void *data2); 819s # _GDbusCodegenMarshalVoid_Int64Func callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # callback (data1, 819s # g_marshal_value_peek_int64 (param_values + 1), 819s # data2); 819s # } 819s # 819s # static void 819s # _g_dbus_codegen_marshal_VOID__UINT64 ( 819s # GClosure *closure, 819s # GValue *return_value G_GNUC_UNUSED, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint G_GNUC_UNUSED, 819s # void *marshal_data) 819s # { 819s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 819s # (void *data1, 819s # guint64 arg_an_t, 819s # void *data2); 819s # _GDbusCodegenMarshalVoid_Uint64Func callback; 819s # GCClosure *cc = (GCClosure*) closure; 819s # void *data1, *data2; 819s # 819s # g_return_if_fail (n_param_values == 2); 819s # 819s # if (G_CCLOSURE_SWAP_DATA (closure)) 819s # { 819s # data1 = closure->data; 819s # data2 = g_value_peek_pointer (param_values + 0); 819s # } 819s # else 819s # { 819s # data1 = g_value_peek_pointer (param_values + 0); 819s # data2 = closure->data; 819s # } 819s # 819s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 819s # (marshal_data ? marshal_data : cc->callback); 819s # 819s # callback (data1, 819s # g_marshal_value_peek_uint64 (param_values + 1), 819s # data2); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.SignalingIface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectSignalingIface 819s # * @title: OrgProjectSignalingIface 819s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 819s # */ 819s # 819s # enum 819s # { 819s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 819s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 819s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 819s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 819s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 819s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 819s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 819s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 819s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 819s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 819s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 819s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 819s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 819s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 819s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 819s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 819s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 819s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 819s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 819s # }; 819s # 819s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 819s # 819s # /* ---- Introspection data for org.project.SignalingIface ---- */ 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 819s # { 819s # { 819s # -1, 819s # (gchar *) "NoArgSignal", 819s # NULL, 819s # NULL 819s # }, 819s # "no-arg-signal" 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_b", 819s # (gchar *) "b", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgSignalB", 819s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 819s # NULL 819s # }, 819s # "single-arg-signal-b" 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_y", 819s # (gchar *) "y", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgSignalY", 819s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 819s # NULL 819s # }, 819s # "single-arg-signal-y" 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_n", 819s # (gchar *) "n", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgSignalN", 819s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 819s # NULL 819s # }, 819s # "single-arg-signal-n" 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_q", 819s # (gchar *) "q", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgSignalQ", 819s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 819s # NULL 819s # }, 819s # "single-arg-signal-q" 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_i", 819s # (gchar *) "i", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgSignalI", 819s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 819s # NULL 819s # }, 819s # "single-arg-signal-i" 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_u", 819s # (gchar *) "u", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgSignalU", 819s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 819s # NULL 819s # }, 819s # "single-arg-signal-u" 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_x", 819s # (gchar *) "x", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgSignalX", 819s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 819s # NULL 819s # }, 819s # "single-arg-signal-x" 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_t", 819s # (gchar *) "t", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgSignalT", 819s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 819s # NULL 819s # }, 819s # "single-arg-signal-t" 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_d", 819s # (gchar *) "d", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgSignalD", 819s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 819s # NULL 819s # }, 819s # "single-arg-signal-d" 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_s", 819s # (gchar *) "s", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgSignalS", 819s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 819s # NULL 819s # }, 819s # "single-arg-signal-s" 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_o", 819s # (gchar *) "o", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgSignalO", 819s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 819s # NULL 819s # }, 819s # "single-arg-signal-o" 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_g", 819s # (gchar *) "g", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgSignalG", 819s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 819s # NULL 819s # }, 819s # "single-arg-signal-g" 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_h", 819s # (gchar *) "h", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgSignalH", 819s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 819s # NULL 819s # }, 819s # "single-arg-signal-h" 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_ay", 819s # (gchar *) "ay", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgSignalAY", 819s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 819s # NULL 819s # }, 819s # "single-arg-signal-ay" 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_as", 819s # (gchar *) "as", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgSignalAS", 819s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 819s # NULL 819s # }, 819s # "single-arg-signal-as" 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_ao", 819s # (gchar *) "ao", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgSignalAO", 819s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 819s # NULL 819s # }, 819s # "single-arg-signal-ao" 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_aay", 819s # (gchar *) "aay", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgSignalAAY", 819s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 819s # NULL 819s # }, 819s # "single-arg-signal-aay" 819s # }; 819s # 819s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 819s # { 819s # { 819s # -1, 819s # (gchar *) "an_asv", 819s # (gchar *) "a{sv}", 819s # NULL 819s # }, 819s # FALSE 819s # }; 819s # 819s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SingleArgSignalASV", 819s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 819s # NULL 819s # }, 819s # "single-arg-signal-asv" 819s # }; 819s # 819s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 819s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.SignalingIface", 819s # NULL, 819s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-signaling-iface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_signaling_iface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_signaling_iface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # g_cclosure_marshal_VOID__VOID (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # inline static void 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # g_cclosure_marshal_VOID__BOOLEAN (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # inline static void 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # g_cclosure_marshal_VOID__UCHAR (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # inline static void 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # g_cclosure_marshal_VOID__INT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # inline static void 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # g_cclosure_marshal_VOID__UINT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # inline static void 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # g_cclosure_marshal_VOID__INT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # inline static void 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # g_cclosure_marshal_VOID__UINT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # inline static void 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # inline static void 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # inline static void 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # g_cclosure_marshal_VOID__DOUBLE (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # inline static void 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # g_cclosure_marshal_VOID__STRING (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # inline static void 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # g_cclosure_marshal_VOID__STRING (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # inline static void 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # g_cclosure_marshal_VOID__STRING (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # inline static void 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # g_cclosure_marshal_VOID__VARIANT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # inline static void 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # g_cclosure_marshal_VOID__STRING (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # inline static void 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # g_cclosure_marshal_VOID__BOXED (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # inline static void 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # g_cclosure_marshal_VOID__BOXED (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # inline static void 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # g_cclosure_marshal_VOID__BOXED (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # inline static void 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # g_cclosure_marshal_VOID__VARIANT (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectSignalingIface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 819s # */ 819s # 819s # /** 819s # * OrgProjectSignalingIfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 819s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 819s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 819s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 819s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 819s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 819s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 819s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 819s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 819s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 819s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 819s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 819s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 819s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 819s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 819s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 819s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 819s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 819s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.SignalingIface. 819s # */ 819s # 819s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 819s # { 819s # /* GObject signals for received D-Bus signals: */ 819s # /** 819s # * OrgProjectSignalingIface::no-arg-signal: 819s # * @object: A #OrgProjectSignalingIface. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 819s # g_signal_new ("no-arg-signal", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 819s # NULL, 819s # NULL, 819s # org_project_signaling_iface_signal_marshal_no_arg_signal, 819s # G_TYPE_NONE, 819s # 0); 819s # 819s # /** 819s # * OrgProjectSignalingIface::single-arg-signal-b: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_b: Argument. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 819s # g_signal_new ("single-arg-signal-b", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 819s # NULL, 819s # NULL, 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 819s # G_TYPE_NONE, 819s # 1, G_TYPE_BOOLEAN); 819s # 819s # /** 819s # * OrgProjectSignalingIface::single-arg-signal-y: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_y: Argument. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 819s # g_signal_new ("single-arg-signal-y", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 819s # NULL, 819s # NULL, 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 819s # G_TYPE_NONE, 819s # 1, G_TYPE_UCHAR); 819s # 819s # /** 819s # * OrgProjectSignalingIface::single-arg-signal-n: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_n: Argument. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 819s # g_signal_new ("single-arg-signal-n", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 819s # NULL, 819s # NULL, 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 819s # G_TYPE_NONE, 819s # 1, G_TYPE_INT); 819s # 819s # /** 819s # * OrgProjectSignalingIface::single-arg-signal-q: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_q: Argument. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 819s # g_signal_new ("single-arg-signal-q", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 819s # NULL, 819s # NULL, 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 819s # G_TYPE_NONE, 819s # 1, G_TYPE_UINT); 819s # 819s # /** 819s # * OrgProjectSignalingIface::single-arg-signal-i: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_i: Argument. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 819s # g_signal_new ("single-arg-signal-i", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 819s # NULL, 819s # NULL, 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 819s # G_TYPE_NONE, 819s # 1, G_TYPE_INT); 819s # 819s # /** 819s # * OrgProjectSignalingIface::single-arg-signal-u: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_u: Argument. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 819s # g_signal_new ("single-arg-signal-u", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 819s # NULL, 819s # NULL, 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 819s # G_TYPE_NONE, 819s # 1, G_TYPE_UINT); 819s # 819s # /** 819s # * OrgProjectSignalingIface::single-arg-signal-x: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_x: Argument. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 819s # g_signal_new ("single-arg-signal-x", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 819s # NULL, 819s # NULL, 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 819s # G_TYPE_NONE, 819s # 1, G_TYPE_INT64); 819s # 819s # /** 819s # * OrgProjectSignalingIface::single-arg-signal-t: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_t: Argument. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 819s # g_signal_new ("single-arg-signal-t", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 819s # NULL, 819s # NULL, 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 819s # G_TYPE_NONE, 819s # 1, G_TYPE_UINT64); 819s # 819s # /** 819s # * OrgProjectSignalingIface::single-arg-signal-d: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_d: Argument. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 819s # g_signal_new ("single-arg-signal-d", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 819s # NULL, 819s # NULL, 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 819s # G_TYPE_NONE, 819s # 1, G_TYPE_DOUBLE); 819s # 819s # /** 819s # * OrgProjectSignalingIface::single-arg-signal-s: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_s: Argument. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 819s # g_signal_new ("single-arg-signal-s", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 819s # NULL, 819s # NULL, 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 819s # G_TYPE_NONE, 819s # 1, G_TYPE_STRING); 819s # 819s # /** 819s # * OrgProjectSignalingIface::single-arg-signal-o: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_o: Argument. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 819s # g_signal_new ("single-arg-signal-o", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 819s # NULL, 819s # NULL, 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 819s # G_TYPE_NONE, 819s # 1, G_TYPE_STRING); 819s # 819s # /** 819s # * OrgProjectSignalingIface::single-arg-signal-g: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_g: Argument. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 819s # g_signal_new ("single-arg-signal-g", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 819s # NULL, 819s # NULL, 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 819s # G_TYPE_NONE, 819s # 1, G_TYPE_STRING); 819s # 819s # /** 819s # * OrgProjectSignalingIface::single-arg-signal-h: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_h: Argument. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 819s # g_signal_new ("single-arg-signal-h", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 819s # NULL, 819s # NULL, 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 819s # G_TYPE_NONE, 819s # 1, G_TYPE_VARIANT); 819s # 819s # /** 819s # * OrgProjectSignalingIface::single-arg-signal-ay: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_ay: Argument. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 819s # g_signal_new ("single-arg-signal-ay", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 819s # NULL, 819s # NULL, 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 819s # G_TYPE_NONE, 819s # 1, G_TYPE_STRING); 819s # 819s # /** 819s # * OrgProjectSignalingIface::single-arg-signal-as: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_as: Argument. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 819s # g_signal_new ("single-arg-signal-as", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 819s # NULL, 819s # NULL, 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 819s # G_TYPE_NONE, 819s # 1, G_TYPE_STRV); 819s # 819s # /** 819s # * OrgProjectSignalingIface::single-arg-signal-ao: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_ao: Argument. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 819s # g_signal_new ("single-arg-signal-ao", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 819s # NULL, 819s # NULL, 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 819s # G_TYPE_NONE, 819s # 1, G_TYPE_STRV); 819s # 819s # /** 819s # * OrgProjectSignalingIface::single-arg-signal-aay: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_aay: Argument. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 819s # g_signal_new ("single-arg-signal-aay", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 819s # NULL, 819s # NULL, 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 819s # G_TYPE_NONE, 819s # 1, G_TYPE_STRV); 819s # 819s # /** 819s # * OrgProjectSignalingIface::single-arg-signal-asv: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_asv: Argument. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 819s # g_signal_new ("single-arg-signal-asv", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 819s # NULL, 819s # NULL, 819s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 819s # G_TYPE_NONE, 819s # 1, G_TYPE_VARIANT); 819s # 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_emit_no_arg_signal: 819s # * @object: A #OrgProjectSignalingIface. 819s # * 819s # * Emits the "NoArgSignal" D-Bus signal. 819s # */ 819s # void 819s # org_project_signaling_iface_emit_no_arg_signal ( 819s # OrgProjectSignalingIface *object) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_emit_single_arg_signal_b: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_b: Argument to pass with the signal. 819s # * 819s # * Emits the "SingleArgSignalB" D-Bus signal. 819s # */ 819s # void 819s # org_project_signaling_iface_emit_single_arg_signal_b ( 819s # OrgProjectSignalingIface *object, 819s # gboolean arg_an_b) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_emit_single_arg_signal_y: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_y: Argument to pass with the signal. 819s # * 819s # * Emits the "SingleArgSignalY" D-Bus signal. 819s # */ 819s # void 819s # org_project_signaling_iface_emit_single_arg_signal_y ( 819s # OrgProjectSignalingIface *object, 819s # guchar arg_an_y) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_emit_single_arg_signal_n: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_n: Argument to pass with the signal. 819s # * 819s # * Emits the "SingleArgSignalN" D-Bus signal. 819s # */ 819s # void 819s # org_project_signaling_iface_emit_single_arg_signal_n ( 819s # OrgProjectSignalingIface *object, 819s # gint16 arg_an_n) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_emit_single_arg_signal_q: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_q: Argument to pass with the signal. 819s # * 819s # * Emits the "SingleArgSignalQ" D-Bus signal. 819s # */ 819s # void 819s # org_project_signaling_iface_emit_single_arg_signal_q ( 819s # OrgProjectSignalingIface *object, 819s # guint16 arg_an_q) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_emit_single_arg_signal_i: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_i: Argument to pass with the signal. 819s # * 819s # * Emits the "SingleArgSignalI" D-Bus signal. 819s # */ 819s # void 819s # org_project_signaling_iface_emit_single_arg_signal_i ( 819s # OrgProjectSignalingIface *object, 819s # gint arg_an_i) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_emit_single_arg_signal_u: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_u: Argument to pass with the signal. 819s # * 819s # * Emits the "SingleArgSignalU" D-Bus signal. 819s # */ 819s # void 819s # org_project_signaling_iface_emit_single_arg_signal_u ( 819s # OrgProjectSignalingIface *object, 819s # guint arg_an_u) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_emit_single_arg_signal_x: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_x: Argument to pass with the signal. 819s # * 819s # * Emits the "SingleArgSignalX" D-Bus signal. 819s # */ 819s # void 819s # org_project_signaling_iface_emit_single_arg_signal_x ( 819s # OrgProjectSignalingIface *object, 819s # gint64 arg_an_x) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_emit_single_arg_signal_t: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_t: Argument to pass with the signal. 819s # * 819s # * Emits the "SingleArgSignalT" D-Bus signal. 819s # */ 819s # void 819s # org_project_signaling_iface_emit_single_arg_signal_t ( 819s # OrgProjectSignalingIface *object, 819s # guint64 arg_an_t) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_emit_single_arg_signal_d: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_d: Argument to pass with the signal. 819s # * 819s # * Emits the "SingleArgSignalD" D-Bus signal. 819s # */ 819s # void 819s # org_project_signaling_iface_emit_single_arg_signal_d ( 819s # OrgProjectSignalingIface *object, 819s # gdouble arg_an_d) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_emit_single_arg_signal_s: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_s: Argument to pass with the signal. 819s # * 819s # * Emits the "SingleArgSignalS" D-Bus signal. 819s # */ 819s # void 819s # org_project_signaling_iface_emit_single_arg_signal_s ( 819s # OrgProjectSignalingIface *object, 819s # const gchar *arg_an_s) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_emit_single_arg_signal_o: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_o: Argument to pass with the signal. 819s # * 819s # * Emits the "SingleArgSignalO" D-Bus signal. 819s # */ 819s # void 819s # org_project_signaling_iface_emit_single_arg_signal_o ( 819s # OrgProjectSignalingIface *object, 819s # const gchar *arg_an_o) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_emit_single_arg_signal_g: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_g: Argument to pass with the signal. 819s # * 819s # * Emits the "SingleArgSignalG" D-Bus signal. 819s # */ 819s # void 819s # org_project_signaling_iface_emit_single_arg_signal_g ( 819s # OrgProjectSignalingIface *object, 819s # const gchar *arg_an_g) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_emit_single_arg_signal_h: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_h: Argument to pass with the signal. 819s # * 819s # * Emits the "SingleArgSignalH" D-Bus signal. 819s # */ 819s # void 819s # org_project_signaling_iface_emit_single_arg_signal_h ( 819s # OrgProjectSignalingIface *object, 819s # GVariant *arg_an_h) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_emit_single_arg_signal_ay: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_ay: Argument to pass with the signal. 819s # * 819s # * Emits the "SingleArgSignalAY" D-Bus signal. 819s # */ 819s # void 819s # org_project_signaling_iface_emit_single_arg_signal_ay ( 819s # OrgProjectSignalingIface *object, 819s # const gchar *arg_an_ay) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_emit_single_arg_signal_as: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_as: Argument to pass with the signal. 819s # * 819s # * Emits the "SingleArgSignalAS" D-Bus signal. 819s # */ 819s # void 819s # org_project_signaling_iface_emit_single_arg_signal_as ( 819s # OrgProjectSignalingIface *object, 819s # const gchar *const *arg_an_as) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_emit_single_arg_signal_ao: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_ao: Argument to pass with the signal. 819s # * 819s # * Emits the "SingleArgSignalAO" D-Bus signal. 819s # */ 819s # void 819s # org_project_signaling_iface_emit_single_arg_signal_ao ( 819s # OrgProjectSignalingIface *object, 819s # const gchar *const *arg_an_ao) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_emit_single_arg_signal_aay: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_aay: Argument to pass with the signal. 819s # * 819s # * Emits the "SingleArgSignalAAY" D-Bus signal. 819s # */ 819s # void 819s # org_project_signaling_iface_emit_single_arg_signal_aay ( 819s # OrgProjectSignalingIface *object, 819s # const gchar *const *arg_an_aay) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_emit_single_arg_signal_asv: 819s # * @object: A #OrgProjectSignalingIface. 819s # * @arg_an_asv: Argument to pass with the signal. 819s # * 819s # * Emits the "SingleArgSignalASV" D-Bus signal. 819s # */ 819s # void 819s # org_project_signaling_iface_emit_single_arg_signal_asv ( 819s # OrgProjectSignalingIface *object, 819s # GVariant *arg_an_asv) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectSignalingIfaceProxy: 819s # * 819s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectSignalingIfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectSignalingIfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectSignalingIfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_signaling_iface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 819s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 819s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_signaling_iface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectSignalingIface * 819s # org_project_signaling_iface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_SIGNALING_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectSignalingIface * 819s # org_project_signaling_iface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_SIGNALING_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_signaling_iface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_signaling_iface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectSignalingIface * 819s # org_project_signaling_iface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_SIGNALING_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectSignalingIface * 819s # org_project_signaling_iface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_SIGNALING_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectSignalingIfaceSkeleton: 819s # * 819s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectSignalingIfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectSignalingIfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_signaling_iface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_signaling_iface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_signaling_iface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 819s # { 819s # _org_project_signaling_iface_skeleton_handle_method_call, 819s # _org_project_signaling_iface_skeleton_handle_get_property, 819s # _org_project_signaling_iface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_signaling_iface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # _org_project_signaling_iface_on_signal_no_arg_signal ( 819s # OrgProjectSignalingIface *object) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void 819s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 819s # OrgProjectSignalingIface *object, 819s # gboolean arg_an_b) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 819s # arg_an_b)); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void 819s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 819s # OrgProjectSignalingIface *object, 819s # guchar arg_an_y) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 819s # arg_an_y)); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void 819s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 819s # OrgProjectSignalingIface *object, 819s # gint16 arg_an_n) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 819s # arg_an_n)); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void 819s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 819s # OrgProjectSignalingIface *object, 819s # guint16 arg_an_q) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 819s # arg_an_q)); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void 819s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 819s # OrgProjectSignalingIface *object, 819s # gint arg_an_i) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 819s # arg_an_i)); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void 819s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 819s # OrgProjectSignalingIface *object, 819s # guint arg_an_u) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 819s # arg_an_u)); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void 819s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 819s # OrgProjectSignalingIface *object, 819s # gint64 arg_an_x) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 819s # arg_an_x)); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void 819s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 819s # OrgProjectSignalingIface *object, 819s # guint64 arg_an_t) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 819s # arg_an_t)); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void 819s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 819s # OrgProjectSignalingIface *object, 819s # gdouble arg_an_d) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 819s # arg_an_d)); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void 819s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 819s # OrgProjectSignalingIface *object, 819s # const gchar *arg_an_s) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 819s # arg_an_s)); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void 819s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 819s # OrgProjectSignalingIface *object, 819s # const gchar *arg_an_o) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 819s # arg_an_o)); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void 819s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 819s # OrgProjectSignalingIface *object, 819s # const gchar *arg_an_g) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 819s # arg_an_g)); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void 819s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 819s # OrgProjectSignalingIface *object, 819s # GVariant *arg_an_h) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 819s # arg_an_h)); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void 819s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 819s # OrgProjectSignalingIface *object, 819s # const gchar *arg_an_ay) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 819s # arg_an_ay)); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void 819s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 819s # OrgProjectSignalingIface *object, 819s # const gchar *const *arg_an_as) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 819s # arg_an_as)); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void 819s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 819s # OrgProjectSignalingIface *object, 819s # const gchar *const *arg_an_ao) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 819s # arg_an_ao)); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void 819s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 819s # OrgProjectSignalingIface *object, 819s # const gchar *const *arg_an_aay) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 819s # arg_an_aay)); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void 819s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 819s # OrgProjectSignalingIface *object, 819s # GVariant *arg_an_asv) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 819s # arg_an_asv)); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_signaling_iface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 819s # { 819s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 819s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 819s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 819s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 819s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 819s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 819s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 819s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 819s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 819s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 819s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 819s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 819s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 819s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 819s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 819s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 819s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 819s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 819s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectSignalingIface * 819s # org_project_signaling_iface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 819s # } 819s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 819s # tmpdir: /tmp/tmp1apmvuyg 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmp1apmvuyg/tmpiv0yvi_v.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1apmvuyg/tmpiv0yvi_v.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.UsefulInterface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectUsefulInterface 819s # * @title: OrgProjectUsefulInterface 819s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 819s # */ 819s # 819s # enum 819s # { 819s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 819s # }; 819s # 819s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 819s # 819s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SimpleSignal", 819s # NULL, 819s # NULL 819s # }, 819s # "simple-signal" 819s # }; 819s # 819s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 819s # { 819s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.UsefulInterface", 819s # NULL, 819s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-useful-interface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_useful_interface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_useful_interface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_useful_interface_signal_marshal_simple_signal ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # g_cclosure_marshal_VOID__VOID (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectUsefulInterface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 819s # */ 819s # 819s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # /* GObject signals for received D-Bus signals: */ 819s # /** 819s # * OrgProjectUsefulInterface::simple-signal: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 819s # g_signal_new ("simple-signal", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 819s # NULL, 819s # NULL, 819s # org_project_useful_interface_signal_marshal_simple_signal, 819s # G_TYPE_NONE, 819s # 0); 819s # 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_emit_simple_signal: 819s # * @object: A #OrgProjectUsefulInterface. 819s # * 819s # * Emits the "SimpleSignal" D-Bus signal. 819s # */ 819s # void 819s # org_project_useful_interface_emit_simple_signal ( 819s # OrgProjectUsefulInterface *object) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxy: 819s # * 819s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 819s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 819s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_useful_interface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # g_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); 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeleton: 819s # * 819s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectUsefulInterfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_useful_interface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_useful_interface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_useful_interface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 819s # { 819s # _org_project_useful_interface_skeleton_handle_method_call, 819s # _org_project_useful_interface_skeleton_handle_get_property, 819s # _org_project_useful_interface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_useful_interface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # _org_project_useful_interface_on_signal_simple_signal ( 819s # OrgProjectUsefulInterface *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_useful_interface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 819s # { 819s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 819s # } 819s # 819s # /** 819s # * org_project_useful_interface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectUsefulInterface * 819s # org_project_useful_interface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.OtherIface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectOtherIface 819s # * @title: OrgProjectOtherIface 819s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 819s # */ 819s # 819s # enum 819s # { 819s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 819s # }; 819s # 819s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 819s # 819s # /* ---- Introspection data for org.project.OtherIface ---- */ 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SimpleSignal", 819s # NULL, 819s # NULL 819s # }, 819s # "simple-signal" 819s # }; 819s # 819s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 819s # { 819s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.OtherIface", 819s # NULL, 819s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-other-iface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_other_iface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_other_iface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_other_iface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_other_iface_signal_marshal_simple_signal ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # g_cclosure_marshal_VOID__VOID (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectOtherIface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 819s # */ 819s # 819s # /** 819s # * OrgProjectOtherIfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.OtherIface. 819s # */ 819s # 819s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 819s # { 819s # /* GObject signals for received D-Bus signals: */ 819s # /** 819s # * OrgProjectOtherIface::simple-signal: 819s # * @object: A #OrgProjectOtherIface. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 819s # g_signal_new ("simple-signal", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 819s # NULL, 819s # NULL, 819s # org_project_other_iface_signal_marshal_simple_signal, 819s # G_TYPE_NONE, 819s # 0); 819s # 819s # } 819s # 819s # /** 819s # * org_project_other_iface_emit_simple_signal: 819s # * @object: A #OrgProjectOtherIface. 819s # * 819s # * Emits the "SimpleSignal" D-Bus signal. 819s # */ 819s # void 819s # org_project_other_iface_emit_simple_signal ( 819s # OrgProjectOtherIface *object) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectOtherIfaceProxy: 819s # * 819s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectOtherIfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectOtherIfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectOtherIfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_other_iface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 819s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 819s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_other_iface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_other_iface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * org_project_other_iface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_other_iface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectOtherIface * 819s # org_project_other_iface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_OTHER_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_other_iface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectOtherIface * 819s # org_project_other_iface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_OTHER_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_other_iface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_other_iface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * org_project_other_iface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectOtherIface * 819s # org_project_other_iface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_OTHER_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_other_iface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectOtherIface * 819s # org_project_other_iface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_OTHER_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectOtherIfaceSkeleton: 819s # * 819s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectOtherIfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectOtherIfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectOtherIfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_other_iface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_other_iface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_other_iface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 819s # { 819s # _org_project_other_iface_skeleton_handle_method_call, 819s # _org_project_other_iface_skeleton_handle_get_property, 819s # _org_project_other_iface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_other_iface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # _org_project_other_iface_on_signal_simple_signal ( 819s # OrgProjectOtherIface *object) 819s # { 819s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_other_iface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 819s # { 819s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 819s # } 819s # 819s # /** 819s # * org_project_other_iface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectOtherIface * 819s # org_project_other_iface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 819s # } 819s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 819s # tmpdir: /tmp/tmpibwb2gh8 819s # codegen: /usr/bin/gdbus-codegen 819s # /tmp/tmpibwb2gh8/tmpu6xs9klv.xml: 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # 819s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpibwb2gh8/tmpu6xs9klv.xml', '--output', '-', '--body'] 819s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 819s # Output: /* 819s # * This file is generated by gdbus-codegen, do not modify it. 819s # * 819s # * The license of this code is the same as for the D-Bus interface description 819s # * it was derived from. Note that it links to GLib, so must comply with the 819s # * LGPL linking clauses. 819s # */ 819s # 819s # #ifdef HAVE_CONFIG_H 819s # # include "config.h" 819s # #endif 819s # 819s # #include 819s # #ifdef G_OS_UNIX 819s # # include 819s # #endif 819s # 819s # #ifdef G_ENABLE_DEBUG 819s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 819s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 819s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 819s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 819s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 819s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 819s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 819s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 819s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 819s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 819s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 819s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 819s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 819s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 819s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 819s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 819s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 819s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 819s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 819s # #else /* !G_ENABLE_DEBUG */ 819s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 819s # * Do not access GValues directly in your code. Instead, use the 819s # * g_value_get_*() functions 819s # */ 819s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 819s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 819s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 819s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 819s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 819s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 819s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 819s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 819s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 819s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 819s # #endif /* !G_ENABLE_DEBUG */ 819s # 819s # typedef struct 819s # { 819s # GDBusArgInfo parent_struct; 819s # gboolean use_gvariant; 819s # } _ExtendedGDBusArgInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusMethodInfo parent_struct; 819s # const gchar *signal_name; 819s # gboolean pass_fdlist; 819s # } _ExtendedGDBusMethodInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusSignalInfo parent_struct; 819s # const gchar *signal_name; 819s # } _ExtendedGDBusSignalInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusPropertyInfo parent_struct; 819s # const gchar *hyphen_name; 819s # guint use_gvariant : 1; 819s # guint emits_changed_signal : 1; 819s # } _ExtendedGDBusPropertyInfo; 819s # 819s # typedef struct 819s # { 819s # GDBusInterfaceInfo parent_struct; 819s # const gchar *hyphen_name; 819s # } _ExtendedGDBusInterfaceInfo; 819s # 819s # typedef struct 819s # { 819s # const _ExtendedGDBusPropertyInfo *info; 819s # guint prop_id; 819s # GValue orig_value; /* the value before the change */ 819s # } ChangedProperty; 819s # 819s # static void 819s # _changed_property_free (ChangedProperty *data) 819s # { 819s # g_value_unset (&data->orig_value); 819s # g_free (data); 819s # } 819s # 819s # static gboolean 819s # _g_strv_equal0 (gchar **a, gchar **b) 819s # { 819s # gboolean ret = FALSE; 819s # guint n; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # if (g_strv_length (a) != g_strv_length (b)) 819s # goto out; 819s # for (n = 0; a[n] != NULL; n++) 819s # if (g_strcmp0 (a[n], b[n]) != 0) 819s # goto out; 819s # ret = TRUE; 819s # out: 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _g_variant_equal0 (GVariant *a, GVariant *b) 819s # { 819s # gboolean ret = FALSE; 819s # if (a == NULL && b == NULL) 819s # { 819s # ret = TRUE; 819s # goto out; 819s # } 819s # if (a == NULL || b == NULL) 819s # goto out; 819s # ret = g_variant_equal (a, b); 819s # out: 819s # return ret; 819s # } 819s # 819s # G_GNUC_UNUSED static gboolean 819s # _g_value_equal (const GValue *a, const GValue *b) 819s # { 819s # gboolean ret = FALSE; 819s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 819s # switch (G_VALUE_TYPE (a)) 819s # { 819s # case G_TYPE_BOOLEAN: 819s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 819s # break; 819s # case G_TYPE_UCHAR: 819s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 819s # break; 819s # case G_TYPE_INT: 819s # ret = (g_value_get_int (a) == g_value_get_int (b)); 819s # break; 819s # case G_TYPE_UINT: 819s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 819s # break; 819s # case G_TYPE_INT64: 819s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 819s # break; 819s # case G_TYPE_UINT64: 819s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 819s # break; 819s # case G_TYPE_DOUBLE: 819s # { 819s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 819s # gdouble da = g_value_get_double (a); 819s # gdouble db = g_value_get_double (b); 819s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 819s # } 819s # break; 819s # case G_TYPE_STRING: 819s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 819s # break; 819s # case G_TYPE_VARIANT: 819s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 819s # break; 819s # default: 819s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 819s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 819s # else 819s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 819s # break; 819s # } 819s # return ret; 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.SignalingIface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectSignalingIface 819s # * @title: OrgProjectSignalingIface 819s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 819s # */ 819s # 819s # enum 819s # { 819s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 819s # }; 819s # 819s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 819s # 819s # /* ---- Introspection data for org.project.SignalingIface ---- */ 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SimpleSignal", 819s # NULL, 819s # NULL 819s # }, 819s # "simple-signal" 819s # }; 819s # 819s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 819s # { 819s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.SignalingIface", 819s # NULL, 819s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-signaling-iface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_signaling_iface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_signaling_iface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_signaling_iface_signal_marshal_simple_signal ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # g_cclosure_marshal_VOID__VOID (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectSignalingIface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 819s # */ 819s # 819s # /** 819s # * OrgProjectSignalingIfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.SignalingIface. 819s # */ 819s # 819s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 819s # { 819s # /* GObject signals for received D-Bus signals: */ 819s # /** 819s # * OrgProjectSignalingIface::simple-signal: 819s # * @object: A #OrgProjectSignalingIface. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 819s # g_signal_new ("simple-signal", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 819s # NULL, 819s # NULL, 819s # org_project_signaling_iface_signal_marshal_simple_signal, 819s # G_TYPE_NONE, 819s # 0); 819s # 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_emit_simple_signal: 819s # * @object: A #OrgProjectSignalingIface. 819s # * 819s # * Emits the "SimpleSignal" D-Bus signal. 819s # */ 819s # void 819s # org_project_signaling_iface_emit_simple_signal ( 819s # OrgProjectSignalingIface *object) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectSignalingIfaceProxy: 819s # * 819s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectSignalingIfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectSignalingIfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectSignalingIfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_signaling_iface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 819s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 819s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_signaling_iface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectSignalingIface * 819s # org_project_signaling_iface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_SIGNALING_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectSignalingIface * 819s # org_project_signaling_iface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_SIGNALING_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_signaling_iface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_signaling_iface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectSignalingIface * 819s # org_project_signaling_iface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_SIGNALING_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectSignalingIface * 819s # org_project_signaling_iface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_SIGNALING_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectSignalingIfaceSkeleton: 819s # * 819s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectSignalingIfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectSignalingIfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_signaling_iface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_signaling_iface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_signaling_iface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 819s # { 819s # _org_project_signaling_iface_skeleton_handle_method_call, 819s # _org_project_signaling_iface_skeleton_handle_get_property, 819s # _org_project_signaling_iface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_signaling_iface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # _org_project_signaling_iface_on_signal_simple_signal ( 819s # OrgProjectSignalingIface *object) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_signaling_iface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 819s # { 819s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 819s # } 819s # 819s # /** 819s # * org_project_signaling_iface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectSignalingIface * 819s # org_project_signaling_iface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ 819s # * Code for interface org.project.OtherSignalingIface 819s # * ------------------------------------------------------------------------ 819s # */ 819s # 819s # /** 819s # * SECTION:OrgProjectOtherSignalingIface 819s # * @title: OrgProjectOtherSignalingIface 819s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 819s # * 819s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 819s # */ 819s # 819s # enum 819s # { 819s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 819s # }; 819s # 819s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 819s # 819s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 819s # 819s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 819s # { 819s # { 819s # -1, 819s # (gchar *) "SimpleSignal", 819s # NULL, 819s # NULL 819s # }, 819s # "simple-signal" 819s # }; 819s # 819s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 819s # { 819s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 819s # NULL 819s # }; 819s # 819s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 819s # { 819s # { 819s # -1, 819s # (gchar *) "org.project.OtherSignalingIface", 819s # NULL, 819s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 819s # NULL, 819s # NULL 819s # }, 819s # "org-project-other-signaling-iface", 819s # }; 819s # 819s # 819s # /** 819s # * org_project_other_signaling_iface_interface_info: 819s # * 819s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 819s # * 819s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 819s # */ 819s # GDBusInterfaceInfo * 819s # org_project_other_signaling_iface_interface_info (void) 819s # { 819s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 819s # } 819s # 819s # /** 819s # * org_project_other_signaling_iface_override_properties: 819s # * @klass: The class structure for a #GObject derived class. 819s # * @property_id_begin: The property id to assign to the first overridden property. 819s # * 819s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 819s # * The properties are overridden in the order they are defined. 819s # * 819s # * Returns: The last property id. 819s # */ 819s # guint 819s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 819s # { 819s # return property_id_begin - 1; 819s # } 819s # 819s # 819s # inline static void 819s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 819s # GClosure *closure, 819s # GValue *return_value, 819s # unsigned int n_param_values, 819s # const GValue *param_values, 819s # void *invocation_hint, 819s # void *marshal_data) 819s # { 819s # g_cclosure_marshal_VOID__VOID (closure, 819s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 819s # } 819s # 819s # 819s # /** 819s # * OrgProjectOtherSignalingIface: 819s # * 819s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 819s # */ 819s # 819s # /** 819s # * OrgProjectOtherSignalingIfaceIface: 819s # * @parent_iface: The parent interface. 819s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 819s # * 819s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 819s # */ 819s # 819s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 819s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 819s # 819s # static void 819s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 819s # { 819s # /* GObject signals for received D-Bus signals: */ 819s # /** 819s # * OrgProjectOtherSignalingIface::simple-signal: 819s # * @object: A #OrgProjectOtherSignalingIface. 819s # * 819s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 819s # * 819s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 819s # */ 819s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 819s # g_signal_new ("simple-signal", 819s # G_TYPE_FROM_INTERFACE (iface), 819s # G_SIGNAL_RUN_LAST, 819s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 819s # NULL, 819s # NULL, 819s # org_project_other_signaling_iface_signal_marshal_simple_signal, 819s # G_TYPE_NONE, 819s # 0); 819s # 819s # } 819s # 819s # /** 819s # * org_project_other_signaling_iface_emit_simple_signal: 819s # * @object: A #OrgProjectOtherSignalingIface. 819s # * 819s # * Emits the "SimpleSignal" D-Bus signal. 819s # */ 819s # void 819s # org_project_other_signaling_iface_emit_simple_signal ( 819s # OrgProjectOtherSignalingIface *object) 819s # { 819s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 819s # } 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectOtherSignalingIfaceProxy: 819s # * 819s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectOtherSignalingIfaceProxyClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 819s # */ 819s # 819s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 819s # { 819s # GData *qdata; 819s # }; 819s # 819s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 819s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 819s # { 819s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 819s # g_datalist_clear (&proxy->priv->qdata); 819s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 819s # guint prop_id G_GNUC_UNUSED, 819s # const GValue *value G_GNUC_UNUSED, 819s # GParamSpec *pspec G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 819s # const gchar *sender_name G_GNUC_UNUSED, 819s # const gchar *signal_name, 819s # GVariant *parameters) 819s # { 819s # _ExtendedGDBusSignalInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # gsize n; 819s # guint signal_id; 819s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 819s # if (info == NULL) 819s # return; 819s # num_params = g_variant_n_children (parameters); 819s # paramv = g_new0 (GValue, num_params + 1); 819s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 819s # g_value_set_object (¶mv[0], proxy); 819s # g_variant_iter_init (&iter, parameters); 819s # n = 1; 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 819s # g_signal_emitv (paramv, signal_id, 0, NULL); 819s # for (n = 0; n < num_params + 1; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static void 819s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 819s # GVariant *changed_properties, 819s # const gchar *const *invalidated_properties) 819s # { 819s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 819s # guint n; 819s # const gchar *key; 819s # GVariantIter *iter; 819s # _ExtendedGDBusPropertyInfo *info; 819s # g_variant_get (changed_properties, "a{sv}", &iter); 819s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 819s # g_datalist_remove_data (&proxy->priv->qdata, key); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # g_variant_iter_free (iter); 819s # for (n = 0; invalidated_properties[n] != NULL; n++) 819s # { 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 819s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 819s # if (info != NULL) 819s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 819s # } 819s # } 819s # 819s # static void 819s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 819s # #else 819s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 819s # #endif 819s # 819s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 819s # } 819s # 819s # static void 819s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusProxyClass *proxy_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 819s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 819s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 819s # 819s # proxy_class = G_DBUS_PROXY_CLASS (klass); 819s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 819s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # /** 819s # * org_project_other_signaling_iface_proxy_new: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 819s # * 819s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_other_signaling_iface_proxy_new ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * org_project_other_signaling_iface_proxy_new_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectOtherSignalingIface * 819s # org_project_other_signaling_iface_proxy_new_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_other_signaling_iface_proxy_new_sync: 819s # * @connection: A #GDBusConnection. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectOtherSignalingIface * 819s # org_project_other_signaling_iface_proxy_new_sync ( 819s # GDBusConnection *connection, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /** 819s # * org_project_other_signaling_iface_proxy_new_for_bus: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 819s # * @user_data: User data to pass to @callback. 819s # * 819s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 819s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 819s # * 819s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 819s # */ 819s # void 819s # org_project_other_signaling_iface_proxy_new_for_bus ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GAsyncReadyCallback callback, 819s # gpointer user_data) 819s # { 819s # 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); 819s # } 819s # 819s # /** 819s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 819s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 819s # * @error: Return location for error or %NULL 819s # * 819s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 819s # * 819s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectOtherSignalingIface * 819s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 819s # GAsyncResult *res, 819s # GError **error) 819s # { 819s # GObject *ret; 819s # GObject *source_object; 819s # source_object = g_async_result_get_source_object (res); 819s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 819s # g_object_unref (source_object); 819s # if (ret != NULL) 819s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # /** 819s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 819s # * @bus_type: A #GBusType. 819s # * @flags: Flags from the #GDBusProxyFlags enumeration. 819s # * @name: A bus name (well-known or unique). 819s # * @object_path: An object path. 819s # * @cancellable: (nullable): A #GCancellable or %NULL. 819s # * @error: Return location for error or %NULL 819s # * 819s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 819s # * 819s # * The calling thread is blocked until a reply is received. 819s # * 819s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 819s # * 819s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 819s # */ 819s # OrgProjectOtherSignalingIface * 819s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 819s # GBusType bus_type, 819s # GDBusProxyFlags flags, 819s # const gchar *name, 819s # const gchar *object_path, 819s # GCancellable *cancellable, 819s # GError **error) 819s # { 819s # GInitable *ret; 819s # 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); 819s # if (ret != NULL) 819s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 819s # else 819s # return NULL; 819s # } 819s # 819s # 819s # /* ------------------------------------------------------------------------ */ 819s # 819s # /** 819s # * OrgProjectOtherSignalingIfaceSkeleton: 819s # * 819s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 819s # */ 819s # 819s # /** 819s # * OrgProjectOtherSignalingIfaceSkeletonClass: 819s # * @parent_class: The parent class. 819s # * 819s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 819s # */ 819s # 819s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 819s # { 819s # GValue *properties; 819s # GList *changed_properties; 819s # GSource *changed_properties_idle_source; 819s # GMainContext *context; 819s # GMutex lock; 819s # }; 819s # 819s # static void 819s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name, 819s # const gchar *method_name, 819s # GVariant *parameters, 819s # GDBusMethodInvocation *invocation, 819s # gpointer user_data) 819s # { 819s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 819s # _ExtendedGDBusMethodInfo *info; 819s # GVariantIter iter; 819s # GVariant *child; 819s # GValue *paramv; 819s # gsize num_params; 819s # guint num_extra; 819s # gsize n; 819s # guint signal_id; 819s # GValue return_value = G_VALUE_INIT; 819s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 819s # g_assert (info != NULL); 819s # num_params = g_variant_n_children (parameters); 819s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 819s # n = 0; 819s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 819s # g_value_set_object (¶mv[n++], skeleton); 819s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 819s # g_value_set_object (¶mv[n++], invocation); 819s # if (info->pass_fdlist) 819s # { 819s # #ifdef G_OS_UNIX 819s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 819s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 819s # #else 819s # g_assert_not_reached (); 819s # #endif 819s # } 819s # g_variant_iter_init (&iter, parameters); 819s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 819s # { 819s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 819s # if (arg_info->use_gvariant) 819s # { 819s # g_value_init (¶mv[n], G_TYPE_VARIANT); 819s # g_value_set_variant (¶mv[n], child); 819s # n++; 819s # } 819s # else 819s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 819s # g_variant_unref (child); 819s # } 819s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 819s # g_value_init (&return_value, G_TYPE_BOOLEAN); 819s # g_signal_emitv (paramv, signal_id, 0, &return_value); 819s # if (!g_value_get_boolean (&return_value)) 819s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 819s # g_value_unset (&return_value); 819s # for (n = 0; n < num_params + num_extra; n++) 819s # g_value_unset (¶mv[n]); 819s # g_free (paramv); 819s # } 819s # 819s # static GVariant * 819s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # GVariant *ret; 819s # ret = NULL; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # g_value_init (&value, pspec->value_type); 819s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 819s # g_value_unset (&value); 819s # } 819s # return ret; 819s # } 819s # 819s # static gboolean 819s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 819s # GDBusConnection *connection G_GNUC_UNUSED, 819s # const gchar *sender G_GNUC_UNUSED, 819s # const gchar *object_path G_GNUC_UNUSED, 819s # const gchar *interface_name G_GNUC_UNUSED, 819s # const gchar *property_name, 819s # GVariant *variant, 819s # GError **error, 819s # gpointer user_data) 819s # { 819s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 819s # GValue value = G_VALUE_INIT; 819s # GParamSpec *pspec; 819s # _ExtendedGDBusPropertyInfo *info; 819s # gboolean ret; 819s # ret = FALSE; 819s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 819s # g_assert (info != NULL); 819s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 819s # if (pspec == NULL) 819s # { 819s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 819s # } 819s # else 819s # { 819s # if (info->use_gvariant) 819s # g_value_set_variant (&value, variant); 819s # else 819s # g_dbus_gvariant_to_gvalue (variant, &value); 819s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 819s # g_value_unset (&value); 819s # ret = TRUE; 819s # } 819s # return ret; 819s # } 819s # 819s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 819s # { 819s # _org_project_other_signaling_iface_skeleton_handle_method_call, 819s # _org_project_other_signaling_iface_skeleton_handle_get_property, 819s # _org_project_other_signaling_iface_skeleton_handle_set_property, 819s # {NULL} 819s # }; 819s # 819s # static GDBusInterfaceInfo * 819s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return org_project_other_signaling_iface_interface_info (); 819s # } 819s # 819s # static GDBusInterfaceVTable * 819s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 819s # { 819s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 819s # } 819s # 819s # static GVariant * 819s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 819s # { 819s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 819s # 819s # GVariantBuilder builder; 819s # guint n; 819s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 819s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 819s # goto out; 819s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 819s # { 819s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 819s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 819s # { 819s # GVariant *value; 819s # 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); 819s # if (value != NULL) 819s # { 819s # g_variant_take_ref (value); 819s # g_variant_builder_add (&builder, "{sv}", info->name, value); 819s # g_variant_unref (value); 819s # } 819s # } 819s # } 819s # out: 819s # return g_variant_builder_end (&builder); 819s # } 819s # 819s # static void 819s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 819s # { 819s # } 819s # 819s # static void 819s # _org_project_other_signaling_iface_on_signal_simple_signal ( 819s # OrgProjectOtherSignalingIface *object) 819s # { 819s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 819s # 819s # GList *connections, *l; 819s # GVariant *signal_variant; 819s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 819s # 819s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 819s # for (l = connections; l != NULL; l = l->next) 819s # { 819s # GDBusConnection *connection = l->data; 819s # g_dbus_connection_emit_signal (connection, 819s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 819s # signal_variant, NULL); 819s # } 819s # g_variant_unref (signal_variant); 819s # g_list_free_full (connections, g_object_unref); 819s # } 819s # 819s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 819s # 819s # #else 819s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 819s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 819s # 819s # #endif 819s # static void 819s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 819s # { 819s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 819s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 819s # if (skeleton->priv->changed_properties_idle_source != NULL) 819s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 819s # g_main_context_unref (skeleton->priv->context); 819s # g_mutex_clear (&skeleton->priv->lock); 819s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 819s # } 819s # 819s # static void 819s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 819s # { 819s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 819s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 819s # #else 819s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 819s # #endif 819s # 819s # g_mutex_init (&skeleton->priv->lock); 819s # skeleton->priv->context = g_main_context_ref_thread_default (); 819s # } 819s # 819s # static void 819s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 819s # { 819s # GObjectClass *gobject_class; 819s # GDBusInterfaceSkeletonClass *skeleton_class; 819s # 819s # gobject_class = G_OBJECT_CLASS (klass); 819s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 819s # 819s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 819s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 819s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 819s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 819s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 819s # 819s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 819s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 819s # #endif 819s # } 819s # 819s # static void 819s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 819s # { 819s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 819s # } 819s # 819s # /** 819s # * org_project_other_signaling_iface_skeleton_new: 819s # * 819s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 819s # * 819s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 819s # */ 819s # OrgProjectOtherSignalingIface * 819s # org_project_other_signaling_iface_skeleton_new (void) 819s # { 819s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 819s # } 820s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 820s # tmpdir: /tmp/tmpn98ddxmx 820s # codegen: /usr/bin/gdbus-codegen 820s # /tmp/tmpn98ddxmx/tmpxig957t3.xml: 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn98ddxmx/tmpxig957t3.xml', '--output', '-', '--body'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: /* 820s # * This file is generated by gdbus-codegen, do not modify it. 820s # * 820s # * The license of this code is the same as for the D-Bus interface description 820s # * it was derived from. Note that it links to GLib, so must comply with the 820s # * LGPL linking clauses. 820s # */ 820s # 820s # #ifdef HAVE_CONFIG_H 820s # # include "config.h" 820s # #endif 820s # 820s # #include 820s # #ifdef G_OS_UNIX 820s # # include 820s # #endif 820s # 820s # #ifdef G_ENABLE_DEBUG 820s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 820s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 820s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 820s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 820s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 820s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 820s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 820s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 820s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 820s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 820s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 820s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 820s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 820s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 820s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 820s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 820s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 820s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 820s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 820s # #else /* !G_ENABLE_DEBUG */ 820s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 820s # * Do not access GValues directly in your code. Instead, use the 820s # * g_value_get_*() functions 820s # */ 820s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 820s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 820s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 820s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 820s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 820s # #endif /* !G_ENABLE_DEBUG */ 820s # 820s # typedef struct 820s # { 820s # GDBusArgInfo parent_struct; 820s # gboolean use_gvariant; 820s # } _ExtendedGDBusArgInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusMethodInfo parent_struct; 820s # const gchar *signal_name; 820s # gboolean pass_fdlist; 820s # } _ExtendedGDBusMethodInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusSignalInfo parent_struct; 820s # const gchar *signal_name; 820s # } _ExtendedGDBusSignalInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusPropertyInfo parent_struct; 820s # const gchar *hyphen_name; 820s # guint use_gvariant : 1; 820s # guint emits_changed_signal : 1; 820s # } _ExtendedGDBusPropertyInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusInterfaceInfo parent_struct; 820s # const gchar *hyphen_name; 820s # } _ExtendedGDBusInterfaceInfo; 820s # 820s # typedef struct 820s # { 820s # const _ExtendedGDBusPropertyInfo *info; 820s # guint prop_id; 820s # GValue orig_value; /* the value before the change */ 820s # } ChangedProperty; 820s # 820s # static void 820s # _changed_property_free (ChangedProperty *data) 820s # { 820s # g_value_unset (&data->orig_value); 820s # g_free (data); 820s # } 820s # 820s # static gboolean 820s # _g_strv_equal0 (gchar **a, gchar **b) 820s # { 820s # gboolean ret = FALSE; 820s # guint n; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # if (g_strv_length (a) != g_strv_length (b)) 820s # goto out; 820s # for (n = 0; a[n] != NULL; n++) 820s # if (g_strcmp0 (a[n], b[n]) != 0) 820s # goto out; 820s # ret = TRUE; 820s # out: 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _g_variant_equal0 (GVariant *a, GVariant *b) 820s # { 820s # gboolean ret = FALSE; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # ret = g_variant_equal (a, b); 820s # out: 820s # return ret; 820s # } 820s # 820s # G_GNUC_UNUSED static gboolean 820s # _g_value_equal (const GValue *a, const GValue *b) 820s # { 820s # gboolean ret = FALSE; 820s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 820s # switch (G_VALUE_TYPE (a)) 820s # { 820s # case G_TYPE_BOOLEAN: 820s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 820s # break; 820s # case G_TYPE_UCHAR: 820s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 820s # break; 820s # case G_TYPE_INT: 820s # ret = (g_value_get_int (a) == g_value_get_int (b)); 820s # break; 820s # case G_TYPE_UINT: 820s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 820s # break; 820s # case G_TYPE_INT64: 820s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 820s # break; 820s # case G_TYPE_UINT64: 820s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 820s # break; 820s # case G_TYPE_DOUBLE: 820s # { 820s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 820s # gdouble da = g_value_get_double (a); 820s # gdouble db = g_value_get_double (b); 820s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 820s # } 820s # break; 820s # case G_TYPE_STRING: 820s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 820s # break; 820s # case G_TYPE_VARIANT: 820s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 820s # break; 820s # default: 820s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 820s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 820s # else 820s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 820s # break; 820s # } 820s # return ret; 820s # } 820s # 820s # /* ------------------------------------------------------------------------ 820s # * Code for interface org.project.SignalingIface 820s # * ------------------------------------------------------------------------ 820s # */ 820s # 820s # /** 820s # * SECTION:OrgProjectSignalingIface 820s # * @title: OrgProjectSignalingIface 820s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 820s # * 820s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 820s # */ 820s # 820s # enum 820s # { 820s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 820s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 820s # }; 820s # 820s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 820s # 820s # /* ---- Introspection data for org.project.SignalingIface ---- */ 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SimpleSignal", 820s # NULL, 820s # NULL 820s # }, 820s # "simple-signal" 820s # }; 820s # 820s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 820s # { 820s # { 820s # -1, 820s # (gchar *) "arg_b", 820s # (gchar *) "b", 820s # NULL 820s # }, 820s # FALSE 820s # }; 820s # 820s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SingleArgSignalB", 820s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 820s # NULL 820s # }, 820s # "single-arg-signal-b" 820s # }; 820s # 820s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 820s # { 820s # { 820s # -1, 820s # (gchar *) "org.project.SignalingIface", 820s # NULL, 820s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 820s # NULL, 820s # NULL 820s # }, 820s # "org-project-signaling-iface", 820s # }; 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_interface_info: 820s # * 820s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 820s # * 820s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 820s # */ 820s # GDBusInterfaceInfo * 820s # org_project_signaling_iface_interface_info (void) 820s # { 820s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_override_properties: 820s # * @klass: The class structure for a #GObject derived class. 820s # * @property_id_begin: The property id to assign to the first overridden property. 820s # * 820s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 820s # * The properties are overridden in the order they are defined. 820s # * 820s # * Returns: The last property id. 820s # */ 820s # guint 820s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 820s # { 820s # return property_id_begin - 1; 820s # } 820s # 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_simple_signal ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__VOID (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__BOOLEAN (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # 820s # /** 820s # * OrgProjectSignalingIface: 820s # * 820s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceIface: 820s # * @parent_iface: The parent interface. 820s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 820s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 820s # * 820s # * Virtual table for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 820s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 820s # 820s # static void 820s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # /* GObject signals for received D-Bus signals: */ 820s # /** 820s # * OrgProjectSignalingIface::simple-signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 820s # g_signal_new ("simple-signal", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_simple_signal, 820s # G_TYPE_NONE, 820s # 0); 820s # 820s # /** 820s # * OrgProjectSignalingIface::single-arg-signal-b: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_b: Argument. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 820s # g_signal_new ("single-arg-signal-b", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 820s # G_TYPE_NONE, 820s # 1, G_TYPE_BOOLEAN); 820s # 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_simple_signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * Emits the "SimpleSignal" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_single_arg_signal_b: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_b: Argument to pass with the signal. 820s # * 820s # * Emits the "SingleArgSignalB" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_single_arg_signal_b ( 820s # OrgProjectSignalingIface *object, 820s # gboolean arg_arg_b) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 820s # } 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxy: 820s # * 820s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxyClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceProxy. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceProxyPrivate 820s # { 820s # GData *qdata; 820s # }; 820s # 820s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_proxy_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 820s # g_datalist_clear (&proxy->priv->qdata); 820s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # const GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 820s # const gchar *sender_name G_GNUC_UNUSED, 820s # const gchar *signal_name, 820s # GVariant *parameters) 820s # { 820s # _ExtendedGDBusSignalInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # gsize n; 820s # guint signal_id; 820s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 820s # if (info == NULL) 820s # return; 820s # num_params = g_variant_n_children (parameters); 820s # paramv = g_new0 (GValue, num_params + 1); 820s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[0], proxy); 820s # g_variant_iter_init (&iter, parameters); 820s # n = 1; 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_signal_emitv (paramv, signal_id, 0, NULL); 820s # for (n = 0; n < num_params + 1; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 820s # GVariant *changed_properties, 820s # const gchar *const *invalidated_properties) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 820s # guint n; 820s # const gchar *key; 820s # GVariantIter *iter; 820s # _ExtendedGDBusPropertyInfo *info; 820s # g_variant_get (changed_properties, "a{sv}", &iter); 820s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 820s # g_datalist_remove_data (&proxy->priv->qdata, key); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # g_variant_iter_free (iter); 820s # for (n = 0; invalidated_properties[n] != NULL; n++) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 820s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 820s # #else 820s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 820s # #endif 820s # 820s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusProxyClass *proxy_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 820s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 820s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 820s # 820s # proxy_class = G_DBUS_PROXY_CLASS (klass); 820s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 820s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_sync: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_sync ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new_for_bus ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_sync: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_sync ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeleton: 820s # * 820s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeletonClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceSkeletonPrivate 820s # { 820s # GValue *properties; 820s # GList *changed_properties; 820s # GSource *changed_properties_idle_source; 820s # GMainContext *context; 820s # GMutex lock; 820s # }; 820s # 820s # static void 820s # _org_project_signaling_iface_skeleton_handle_method_call ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name, 820s # const gchar *method_name, 820s # GVariant *parameters, 820s # GDBusMethodInvocation *invocation, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # _ExtendedGDBusMethodInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # guint num_extra; 820s # gsize n; 820s # guint signal_id; 820s # GValue return_value = G_VALUE_INIT; 820s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 820s # g_assert (info != NULL); 820s # num_params = g_variant_n_children (parameters); 820s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 820s # n = 0; 820s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[n++], skeleton); 820s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 820s # g_value_set_object (¶mv[n++], invocation); 820s # if (info->pass_fdlist) 820s # { 820s # #ifdef G_OS_UNIX 820s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 820s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 820s # #else 820s # g_assert_not_reached (); 820s # #endif 820s # } 820s # g_variant_iter_init (&iter, parameters); 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_init (&return_value, G_TYPE_BOOLEAN); 820s # g_signal_emitv (paramv, signal_id, 0, &return_value); 820s # if (!g_value_get_boolean (&return_value)) 820s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 820s # g_value_unset (&return_value); 820s # for (n = 0; n < num_params + num_extra; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static GVariant * 820s # _org_project_signaling_iface_skeleton_handle_get_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # GVariant *ret; 820s # ret = NULL; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # g_value_init (&value, pspec->value_type); 820s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 820s # g_value_unset (&value); 820s # } 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _org_project_signaling_iface_skeleton_handle_set_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GVariant *variant, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # gboolean ret; 820s # ret = FALSE; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # if (info->use_gvariant) 820s # g_value_set_variant (&value, variant); 820s # else 820s # g_dbus_gvariant_to_gvalue (variant, &value); 820s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # g_value_unset (&value); 820s # ret = TRUE; 820s # } 820s # return ret; 820s # } 820s # 820s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 820s # { 820s # _org_project_signaling_iface_skeleton_handle_method_call, 820s # _org_project_signaling_iface_skeleton_handle_get_property, 820s # _org_project_signaling_iface_skeleton_handle_set_property, 820s # {NULL} 820s # }; 820s # 820s # static GDBusInterfaceInfo * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return org_project_signaling_iface_interface_info (); 820s # } 820s # 820s # static GDBusInterfaceVTable * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 820s # } 820s # 820s # static GVariant * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 820s # 820s # GVariantBuilder builder; 820s # guint n; 820s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 820s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 820s # goto out; 820s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 820s # { 820s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 820s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 820s # { 820s # GVariant *value; 820s # 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); 820s # if (value != NULL) 820s # { 820s # g_variant_take_ref (value); 820s # g_variant_builder_add (&builder, "{sv}", info->name, value); 820s # g_variant_unref (value); 820s # } 820s # } 820s # } 820s # out: 820s # return g_variant_builder_end (&builder); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 820s # OrgProjectSignalingIface *object, 820s # gboolean arg_arg_b) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 820s # arg_arg_b)); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_skeleton_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 820s # if (skeleton->priv->changed_properties_idle_source != NULL) 820s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 820s # g_main_context_unref (skeleton->priv->context); 820s # g_mutex_clear (&skeleton->priv->lock); 820s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 820s # #else 820s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 820s # #endif 820s # 820s # g_mutex_init (&skeleton->priv->lock); 820s # skeleton->priv->context = g_main_context_ref_thread_default (); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusInterfaceSkeletonClass *skeleton_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 820s # 820s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 820s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 820s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 820s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 820s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 820s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_skeleton_new: 820s # * 820s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_skeleton_new (void) 820s # { 820s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 820s # } 820s # /tmp/tmpn98ddxmx/tmpndxc8s43.xml: 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn98ddxmx/tmpndxc8s43.xml', '--output', '-', '--body'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: /* 820s # * This file is generated by gdbus-codegen, do not modify it. 820s # * 820s # * The license of this code is the same as for the D-Bus interface description 820s # * it was derived from. Note that it links to GLib, so must comply with the 820s # * LGPL linking clauses. 820s # */ 820s # 820s # #ifdef HAVE_CONFIG_H 820s # # include "config.h" 820s # #endif 820s # 820s # #include 820s # #ifdef G_OS_UNIX 820s # # include 820s # #endif 820s # 820s # #ifdef G_ENABLE_DEBUG 820s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 820s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 820s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 820s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 820s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 820s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 820s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 820s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 820s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 820s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 820s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 820s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 820s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 820s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 820s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 820s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 820s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 820s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 820s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 820s # #else /* !G_ENABLE_DEBUG */ 820s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 820s # * Do not access GValues directly in your code. Instead, use the 820s # * g_value_get_*() functions 820s # */ 820s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 820s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 820s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 820s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 820s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 820s # #endif /* !G_ENABLE_DEBUG */ 820s # 820s # typedef struct 820s # { 820s # GDBusArgInfo parent_struct; 820s # gboolean use_gvariant; 820s # } _ExtendedGDBusArgInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusMethodInfo parent_struct; 820s # const gchar *signal_name; 820s # gboolean pass_fdlist; 820s # } _ExtendedGDBusMethodInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusSignalInfo parent_struct; 820s # const gchar *signal_name; 820s # } _ExtendedGDBusSignalInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusPropertyInfo parent_struct; 820s # const gchar *hyphen_name; 820s # guint use_gvariant : 1; 820s # guint emits_changed_signal : 1; 820s # } _ExtendedGDBusPropertyInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusInterfaceInfo parent_struct; 820s # const gchar *hyphen_name; 820s # } _ExtendedGDBusInterfaceInfo; 820s # 820s # typedef struct 820s # { 820s # const _ExtendedGDBusPropertyInfo *info; 820s # guint prop_id; 820s # GValue orig_value; /* the value before the change */ 820s # } ChangedProperty; 820s # 820s # static void 820s # _changed_property_free (ChangedProperty *data) 820s # { 820s # g_value_unset (&data->orig_value); 820s # g_free (data); 820s # } 820s # 820s # static gboolean 820s # _g_strv_equal0 (gchar **a, gchar **b) 820s # { 820s # gboolean ret = FALSE; 820s # guint n; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # if (g_strv_length (a) != g_strv_length (b)) 820s # goto out; 820s # for (n = 0; a[n] != NULL; n++) 820s # if (g_strcmp0 (a[n], b[n]) != 0) 820s # goto out; 820s # ret = TRUE; 820s # out: 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _g_variant_equal0 (GVariant *a, GVariant *b) 820s # { 820s # gboolean ret = FALSE; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # ret = g_variant_equal (a, b); 820s # out: 820s # return ret; 820s # } 820s # 820s # G_GNUC_UNUSED static gboolean 820s # _g_value_equal (const GValue *a, const GValue *b) 820s # { 820s # gboolean ret = FALSE; 820s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 820s # switch (G_VALUE_TYPE (a)) 820s # { 820s # case G_TYPE_BOOLEAN: 820s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 820s # break; 820s # case G_TYPE_UCHAR: 820s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 820s # break; 820s # case G_TYPE_INT: 820s # ret = (g_value_get_int (a) == g_value_get_int (b)); 820s # break; 820s # case G_TYPE_UINT: 820s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 820s # break; 820s # case G_TYPE_INT64: 820s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 820s # break; 820s # case G_TYPE_UINT64: 820s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 820s # break; 820s # case G_TYPE_DOUBLE: 820s # { 820s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 820s # gdouble da = g_value_get_double (a); 820s # gdouble db = g_value_get_double (b); 820s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 820s # } 820s # break; 820s # case G_TYPE_STRING: 820s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 820s # break; 820s # case G_TYPE_VARIANT: 820s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 820s # break; 820s # default: 820s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 820s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 820s # else 820s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 820s # break; 820s # } 820s # return ret; 820s # } 820s # 820s # /* ------------------------------------------------------------------------ 820s # * Code for interface org.project.SignalingIface 820s # * ------------------------------------------------------------------------ 820s # */ 820s # 820s # /** 820s # * SECTION:OrgProjectSignalingIface 820s # * @title: OrgProjectSignalingIface 820s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 820s # * 820s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 820s # */ 820s # 820s # enum 820s # { 820s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 820s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 820s # }; 820s # 820s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 820s # 820s # /* ---- Introspection data for org.project.SignalingIface ---- */ 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SimpleSignal", 820s # NULL, 820s # NULL 820s # }, 820s # "simple-signal" 820s # }; 820s # 820s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 820s # { 820s # { 820s # -1, 820s # (gchar *) "arg_y", 820s # (gchar *) "y", 820s # NULL 820s # }, 820s # FALSE 820s # }; 820s # 820s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SingleArgSignalY", 820s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 820s # NULL 820s # }, 820s # "single-arg-signal-y" 820s # }; 820s # 820s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 820s # { 820s # { 820s # -1, 820s # (gchar *) "org.project.SignalingIface", 820s # NULL, 820s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 820s # NULL, 820s # NULL 820s # }, 820s # "org-project-signaling-iface", 820s # }; 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_interface_info: 820s # * 820s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 820s # * 820s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 820s # */ 820s # GDBusInterfaceInfo * 820s # org_project_signaling_iface_interface_info (void) 820s # { 820s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_override_properties: 820s # * @klass: The class structure for a #GObject derived class. 820s # * @property_id_begin: The property id to assign to the first overridden property. 820s # * 820s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 820s # * The properties are overridden in the order they are defined. 820s # * 820s # * Returns: The last property id. 820s # */ 820s # guint 820s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 820s # { 820s # return property_id_begin - 1; 820s # } 820s # 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_simple_signal ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__VOID (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__UCHAR (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # 820s # /** 820s # * OrgProjectSignalingIface: 820s # * 820s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceIface: 820s # * @parent_iface: The parent interface. 820s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 820s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 820s # * 820s # * Virtual table for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 820s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 820s # 820s # static void 820s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # /* GObject signals for received D-Bus signals: */ 820s # /** 820s # * OrgProjectSignalingIface::simple-signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 820s # g_signal_new ("simple-signal", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_simple_signal, 820s # G_TYPE_NONE, 820s # 0); 820s # 820s # /** 820s # * OrgProjectSignalingIface::single-arg-signal-y: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_y: Argument. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 820s # g_signal_new ("single-arg-signal-y", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 820s # G_TYPE_NONE, 820s # 1, G_TYPE_UCHAR); 820s # 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_simple_signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * Emits the "SimpleSignal" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_single_arg_signal_y: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_y: Argument to pass with the signal. 820s # * 820s # * Emits the "SingleArgSignalY" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_single_arg_signal_y ( 820s # OrgProjectSignalingIface *object, 820s # guchar arg_arg_y) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 820s # } 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxy: 820s # * 820s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxyClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceProxy. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceProxyPrivate 820s # { 820s # GData *qdata; 820s # }; 820s # 820s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_proxy_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 820s # g_datalist_clear (&proxy->priv->qdata); 820s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # const GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 820s # const gchar *sender_name G_GNUC_UNUSED, 820s # const gchar *signal_name, 820s # GVariant *parameters) 820s # { 820s # _ExtendedGDBusSignalInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # gsize n; 820s # guint signal_id; 820s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 820s # if (info == NULL) 820s # return; 820s # num_params = g_variant_n_children (parameters); 820s # paramv = g_new0 (GValue, num_params + 1); 820s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[0], proxy); 820s # g_variant_iter_init (&iter, parameters); 820s # n = 1; 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_signal_emitv (paramv, signal_id, 0, NULL); 820s # for (n = 0; n < num_params + 1; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 820s # GVariant *changed_properties, 820s # const gchar *const *invalidated_properties) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 820s # guint n; 820s # const gchar *key; 820s # GVariantIter *iter; 820s # _ExtendedGDBusPropertyInfo *info; 820s # g_variant_get (changed_properties, "a{sv}", &iter); 820s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 820s # g_datalist_remove_data (&proxy->priv->qdata, key); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # g_variant_iter_free (iter); 820s # for (n = 0; invalidated_properties[n] != NULL; n++) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 820s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 820s # #else 820s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 820s # #endif 820s # 820s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusProxyClass *proxy_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 820s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 820s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 820s # 820s # proxy_class = G_DBUS_PROXY_CLASS (klass); 820s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 820s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_sync: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_sync ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new_for_bus ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_sync: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_sync ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeleton: 820s # * 820s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeletonClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceSkeletonPrivate 820s # { 820s # GValue *properties; 820s # GList *changed_properties; 820s # GSource *changed_properties_idle_source; 820s # GMainContext *context; 820s # GMutex lock; 820s # }; 820s # 820s # static void 820s # _org_project_signaling_iface_skeleton_handle_method_call ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name, 820s # const gchar *method_name, 820s # GVariant *parameters, 820s # GDBusMethodInvocation *invocation, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # _ExtendedGDBusMethodInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # guint num_extra; 820s # gsize n; 820s # guint signal_id; 820s # GValue return_value = G_VALUE_INIT; 820s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 820s # g_assert (info != NULL); 820s # num_params = g_variant_n_children (parameters); 820s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 820s # n = 0; 820s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[n++], skeleton); 820s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 820s # g_value_set_object (¶mv[n++], invocation); 820s # if (info->pass_fdlist) 820s # { 820s # #ifdef G_OS_UNIX 820s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 820s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 820s # #else 820s # g_assert_not_reached (); 820s # #endif 820s # } 820s # g_variant_iter_init (&iter, parameters); 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_init (&return_value, G_TYPE_BOOLEAN); 820s # g_signal_emitv (paramv, signal_id, 0, &return_value); 820s # if (!g_value_get_boolean (&return_value)) 820s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 820s # g_value_unset (&return_value); 820s # for (n = 0; n < num_params + num_extra; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static GVariant * 820s # _org_project_signaling_iface_skeleton_handle_get_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # GVariant *ret; 820s # ret = NULL; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # g_value_init (&value, pspec->value_type); 820s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 820s # g_value_unset (&value); 820s # } 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _org_project_signaling_iface_skeleton_handle_set_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GVariant *variant, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # gboolean ret; 820s # ret = FALSE; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # if (info->use_gvariant) 820s # g_value_set_variant (&value, variant); 820s # else 820s # g_dbus_gvariant_to_gvalue (variant, &value); 820s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # g_value_unset (&value); 820s # ret = TRUE; 820s # } 820s # return ret; 820s # } 820s # 820s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 820s # { 820s # _org_project_signaling_iface_skeleton_handle_method_call, 820s # _org_project_signaling_iface_skeleton_handle_get_property, 820s # _org_project_signaling_iface_skeleton_handle_set_property, 820s # {NULL} 820s # }; 820s # 820s # static GDBusInterfaceInfo * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return org_project_signaling_iface_interface_info (); 820s # } 820s # 820s # static GDBusInterfaceVTable * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 820s # } 820s # 820s # static GVariant * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 820s # 820s # GVariantBuilder builder; 820s # guint n; 820s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 820s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 820s # goto out; 820s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 820s # { 820s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 820s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 820s # { 820s # GVariant *value; 820s # 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); 820s # if (value != NULL) 820s # { 820s # g_variant_take_ref (value); 820s # g_variant_builder_add (&builder, "{sv}", info->name, value); 820s # g_variant_unref (value); 820s # } 820s # } 820s # } 820s # out: 820s # return g_variant_builder_end (&builder); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 820s # OrgProjectSignalingIface *object, 820s # guchar arg_arg_y) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 820s # arg_arg_y)); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_skeleton_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 820s # if (skeleton->priv->changed_properties_idle_source != NULL) 820s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 820s # g_main_context_unref (skeleton->priv->context); 820s # g_mutex_clear (&skeleton->priv->lock); 820s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 820s # #else 820s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 820s # #endif 820s # 820s # g_mutex_init (&skeleton->priv->lock); 820s # skeleton->priv->context = g_main_context_ref_thread_default (); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusInterfaceSkeletonClass *skeleton_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 820s # 820s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 820s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 820s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 820s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 820s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 820s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_skeleton_new: 820s # * 820s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_skeleton_new (void) 820s # { 820s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 820s # } 820s # /tmp/tmpn98ddxmx/tmpduumnj8l.xml: 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn98ddxmx/tmpduumnj8l.xml', '--output', '-', '--body'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: /* 820s # * This file is generated by gdbus-codegen, do not modify it. 820s # * 820s # * The license of this code is the same as for the D-Bus interface description 820s # * it was derived from. Note that it links to GLib, so must comply with the 820s # * LGPL linking clauses. 820s # */ 820s # 820s # #ifdef HAVE_CONFIG_H 820s # # include "config.h" 820s # #endif 820s # 820s # #include 820s # #ifdef G_OS_UNIX 820s # # include 820s # #endif 820s # 820s # #ifdef G_ENABLE_DEBUG 820s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 820s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 820s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 820s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 820s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 820s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 820s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 820s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 820s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 820s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 820s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 820s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 820s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 820s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 820s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 820s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 820s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 820s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 820s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 820s # #else /* !G_ENABLE_DEBUG */ 820s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 820s # * Do not access GValues directly in your code. Instead, use the 820s # * g_value_get_*() functions 820s # */ 820s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 820s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 820s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 820s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 820s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 820s # #endif /* !G_ENABLE_DEBUG */ 820s # 820s # typedef struct 820s # { 820s # GDBusArgInfo parent_struct; 820s # gboolean use_gvariant; 820s # } _ExtendedGDBusArgInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusMethodInfo parent_struct; 820s # const gchar *signal_name; 820s # gboolean pass_fdlist; 820s # } _ExtendedGDBusMethodInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusSignalInfo parent_struct; 820s # const gchar *signal_name; 820s # } _ExtendedGDBusSignalInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusPropertyInfo parent_struct; 820s # const gchar *hyphen_name; 820s # guint use_gvariant : 1; 820s # guint emits_changed_signal : 1; 820s # } _ExtendedGDBusPropertyInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusInterfaceInfo parent_struct; 820s # const gchar *hyphen_name; 820s # } _ExtendedGDBusInterfaceInfo; 820s # 820s # typedef struct 820s # { 820s # const _ExtendedGDBusPropertyInfo *info; 820s # guint prop_id; 820s # GValue orig_value; /* the value before the change */ 820s # } ChangedProperty; 820s # 820s # static void 820s # _changed_property_free (ChangedProperty *data) 820s # { 820s # g_value_unset (&data->orig_value); 820s # g_free (data); 820s # } 820s # 820s # static gboolean 820s # _g_strv_equal0 (gchar **a, gchar **b) 820s # { 820s # gboolean ret = FALSE; 820s # guint n; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # if (g_strv_length (a) != g_strv_length (b)) 820s # goto out; 820s # for (n = 0; a[n] != NULL; n++) 820s # if (g_strcmp0 (a[n], b[n]) != 0) 820s # goto out; 820s # ret = TRUE; 820s # out: 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _g_variant_equal0 (GVariant *a, GVariant *b) 820s # { 820s # gboolean ret = FALSE; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # ret = g_variant_equal (a, b); 820s # out: 820s # return ret; 820s # } 820s # 820s # G_GNUC_UNUSED static gboolean 820s # _g_value_equal (const GValue *a, const GValue *b) 820s # { 820s # gboolean ret = FALSE; 820s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 820s # switch (G_VALUE_TYPE (a)) 820s # { 820s # case G_TYPE_BOOLEAN: 820s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 820s # break; 820s # case G_TYPE_UCHAR: 820s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 820s # break; 820s # case G_TYPE_INT: 820s # ret = (g_value_get_int (a) == g_value_get_int (b)); 820s # break; 820s # case G_TYPE_UINT: 820s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 820s # break; 820s # case G_TYPE_INT64: 820s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 820s # break; 820s # case G_TYPE_UINT64: 820s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 820s # break; 820s # case G_TYPE_DOUBLE: 820s # { 820s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 820s # gdouble da = g_value_get_double (a); 820s # gdouble db = g_value_get_double (b); 820s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 820s # } 820s # break; 820s # case G_TYPE_STRING: 820s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 820s # break; 820s # case G_TYPE_VARIANT: 820s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 820s # break; 820s # default: 820s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 820s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 820s # else 820s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 820s # break; 820s # } 820s # return ret; 820s # } 820s # 820s # /* ------------------------------------------------------------------------ 820s # * Code for interface org.project.SignalingIface 820s # * ------------------------------------------------------------------------ 820s # */ 820s # 820s # /** 820s # * SECTION:OrgProjectSignalingIface 820s # * @title: OrgProjectSignalingIface 820s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 820s # * 820s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 820s # */ 820s # 820s # enum 820s # { 820s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 820s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 820s # }; 820s # 820s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 820s # 820s # /* ---- Introspection data for org.project.SignalingIface ---- */ 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SimpleSignal", 820s # NULL, 820s # NULL 820s # }, 820s # "simple-signal" 820s # }; 820s # 820s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 820s # { 820s # { 820s # -1, 820s # (gchar *) "arg_n", 820s # (gchar *) "n", 820s # NULL 820s # }, 820s # FALSE 820s # }; 820s # 820s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SingleArgSignalN", 820s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 820s # NULL 820s # }, 820s # "single-arg-signal-n" 820s # }; 820s # 820s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 820s # { 820s # { 820s # -1, 820s # (gchar *) "org.project.SignalingIface", 820s # NULL, 820s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 820s # NULL, 820s # NULL 820s # }, 820s # "org-project-signaling-iface", 820s # }; 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_interface_info: 820s # * 820s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 820s # * 820s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 820s # */ 820s # GDBusInterfaceInfo * 820s # org_project_signaling_iface_interface_info (void) 820s # { 820s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_override_properties: 820s # * @klass: The class structure for a #GObject derived class. 820s # * @property_id_begin: The property id to assign to the first overridden property. 820s # * 820s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 820s # * The properties are overridden in the order they are defined. 820s # * 820s # * Returns: The last property id. 820s # */ 820s # guint 820s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 820s # { 820s # return property_id_begin - 1; 820s # } 820s # 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_simple_signal ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__VOID (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__INT (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # 820s # /** 820s # * OrgProjectSignalingIface: 820s # * 820s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceIface: 820s # * @parent_iface: The parent interface. 820s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 820s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 820s # * 820s # * Virtual table for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 820s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 820s # 820s # static void 820s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # /* GObject signals for received D-Bus signals: */ 820s # /** 820s # * OrgProjectSignalingIface::simple-signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 820s # g_signal_new ("simple-signal", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_simple_signal, 820s # G_TYPE_NONE, 820s # 0); 820s # 820s # /** 820s # * OrgProjectSignalingIface::single-arg-signal-n: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_n: Argument. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 820s # g_signal_new ("single-arg-signal-n", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 820s # G_TYPE_NONE, 820s # 1, G_TYPE_INT); 820s # 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_simple_signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * Emits the "SimpleSignal" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_single_arg_signal_n: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_n: Argument to pass with the signal. 820s # * 820s # * Emits the "SingleArgSignalN" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_single_arg_signal_n ( 820s # OrgProjectSignalingIface *object, 820s # gint16 arg_arg_n) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 820s # } 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxy: 820s # * 820s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxyClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceProxy. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceProxyPrivate 820s # { 820s # GData *qdata; 820s # }; 820s # 820s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_proxy_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 820s # g_datalist_clear (&proxy->priv->qdata); 820s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # const GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 820s # const gchar *sender_name G_GNUC_UNUSED, 820s # const gchar *signal_name, 820s # GVariant *parameters) 820s # { 820s # _ExtendedGDBusSignalInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # gsize n; 820s # guint signal_id; 820s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 820s # if (info == NULL) 820s # return; 820s # num_params = g_variant_n_children (parameters); 820s # paramv = g_new0 (GValue, num_params + 1); 820s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[0], proxy); 820s # g_variant_iter_init (&iter, parameters); 820s # n = 1; 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_signal_emitv (paramv, signal_id, 0, NULL); 820s # for (n = 0; n < num_params + 1; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 820s # GVariant *changed_properties, 820s # const gchar *const *invalidated_properties) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 820s # guint n; 820s # const gchar *key; 820s # GVariantIter *iter; 820s # _ExtendedGDBusPropertyInfo *info; 820s # g_variant_get (changed_properties, "a{sv}", &iter); 820s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 820s # g_datalist_remove_data (&proxy->priv->qdata, key); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # g_variant_iter_free (iter); 820s # for (n = 0; invalidated_properties[n] != NULL; n++) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 820s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 820s # #else 820s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 820s # #endif 820s # 820s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusProxyClass *proxy_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 820s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 820s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 820s # 820s # proxy_class = G_DBUS_PROXY_CLASS (klass); 820s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 820s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_sync: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_sync ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new_for_bus ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_sync: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_sync ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeleton: 820s # * 820s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeletonClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceSkeletonPrivate 820s # { 820s # GValue *properties; 820s # GList *changed_properties; 820s # GSource *changed_properties_idle_source; 820s # GMainContext *context; 820s # GMutex lock; 820s # }; 820s # 820s # static void 820s # _org_project_signaling_iface_skeleton_handle_method_call ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name, 820s # const gchar *method_name, 820s # GVariant *parameters, 820s # GDBusMethodInvocation *invocation, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # _ExtendedGDBusMethodInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # guint num_extra; 820s # gsize n; 820s # guint signal_id; 820s # GValue return_value = G_VALUE_INIT; 820s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 820s # g_assert (info != NULL); 820s # num_params = g_variant_n_children (parameters); 820s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 820s # n = 0; 820s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[n++], skeleton); 820s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 820s # g_value_set_object (¶mv[n++], invocation); 820s # if (info->pass_fdlist) 820s # { 820s # #ifdef G_OS_UNIX 820s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 820s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 820s # #else 820s # g_assert_not_reached (); 820s # #endif 820s # } 820s # g_variant_iter_init (&iter, parameters); 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_init (&return_value, G_TYPE_BOOLEAN); 820s # g_signal_emitv (paramv, signal_id, 0, &return_value); 820s # if (!g_value_get_boolean (&return_value)) 820s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 820s # g_value_unset (&return_value); 820s # for (n = 0; n < num_params + num_extra; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static GVariant * 820s # _org_project_signaling_iface_skeleton_handle_get_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # GVariant *ret; 820s # ret = NULL; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # g_value_init (&value, pspec->value_type); 820s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 820s # g_value_unset (&value); 820s # } 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _org_project_signaling_iface_skeleton_handle_set_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GVariant *variant, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # gboolean ret; 820s # ret = FALSE; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # if (info->use_gvariant) 820s # g_value_set_variant (&value, variant); 820s # else 820s # g_dbus_gvariant_to_gvalue (variant, &value); 820s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # g_value_unset (&value); 820s # ret = TRUE; 820s # } 820s # return ret; 820s # } 820s # 820s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 820s # { 820s # _org_project_signaling_iface_skeleton_handle_method_call, 820s # _org_project_signaling_iface_skeleton_handle_get_property, 820s # _org_project_signaling_iface_skeleton_handle_set_property, 820s # {NULL} 820s # }; 820s # 820s # static GDBusInterfaceInfo * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return org_project_signaling_iface_interface_info (); 820s # } 820s # 820s # static GDBusInterfaceVTable * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 820s # } 820s # 820s # static GVariant * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 820s # 820s # GVariantBuilder builder; 820s # guint n; 820s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 820s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 820s # goto out; 820s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 820s # { 820s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 820s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 820s # { 820s # GVariant *value; 820s # 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); 820s # if (value != NULL) 820s # { 820s # g_variant_take_ref (value); 820s # g_variant_builder_add (&builder, "{sv}", info->name, value); 820s # g_variant_unref (value); 820s # } 820s # } 820s # } 820s # out: 820s # return g_variant_builder_end (&builder); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 820s # OrgProjectSignalingIface *object, 820s # gint16 arg_arg_n) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 820s # arg_arg_n)); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_skeleton_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 820s # if (skeleton->priv->changed_properties_idle_source != NULL) 820s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 820s # g_main_context_unref (skeleton->priv->context); 820s # g_mutex_clear (&skeleton->priv->lock); 820s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 820s # #else 820s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 820s # #endif 820s # 820s # g_mutex_init (&skeleton->priv->lock); 820s # skeleton->priv->context = g_main_context_ref_thread_default (); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusInterfaceSkeletonClass *skeleton_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 820s # 820s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 820s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 820s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 820s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 820s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 820s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_skeleton_new: 820s # * 820s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_skeleton_new (void) 820s # { 820s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 820s # } 820s # /tmp/tmpn98ddxmx/tmp0t9bjzof.xml: 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn98ddxmx/tmp0t9bjzof.xml', '--output', '-', '--body'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: /* 820s # * This file is generated by gdbus-codegen, do not modify it. 820s # * 820s # * The license of this code is the same as for the D-Bus interface description 820s # * it was derived from. Note that it links to GLib, so must comply with the 820s # * LGPL linking clauses. 820s # */ 820s # 820s # #ifdef HAVE_CONFIG_H 820s # # include "config.h" 820s # #endif 820s # 820s # #include 820s # #ifdef G_OS_UNIX 820s # # include 820s # #endif 820s # 820s # #ifdef G_ENABLE_DEBUG 820s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 820s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 820s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 820s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 820s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 820s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 820s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 820s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 820s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 820s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 820s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 820s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 820s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 820s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 820s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 820s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 820s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 820s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 820s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 820s # #else /* !G_ENABLE_DEBUG */ 820s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 820s # * Do not access GValues directly in your code. Instead, use the 820s # * g_value_get_*() functions 820s # */ 820s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 820s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 820s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 820s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 820s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 820s # #endif /* !G_ENABLE_DEBUG */ 820s # 820s # typedef struct 820s # { 820s # GDBusArgInfo parent_struct; 820s # gboolean use_gvariant; 820s # } _ExtendedGDBusArgInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusMethodInfo parent_struct; 820s # const gchar *signal_name; 820s # gboolean pass_fdlist; 820s # } _ExtendedGDBusMethodInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusSignalInfo parent_struct; 820s # const gchar *signal_name; 820s # } _ExtendedGDBusSignalInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusPropertyInfo parent_struct; 820s # const gchar *hyphen_name; 820s # guint use_gvariant : 1; 820s # guint emits_changed_signal : 1; 820s # } _ExtendedGDBusPropertyInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusInterfaceInfo parent_struct; 820s # const gchar *hyphen_name; 820s # } _ExtendedGDBusInterfaceInfo; 820s # 820s # typedef struct 820s # { 820s # const _ExtendedGDBusPropertyInfo *info; 820s # guint prop_id; 820s # GValue orig_value; /* the value before the change */ 820s # } ChangedProperty; 820s # 820s # static void 820s # _changed_property_free (ChangedProperty *data) 820s # { 820s # g_value_unset (&data->orig_value); 820s # g_free (data); 820s # } 820s # 820s # static gboolean 820s # _g_strv_equal0 (gchar **a, gchar **b) 820s # { 820s # gboolean ret = FALSE; 820s # guint n; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # if (g_strv_length (a) != g_strv_length (b)) 820s # goto out; 820s # for (n = 0; a[n] != NULL; n++) 820s # if (g_strcmp0 (a[n], b[n]) != 0) 820s # goto out; 820s # ret = TRUE; 820s # out: 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _g_variant_equal0 (GVariant *a, GVariant *b) 820s # { 820s # gboolean ret = FALSE; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # ret = g_variant_equal (a, b); 820s # out: 820s # return ret; 820s # } 820s # 820s # G_GNUC_UNUSED static gboolean 820s # _g_value_equal (const GValue *a, const GValue *b) 820s # { 820s # gboolean ret = FALSE; 820s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 820s # switch (G_VALUE_TYPE (a)) 820s # { 820s # case G_TYPE_BOOLEAN: 820s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 820s # break; 820s # case G_TYPE_UCHAR: 820s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 820s # break; 820s # case G_TYPE_INT: 820s # ret = (g_value_get_int (a) == g_value_get_int (b)); 820s # break; 820s # case G_TYPE_UINT: 820s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 820s # break; 820s # case G_TYPE_INT64: 820s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 820s # break; 820s # case G_TYPE_UINT64: 820s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 820s # break; 820s # case G_TYPE_DOUBLE: 820s # { 820s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 820s # gdouble da = g_value_get_double (a); 820s # gdouble db = g_value_get_double (b); 820s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 820s # } 820s # break; 820s # case G_TYPE_STRING: 820s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 820s # break; 820s # case G_TYPE_VARIANT: 820s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 820s # break; 820s # default: 820s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 820s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 820s # else 820s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 820s # break; 820s # } 820s # return ret; 820s # } 820s # 820s # /* ------------------------------------------------------------------------ 820s # * Code for interface org.project.SignalingIface 820s # * ------------------------------------------------------------------------ 820s # */ 820s # 820s # /** 820s # * SECTION:OrgProjectSignalingIface 820s # * @title: OrgProjectSignalingIface 820s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 820s # * 820s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 820s # */ 820s # 820s # enum 820s # { 820s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 820s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 820s # }; 820s # 820s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 820s # 820s # /* ---- Introspection data for org.project.SignalingIface ---- */ 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SimpleSignal", 820s # NULL, 820s # NULL 820s # }, 820s # "simple-signal" 820s # }; 820s # 820s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 820s # { 820s # { 820s # -1, 820s # (gchar *) "arg_q", 820s # (gchar *) "q", 820s # NULL 820s # }, 820s # FALSE 820s # }; 820s # 820s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SingleArgSignalQ", 820s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 820s # NULL 820s # }, 820s # "single-arg-signal-q" 820s # }; 820s # 820s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 820s # { 820s # { 820s # -1, 820s # (gchar *) "org.project.SignalingIface", 820s # NULL, 820s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 820s # NULL, 820s # NULL 820s # }, 820s # "org-project-signaling-iface", 820s # }; 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_interface_info: 820s # * 820s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 820s # * 820s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 820s # */ 820s # GDBusInterfaceInfo * 820s # org_project_signaling_iface_interface_info (void) 820s # { 820s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_override_properties: 820s # * @klass: The class structure for a #GObject derived class. 820s # * @property_id_begin: The property id to assign to the first overridden property. 820s # * 820s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 820s # * The properties are overridden in the order they are defined. 820s # * 820s # * Returns: The last property id. 820s # */ 820s # guint 820s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 820s # { 820s # return property_id_begin - 1; 820s # } 820s # 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_simple_signal ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__VOID (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__UINT (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # 820s # /** 820s # * OrgProjectSignalingIface: 820s # * 820s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceIface: 820s # * @parent_iface: The parent interface. 820s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 820s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 820s # * 820s # * Virtual table for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 820s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 820s # 820s # static void 820s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # /* GObject signals for received D-Bus signals: */ 820s # /** 820s # * OrgProjectSignalingIface::simple-signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 820s # g_signal_new ("simple-signal", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_simple_signal, 820s # G_TYPE_NONE, 820s # 0); 820s # 820s # /** 820s # * OrgProjectSignalingIface::single-arg-signal-q: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_q: Argument. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 820s # g_signal_new ("single-arg-signal-q", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 820s # G_TYPE_NONE, 820s # 1, G_TYPE_UINT); 820s # 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_simple_signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * Emits the "SimpleSignal" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_single_arg_signal_q: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_q: Argument to pass with the signal. 820s # * 820s # * Emits the "SingleArgSignalQ" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_single_arg_signal_q ( 820s # OrgProjectSignalingIface *object, 820s # guint16 arg_arg_q) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 820s # } 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxy: 820s # * 820s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxyClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceProxy. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceProxyPrivate 820s # { 820s # GData *qdata; 820s # }; 820s # 820s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_proxy_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 820s # g_datalist_clear (&proxy->priv->qdata); 820s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # const GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 820s # const gchar *sender_name G_GNUC_UNUSED, 820s # const gchar *signal_name, 820s # GVariant *parameters) 820s # { 820s # _ExtendedGDBusSignalInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # gsize n; 820s # guint signal_id; 820s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 820s # if (info == NULL) 820s # return; 820s # num_params = g_variant_n_children (parameters); 820s # paramv = g_new0 (GValue, num_params + 1); 820s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[0], proxy); 820s # g_variant_iter_init (&iter, parameters); 820s # n = 1; 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_signal_emitv (paramv, signal_id, 0, NULL); 820s # for (n = 0; n < num_params + 1; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 820s # GVariant *changed_properties, 820s # const gchar *const *invalidated_properties) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 820s # guint n; 820s # const gchar *key; 820s # GVariantIter *iter; 820s # _ExtendedGDBusPropertyInfo *info; 820s # g_variant_get (changed_properties, "a{sv}", &iter); 820s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 820s # g_datalist_remove_data (&proxy->priv->qdata, key); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # g_variant_iter_free (iter); 820s # for (n = 0; invalidated_properties[n] != NULL; n++) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 820s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 820s # #else 820s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 820s # #endif 820s # 820s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusProxyClass *proxy_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 820s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 820s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 820s # 820s # proxy_class = G_DBUS_PROXY_CLASS (klass); 820s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 820s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_sync: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_sync ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new_for_bus ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_sync: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_sync ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeleton: 820s # * 820s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeletonClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceSkeletonPrivate 820s # { 820s # GValue *properties; 820s # GList *changed_properties; 820s # GSource *changed_properties_idle_source; 820s # GMainContext *context; 820s # GMutex lock; 820s # }; 820s # 820s # static void 820s # _org_project_signaling_iface_skeleton_handle_method_call ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name, 820s # const gchar *method_name, 820s # GVariant *parameters, 820s # GDBusMethodInvocation *invocation, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # _ExtendedGDBusMethodInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # guint num_extra; 820s # gsize n; 820s # guint signal_id; 820s # GValue return_value = G_VALUE_INIT; 820s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 820s # g_assert (info != NULL); 820s # num_params = g_variant_n_children (parameters); 820s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 820s # n = 0; 820s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[n++], skeleton); 820s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 820s # g_value_set_object (¶mv[n++], invocation); 820s # if (info->pass_fdlist) 820s # { 820s # #ifdef G_OS_UNIX 820s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 820s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 820s # #else 820s # g_assert_not_reached (); 820s # #endif 820s # } 820s # g_variant_iter_init (&iter, parameters); 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_init (&return_value, G_TYPE_BOOLEAN); 820s # g_signal_emitv (paramv, signal_id, 0, &return_value); 820s # if (!g_value_get_boolean (&return_value)) 820s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 820s # g_value_unset (&return_value); 820s # for (n = 0; n < num_params + num_extra; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static GVariant * 820s # _org_project_signaling_iface_skeleton_handle_get_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # GVariant *ret; 820s # ret = NULL; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # g_value_init (&value, pspec->value_type); 820s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 820s # g_value_unset (&value); 820s # } 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _org_project_signaling_iface_skeleton_handle_set_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GVariant *variant, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # gboolean ret; 820s # ret = FALSE; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # if (info->use_gvariant) 820s # g_value_set_variant (&value, variant); 820s # else 820s # g_dbus_gvariant_to_gvalue (variant, &value); 820s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # g_value_unset (&value); 820s # ret = TRUE; 820s # } 820s # return ret; 820s # } 820s # 820s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 820s # { 820s # _org_project_signaling_iface_skeleton_handle_method_call, 820s # _org_project_signaling_iface_skeleton_handle_get_property, 820s # _org_project_signaling_iface_skeleton_handle_set_property, 820s # {NULL} 820s # }; 820s # 820s # static GDBusInterfaceInfo * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return org_project_signaling_iface_interface_info (); 820s # } 820s # 820s # static GDBusInterfaceVTable * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 820s # } 820s # 820s # static GVariant * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 820s # 820s # GVariantBuilder builder; 820s # guint n; 820s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 820s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 820s # goto out; 820s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 820s # { 820s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 820s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 820s # { 820s # GVariant *value; 820s # 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); 820s # if (value != NULL) 820s # { 820s # g_variant_take_ref (value); 820s # g_variant_builder_add (&builder, "{sv}", info->name, value); 820s # g_variant_unref (value); 820s # } 820s # } 820s # } 820s # out: 820s # return g_variant_builder_end (&builder); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 820s # OrgProjectSignalingIface *object, 820s # guint16 arg_arg_q) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 820s # arg_arg_q)); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_skeleton_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 820s # if (skeleton->priv->changed_properties_idle_source != NULL) 820s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 820s # g_main_context_unref (skeleton->priv->context); 820s # g_mutex_clear (&skeleton->priv->lock); 820s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 820s # #else 820s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 820s # #endif 820s # 820s # g_mutex_init (&skeleton->priv->lock); 820s # skeleton->priv->context = g_main_context_ref_thread_default (); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusInterfaceSkeletonClass *skeleton_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 820s # 820s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 820s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 820s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 820s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 820s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 820s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_skeleton_new: 820s # * 820s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_skeleton_new (void) 820s # { 820s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 820s # } 820s # /tmp/tmpn98ddxmx/tmp1eh15x9t.xml: 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn98ddxmx/tmp1eh15x9t.xml', '--output', '-', '--body'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: /* 820s # * This file is generated by gdbus-codegen, do not modify it. 820s # * 820s # * The license of this code is the same as for the D-Bus interface description 820s # * it was derived from. Note that it links to GLib, so must comply with the 820s # * LGPL linking clauses. 820s # */ 820s # 820s # #ifdef HAVE_CONFIG_H 820s # # include "config.h" 820s # #endif 820s # 820s # #include 820s # #ifdef G_OS_UNIX 820s # # include 820s # #endif 820s # 820s # #ifdef G_ENABLE_DEBUG 820s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 820s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 820s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 820s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 820s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 820s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 820s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 820s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 820s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 820s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 820s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 820s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 820s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 820s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 820s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 820s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 820s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 820s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 820s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 820s # #else /* !G_ENABLE_DEBUG */ 820s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 820s # * Do not access GValues directly in your code. Instead, use the 820s # * g_value_get_*() functions 820s # */ 820s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 820s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 820s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 820s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 820s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 820s # #endif /* !G_ENABLE_DEBUG */ 820s # 820s # typedef struct 820s # { 820s # GDBusArgInfo parent_struct; 820s # gboolean use_gvariant; 820s # } _ExtendedGDBusArgInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusMethodInfo parent_struct; 820s # const gchar *signal_name; 820s # gboolean pass_fdlist; 820s # } _ExtendedGDBusMethodInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusSignalInfo parent_struct; 820s # const gchar *signal_name; 820s # } _ExtendedGDBusSignalInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusPropertyInfo parent_struct; 820s # const gchar *hyphen_name; 820s # guint use_gvariant : 1; 820s # guint emits_changed_signal : 1; 820s # } _ExtendedGDBusPropertyInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusInterfaceInfo parent_struct; 820s # const gchar *hyphen_name; 820s # } _ExtendedGDBusInterfaceInfo; 820s # 820s # typedef struct 820s # { 820s # const _ExtendedGDBusPropertyInfo *info; 820s # guint prop_id; 820s # GValue orig_value; /* the value before the change */ 820s # } ChangedProperty; 820s # 820s # static void 820s # _changed_property_free (ChangedProperty *data) 820s # { 820s # g_value_unset (&data->orig_value); 820s # g_free (data); 820s # } 820s # 820s # static gboolean 820s # _g_strv_equal0 (gchar **a, gchar **b) 820s # { 820s # gboolean ret = FALSE; 820s # guint n; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # if (g_strv_length (a) != g_strv_length (b)) 820s # goto out; 820s # for (n = 0; a[n] != NULL; n++) 820s # if (g_strcmp0 (a[n], b[n]) != 0) 820s # goto out; 820s # ret = TRUE; 820s # out: 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _g_variant_equal0 (GVariant *a, GVariant *b) 820s # { 820s # gboolean ret = FALSE; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # ret = g_variant_equal (a, b); 820s # out: 820s # return ret; 820s # } 820s # 820s # G_GNUC_UNUSED static gboolean 820s # _g_value_equal (const GValue *a, const GValue *b) 820s # { 820s # gboolean ret = FALSE; 820s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 820s # switch (G_VALUE_TYPE (a)) 820s # { 820s # case G_TYPE_BOOLEAN: 820s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 820s # break; 820s # case G_TYPE_UCHAR: 820s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 820s # break; 820s # case G_TYPE_INT: 820s # ret = (g_value_get_int (a) == g_value_get_int (b)); 820s # break; 820s # case G_TYPE_UINT: 820s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 820s # break; 820s # case G_TYPE_INT64: 820s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 820s # break; 820s # case G_TYPE_UINT64: 820s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 820s # break; 820s # case G_TYPE_DOUBLE: 820s # { 820s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 820s # gdouble da = g_value_get_double (a); 820s # gdouble db = g_value_get_double (b); 820s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 820s # } 820s # break; 820s # case G_TYPE_STRING: 820s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 820s # break; 820s # case G_TYPE_VARIANT: 820s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 820s # break; 820s # default: 820s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 820s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 820s # else 820s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 820s # break; 820s # } 820s # return ret; 820s # } 820s # 820s # /* ------------------------------------------------------------------------ 820s # * Code for interface org.project.SignalingIface 820s # * ------------------------------------------------------------------------ 820s # */ 820s # 820s # /** 820s # * SECTION:OrgProjectSignalingIface 820s # * @title: OrgProjectSignalingIface 820s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 820s # * 820s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 820s # */ 820s # 820s # enum 820s # { 820s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 820s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 820s # }; 820s # 820s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 820s # 820s # /* ---- Introspection data for org.project.SignalingIface ---- */ 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SimpleSignal", 820s # NULL, 820s # NULL 820s # }, 820s # "simple-signal" 820s # }; 820s # 820s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 820s # { 820s # { 820s # -1, 820s # (gchar *) "arg_i", 820s # (gchar *) "i", 820s # NULL 820s # }, 820s # FALSE 820s # }; 820s # 820s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SingleArgSignalI", 820s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 820s # NULL 820s # }, 820s # "single-arg-signal-i" 820s # }; 820s # 820s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 820s # { 820s # { 820s # -1, 820s # (gchar *) "org.project.SignalingIface", 820s # NULL, 820s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 820s # NULL, 820s # NULL 820s # }, 820s # "org-project-signaling-iface", 820s # }; 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_interface_info: 820s # * 820s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 820s # * 820s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 820s # */ 820s # GDBusInterfaceInfo * 820s # org_project_signaling_iface_interface_info (void) 820s # { 820s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_override_properties: 820s # * @klass: The class structure for a #GObject derived class. 820s # * @property_id_begin: The property id to assign to the first overridden property. 820s # * 820s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 820s # * The properties are overridden in the order they are defined. 820s # * 820s # * Returns: The last property id. 820s # */ 820s # guint 820s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 820s # { 820s # return property_id_begin - 1; 820s # } 820s # 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_simple_signal ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__VOID (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__INT (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # 820s # /** 820s # * OrgProjectSignalingIface: 820s # * 820s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceIface: 820s # * @parent_iface: The parent interface. 820s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 820s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 820s # * 820s # * Virtual table for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 820s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 820s # 820s # static void 820s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # /* GObject signals for received D-Bus signals: */ 820s # /** 820s # * OrgProjectSignalingIface::simple-signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 820s # g_signal_new ("simple-signal", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_simple_signal, 820s # G_TYPE_NONE, 820s # 0); 820s # 820s # /** 820s # * OrgProjectSignalingIface::single-arg-signal-i: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_i: Argument. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 820s # g_signal_new ("single-arg-signal-i", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 820s # G_TYPE_NONE, 820s # 1, G_TYPE_INT); 820s # 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_simple_signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * Emits the "SimpleSignal" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_single_arg_signal_i: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_i: Argument to pass with the signal. 820s # * 820s # * Emits the "SingleArgSignalI" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_single_arg_signal_i ( 820s # OrgProjectSignalingIface *object, 820s # gint arg_arg_i) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 820s # } 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxy: 820s # * 820s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxyClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceProxy. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceProxyPrivate 820s # { 820s # GData *qdata; 820s # }; 820s # 820s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_proxy_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 820s # g_datalist_clear (&proxy->priv->qdata); 820s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # const GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 820s # const gchar *sender_name G_GNUC_UNUSED, 820s # const gchar *signal_name, 820s # GVariant *parameters) 820s # { 820s # _ExtendedGDBusSignalInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # gsize n; 820s # guint signal_id; 820s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 820s # if (info == NULL) 820s # return; 820s # num_params = g_variant_n_children (parameters); 820s # paramv = g_new0 (GValue, num_params + 1); 820s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[0], proxy); 820s # g_variant_iter_init (&iter, parameters); 820s # n = 1; 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_signal_emitv (paramv, signal_id, 0, NULL); 820s # for (n = 0; n < num_params + 1; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 820s # GVariant *changed_properties, 820s # const gchar *const *invalidated_properties) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 820s # guint n; 820s # const gchar *key; 820s # GVariantIter *iter; 820s # _ExtendedGDBusPropertyInfo *info; 820s # g_variant_get (changed_properties, "a{sv}", &iter); 820s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 820s # g_datalist_remove_data (&proxy->priv->qdata, key); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # g_variant_iter_free (iter); 820s # for (n = 0; invalidated_properties[n] != NULL; n++) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 820s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 820s # #else 820s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 820s # #endif 820s # 820s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusProxyClass *proxy_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 820s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 820s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 820s # 820s # proxy_class = G_DBUS_PROXY_CLASS (klass); 820s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 820s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_sync: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_sync ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new_for_bus ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_sync: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_sync ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeleton: 820s # * 820s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeletonClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceSkeletonPrivate 820s # { 820s # GValue *properties; 820s # GList *changed_properties; 820s # GSource *changed_properties_idle_source; 820s # GMainContext *context; 820s # GMutex lock; 820s # }; 820s # 820s # static void 820s # _org_project_signaling_iface_skeleton_handle_method_call ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name, 820s # const gchar *method_name, 820s # GVariant *parameters, 820s # GDBusMethodInvocation *invocation, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # _ExtendedGDBusMethodInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # guint num_extra; 820s # gsize n; 820s # guint signal_id; 820s # GValue return_value = G_VALUE_INIT; 820s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 820s # g_assert (info != NULL); 820s # num_params = g_variant_n_children (parameters); 820s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 820s # n = 0; 820s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[n++], skeleton); 820s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 820s # g_value_set_object (¶mv[n++], invocation); 820s # if (info->pass_fdlist) 820s # { 820s # #ifdef G_OS_UNIX 820s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 820s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 820s # #else 820s # g_assert_not_reached (); 820s # #endif 820s # } 820s # g_variant_iter_init (&iter, parameters); 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_init (&return_value, G_TYPE_BOOLEAN); 820s # g_signal_emitv (paramv, signal_id, 0, &return_value); 820s # if (!g_value_get_boolean (&return_value)) 820s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 820s # g_value_unset (&return_value); 820s # for (n = 0; n < num_params + num_extra; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static GVariant * 820s # _org_project_signaling_iface_skeleton_handle_get_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # GVariant *ret; 820s # ret = NULL; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # g_value_init (&value, pspec->value_type); 820s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 820s # g_value_unset (&value); 820s # } 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _org_project_signaling_iface_skeleton_handle_set_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GVariant *variant, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # gboolean ret; 820s # ret = FALSE; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # if (info->use_gvariant) 820s # g_value_set_variant (&value, variant); 820s # else 820s # g_dbus_gvariant_to_gvalue (variant, &value); 820s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # g_value_unset (&value); 820s # ret = TRUE; 820s # } 820s # return ret; 820s # } 820s # 820s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 820s # { 820s # _org_project_signaling_iface_skeleton_handle_method_call, 820s # _org_project_signaling_iface_skeleton_handle_get_property, 820s # _org_project_signaling_iface_skeleton_handle_set_property, 820s # {NULL} 820s # }; 820s # 820s # static GDBusInterfaceInfo * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return org_project_signaling_iface_interface_info (); 820s # } 820s # 820s # static GDBusInterfaceVTable * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 820s # } 820s # 820s # static GVariant * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 820s # 820s # GVariantBuilder builder; 820s # guint n; 820s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 820s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 820s # goto out; 820s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 820s # { 820s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 820s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 820s # { 820s # GVariant *value; 820s # 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); 820s # if (value != NULL) 820s # { 820s # g_variant_take_ref (value); 820s # g_variant_builder_add (&builder, "{sv}", info->name, value); 820s # g_variant_unref (value); 820s # } 820s # } 820s # } 820s # out: 820s # return g_variant_builder_end (&builder); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 820s # OrgProjectSignalingIface *object, 820s # gint arg_arg_i) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 820s # arg_arg_i)); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_skeleton_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 820s # if (skeleton->priv->changed_properties_idle_source != NULL) 820s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 820s # g_main_context_unref (skeleton->priv->context); 820s # g_mutex_clear (&skeleton->priv->lock); 820s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 820s # #else 820s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 820s # #endif 820s # 820s # g_mutex_init (&skeleton->priv->lock); 820s # skeleton->priv->context = g_main_context_ref_thread_default (); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusInterfaceSkeletonClass *skeleton_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 820s # 820s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 820s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 820s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 820s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 820s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 820s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_skeleton_new: 820s # * 820s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_skeleton_new (void) 820s # { 820s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 820s # } 820s # /tmp/tmpn98ddxmx/tmp6cusri6y.xml: 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn98ddxmx/tmp6cusri6y.xml', '--output', '-', '--body'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: /* 820s # * This file is generated by gdbus-codegen, do not modify it. 820s # * 820s # * The license of this code is the same as for the D-Bus interface description 820s # * it was derived from. Note that it links to GLib, so must comply with the 820s # * LGPL linking clauses. 820s # */ 820s # 820s # #ifdef HAVE_CONFIG_H 820s # # include "config.h" 820s # #endif 820s # 820s # #include 820s # #ifdef G_OS_UNIX 820s # # include 820s # #endif 820s # 820s # #ifdef G_ENABLE_DEBUG 820s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 820s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 820s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 820s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 820s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 820s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 820s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 820s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 820s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 820s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 820s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 820s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 820s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 820s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 820s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 820s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 820s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 820s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 820s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 820s # #else /* !G_ENABLE_DEBUG */ 820s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 820s # * Do not access GValues directly in your code. Instead, use the 820s # * g_value_get_*() functions 820s # */ 820s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 820s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 820s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 820s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 820s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 820s # #endif /* !G_ENABLE_DEBUG */ 820s # 820s # typedef struct 820s # { 820s # GDBusArgInfo parent_struct; 820s # gboolean use_gvariant; 820s # } _ExtendedGDBusArgInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusMethodInfo parent_struct; 820s # const gchar *signal_name; 820s # gboolean pass_fdlist; 820s # } _ExtendedGDBusMethodInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusSignalInfo parent_struct; 820s # const gchar *signal_name; 820s # } _ExtendedGDBusSignalInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusPropertyInfo parent_struct; 820s # const gchar *hyphen_name; 820s # guint use_gvariant : 1; 820s # guint emits_changed_signal : 1; 820s # } _ExtendedGDBusPropertyInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusInterfaceInfo parent_struct; 820s # const gchar *hyphen_name; 820s # } _ExtendedGDBusInterfaceInfo; 820s # 820s # typedef struct 820s # { 820s # const _ExtendedGDBusPropertyInfo *info; 820s # guint prop_id; 820s # GValue orig_value; /* the value before the change */ 820s # } ChangedProperty; 820s # 820s # static void 820s # _changed_property_free (ChangedProperty *data) 820s # { 820s # g_value_unset (&data->orig_value); 820s # g_free (data); 820s # } 820s # 820s # static gboolean 820s # _g_strv_equal0 (gchar **a, gchar **b) 820s # { 820s # gboolean ret = FALSE; 820s # guint n; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # if (g_strv_length (a) != g_strv_length (b)) 820s # goto out; 820s # for (n = 0; a[n] != NULL; n++) 820s # if (g_strcmp0 (a[n], b[n]) != 0) 820s # goto out; 820s # ret = TRUE; 820s # out: 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _g_variant_equal0 (GVariant *a, GVariant *b) 820s # { 820s # gboolean ret = FALSE; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # ret = g_variant_equal (a, b); 820s # out: 820s # return ret; 820s # } 820s # 820s # G_GNUC_UNUSED static gboolean 820s # _g_value_equal (const GValue *a, const GValue *b) 820s # { 820s # gboolean ret = FALSE; 820s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 820s # switch (G_VALUE_TYPE (a)) 820s # { 820s # case G_TYPE_BOOLEAN: 820s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 820s # break; 820s # case G_TYPE_UCHAR: 820s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 820s # break; 820s # case G_TYPE_INT: 820s # ret = (g_value_get_int (a) == g_value_get_int (b)); 820s # break; 820s # case G_TYPE_UINT: 820s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 820s # break; 820s # case G_TYPE_INT64: 820s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 820s # break; 820s # case G_TYPE_UINT64: 820s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 820s # break; 820s # case G_TYPE_DOUBLE: 820s # { 820s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 820s # gdouble da = g_value_get_double (a); 820s # gdouble db = g_value_get_double (b); 820s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 820s # } 820s # break; 820s # case G_TYPE_STRING: 820s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 820s # break; 820s # case G_TYPE_VARIANT: 820s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 820s # break; 820s # default: 820s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 820s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 820s # else 820s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 820s # break; 820s # } 820s # return ret; 820s # } 820s # 820s # /* ------------------------------------------------------------------------ 820s # * Code for interface org.project.SignalingIface 820s # * ------------------------------------------------------------------------ 820s # */ 820s # 820s # /** 820s # * SECTION:OrgProjectSignalingIface 820s # * @title: OrgProjectSignalingIface 820s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 820s # * 820s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 820s # */ 820s # 820s # enum 820s # { 820s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 820s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 820s # }; 820s # 820s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 820s # 820s # /* ---- Introspection data for org.project.SignalingIface ---- */ 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SimpleSignal", 820s # NULL, 820s # NULL 820s # }, 820s # "simple-signal" 820s # }; 820s # 820s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 820s # { 820s # { 820s # -1, 820s # (gchar *) "arg_u", 820s # (gchar *) "u", 820s # NULL 820s # }, 820s # FALSE 820s # }; 820s # 820s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SingleArgSignalU", 820s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 820s # NULL 820s # }, 820s # "single-arg-signal-u" 820s # }; 820s # 820s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 820s # { 820s # { 820s # -1, 820s # (gchar *) "org.project.SignalingIface", 820s # NULL, 820s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 820s # NULL, 820s # NULL 820s # }, 820s # "org-project-signaling-iface", 820s # }; 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_interface_info: 820s # * 820s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 820s # * 820s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 820s # */ 820s # GDBusInterfaceInfo * 820s # org_project_signaling_iface_interface_info (void) 820s # { 820s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_override_properties: 820s # * @klass: The class structure for a #GObject derived class. 820s # * @property_id_begin: The property id to assign to the first overridden property. 820s # * 820s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 820s # * The properties are overridden in the order they are defined. 820s # * 820s # * Returns: The last property id. 820s # */ 820s # guint 820s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 820s # { 820s # return property_id_begin - 1; 820s # } 820s # 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_simple_signal ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__VOID (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__UINT (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # 820s # /** 820s # * OrgProjectSignalingIface: 820s # * 820s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceIface: 820s # * @parent_iface: The parent interface. 820s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 820s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 820s # * 820s # * Virtual table for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 820s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 820s # 820s # static void 820s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # /* GObject signals for received D-Bus signals: */ 820s # /** 820s # * OrgProjectSignalingIface::simple-signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 820s # g_signal_new ("simple-signal", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_simple_signal, 820s # G_TYPE_NONE, 820s # 0); 820s # 820s # /** 820s # * OrgProjectSignalingIface::single-arg-signal-u: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_u: Argument. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 820s # g_signal_new ("single-arg-signal-u", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 820s # G_TYPE_NONE, 820s # 1, G_TYPE_UINT); 820s # 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_simple_signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * Emits the "SimpleSignal" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_single_arg_signal_u: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_u: Argument to pass with the signal. 820s # * 820s # * Emits the "SingleArgSignalU" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_single_arg_signal_u ( 820s # OrgProjectSignalingIface *object, 820s # guint arg_arg_u) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 820s # } 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxy: 820s # * 820s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxyClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceProxy. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceProxyPrivate 820s # { 820s # GData *qdata; 820s # }; 820s # 820s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_proxy_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 820s # g_datalist_clear (&proxy->priv->qdata); 820s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # const GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 820s # const gchar *sender_name G_GNUC_UNUSED, 820s # const gchar *signal_name, 820s # GVariant *parameters) 820s # { 820s # _ExtendedGDBusSignalInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # gsize n; 820s # guint signal_id; 820s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 820s # if (info == NULL) 820s # return; 820s # num_params = g_variant_n_children (parameters); 820s # paramv = g_new0 (GValue, num_params + 1); 820s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[0], proxy); 820s # g_variant_iter_init (&iter, parameters); 820s # n = 1; 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_signal_emitv (paramv, signal_id, 0, NULL); 820s # for (n = 0; n < num_params + 1; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 820s # GVariant *changed_properties, 820s # const gchar *const *invalidated_properties) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 820s # guint n; 820s # const gchar *key; 820s # GVariantIter *iter; 820s # _ExtendedGDBusPropertyInfo *info; 820s # g_variant_get (changed_properties, "a{sv}", &iter); 820s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 820s # g_datalist_remove_data (&proxy->priv->qdata, key); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # g_variant_iter_free (iter); 820s # for (n = 0; invalidated_properties[n] != NULL; n++) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 820s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 820s # #else 820s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 820s # #endif 820s # 820s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusProxyClass *proxy_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 820s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 820s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 820s # 820s # proxy_class = G_DBUS_PROXY_CLASS (klass); 820s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 820s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_sync: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_sync ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new_for_bus ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_sync: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_sync ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeleton: 820s # * 820s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeletonClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceSkeletonPrivate 820s # { 820s # GValue *properties; 820s # GList *changed_properties; 820s # GSource *changed_properties_idle_source; 820s # GMainContext *context; 820s # GMutex lock; 820s # }; 820s # 820s # static void 820s # _org_project_signaling_iface_skeleton_handle_method_call ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name, 820s # const gchar *method_name, 820s # GVariant *parameters, 820s # GDBusMethodInvocation *invocation, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # _ExtendedGDBusMethodInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # guint num_extra; 820s # gsize n; 820s # guint signal_id; 820s # GValue return_value = G_VALUE_INIT; 820s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 820s # g_assert (info != NULL); 820s # num_params = g_variant_n_children (parameters); 820s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 820s # n = 0; 820s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[n++], skeleton); 820s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 820s # g_value_set_object (¶mv[n++], invocation); 820s # if (info->pass_fdlist) 820s # { 820s # #ifdef G_OS_UNIX 820s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 820s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 820s # #else 820s # g_assert_not_reached (); 820s # #endif 820s # } 820s # g_variant_iter_init (&iter, parameters); 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_init (&return_value, G_TYPE_BOOLEAN); 820s # g_signal_emitv (paramv, signal_id, 0, &return_value); 820s # if (!g_value_get_boolean (&return_value)) 820s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 820s # g_value_unset (&return_value); 820s # for (n = 0; n < num_params + num_extra; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static GVariant * 820s # _org_project_signaling_iface_skeleton_handle_get_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # GVariant *ret; 820s # ret = NULL; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # g_value_init (&value, pspec->value_type); 820s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 820s # g_value_unset (&value); 820s # } 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _org_project_signaling_iface_skeleton_handle_set_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GVariant *variant, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # gboolean ret; 820s # ret = FALSE; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # if (info->use_gvariant) 820s # g_value_set_variant (&value, variant); 820s # else 820s # g_dbus_gvariant_to_gvalue (variant, &value); 820s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # g_value_unset (&value); 820s # ret = TRUE; 820s # } 820s # return ret; 820s # } 820s # 820s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 820s # { 820s # _org_project_signaling_iface_skeleton_handle_method_call, 820s # _org_project_signaling_iface_skeleton_handle_get_property, 820s # _org_project_signaling_iface_skeleton_handle_set_property, 820s # {NULL} 820s # }; 820s # 820s # static GDBusInterfaceInfo * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return org_project_signaling_iface_interface_info (); 820s # } 820s # 820s # static GDBusInterfaceVTable * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 820s # } 820s # 820s # static GVariant * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 820s # 820s # GVariantBuilder builder; 820s # guint n; 820s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 820s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 820s # goto out; 820s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 820s # { 820s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 820s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 820s # { 820s # GVariant *value; 820s # 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); 820s # if (value != NULL) 820s # { 820s # g_variant_take_ref (value); 820s # g_variant_builder_add (&builder, "{sv}", info->name, value); 820s # g_variant_unref (value); 820s # } 820s # } 820s # } 820s # out: 820s # return g_variant_builder_end (&builder); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 820s # OrgProjectSignalingIface *object, 820s # guint arg_arg_u) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 820s # arg_arg_u)); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_skeleton_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 820s # if (skeleton->priv->changed_properties_idle_source != NULL) 820s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 820s # g_main_context_unref (skeleton->priv->context); 820s # g_mutex_clear (&skeleton->priv->lock); 820s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 820s # #else 820s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 820s # #endif 820s # 820s # g_mutex_init (&skeleton->priv->lock); 820s # skeleton->priv->context = g_main_context_ref_thread_default (); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusInterfaceSkeletonClass *skeleton_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 820s # 820s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 820s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 820s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 820s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 820s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 820s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_skeleton_new: 820s # * 820s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_skeleton_new (void) 820s # { 820s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 820s # } 820s # /tmp/tmpn98ddxmx/tmpr4hh3k66.xml: 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn98ddxmx/tmpr4hh3k66.xml', '--output', '-', '--body'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: /* 820s # * This file is generated by gdbus-codegen, do not modify it. 820s # * 820s # * The license of this code is the same as for the D-Bus interface description 820s # * it was derived from. Note that it links to GLib, so must comply with the 820s # * LGPL linking clauses. 820s # */ 820s # 820s # #ifdef HAVE_CONFIG_H 820s # # include "config.h" 820s # #endif 820s # 820s # #include 820s # #ifdef G_OS_UNIX 820s # # include 820s # #endif 820s # 820s # #ifdef G_ENABLE_DEBUG 820s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 820s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 820s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 820s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 820s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 820s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 820s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 820s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 820s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 820s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 820s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 820s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 820s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 820s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 820s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 820s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 820s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 820s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 820s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 820s # #else /* !G_ENABLE_DEBUG */ 820s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 820s # * Do not access GValues directly in your code. Instead, use the 820s # * g_value_get_*() functions 820s # */ 820s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 820s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 820s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 820s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 820s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 820s # #endif /* !G_ENABLE_DEBUG */ 820s # 820s # typedef struct 820s # { 820s # GDBusArgInfo parent_struct; 820s # gboolean use_gvariant; 820s # } _ExtendedGDBusArgInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusMethodInfo parent_struct; 820s # const gchar *signal_name; 820s # gboolean pass_fdlist; 820s # } _ExtendedGDBusMethodInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusSignalInfo parent_struct; 820s # const gchar *signal_name; 820s # } _ExtendedGDBusSignalInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusPropertyInfo parent_struct; 820s # const gchar *hyphen_name; 820s # guint use_gvariant : 1; 820s # guint emits_changed_signal : 1; 820s # } _ExtendedGDBusPropertyInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusInterfaceInfo parent_struct; 820s # const gchar *hyphen_name; 820s # } _ExtendedGDBusInterfaceInfo; 820s # 820s # typedef struct 820s # { 820s # const _ExtendedGDBusPropertyInfo *info; 820s # guint prop_id; 820s # GValue orig_value; /* the value before the change */ 820s # } ChangedProperty; 820s # 820s # static void 820s # _changed_property_free (ChangedProperty *data) 820s # { 820s # g_value_unset (&data->orig_value); 820s # g_free (data); 820s # } 820s # 820s # static gboolean 820s # _g_strv_equal0 (gchar **a, gchar **b) 820s # { 820s # gboolean ret = FALSE; 820s # guint n; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # if (g_strv_length (a) != g_strv_length (b)) 820s # goto out; 820s # for (n = 0; a[n] != NULL; n++) 820s # if (g_strcmp0 (a[n], b[n]) != 0) 820s # goto out; 820s # ret = TRUE; 820s # out: 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _g_variant_equal0 (GVariant *a, GVariant *b) 820s # { 820s # gboolean ret = FALSE; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # ret = g_variant_equal (a, b); 820s # out: 820s # return ret; 820s # } 820s # 820s # G_GNUC_UNUSED static gboolean 820s # _g_value_equal (const GValue *a, const GValue *b) 820s # { 820s # gboolean ret = FALSE; 820s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 820s # switch (G_VALUE_TYPE (a)) 820s # { 820s # case G_TYPE_BOOLEAN: 820s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 820s # break; 820s # case G_TYPE_UCHAR: 820s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 820s # break; 820s # case G_TYPE_INT: 820s # ret = (g_value_get_int (a) == g_value_get_int (b)); 820s # break; 820s # case G_TYPE_UINT: 820s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 820s # break; 820s # case G_TYPE_INT64: 820s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 820s # break; 820s # case G_TYPE_UINT64: 820s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 820s # break; 820s # case G_TYPE_DOUBLE: 820s # { 820s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 820s # gdouble da = g_value_get_double (a); 820s # gdouble db = g_value_get_double (b); 820s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 820s # } 820s # break; 820s # case G_TYPE_STRING: 820s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 820s # break; 820s # case G_TYPE_VARIANT: 820s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 820s # break; 820s # default: 820s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 820s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 820s # else 820s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 820s # break; 820s # } 820s # return ret; 820s # } 820s # 820s # static void 820s # _g_dbus_codegen_marshal_VOID__INT64 ( 820s # GClosure *closure, 820s # GValue *return_value G_GNUC_UNUSED, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint G_GNUC_UNUSED, 820s # void *marshal_data) 820s # { 820s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 820s # (void *data1, 820s # gint64 arg_arg_x, 820s # void *data2); 820s # _GDbusCodegenMarshalVoid_Int64Func callback; 820s # GCClosure *cc = (GCClosure*) closure; 820s # void *data1, *data2; 820s # 820s # g_return_if_fail (n_param_values == 2); 820s # 820s # if (G_CCLOSURE_SWAP_DATA (closure)) 820s # { 820s # data1 = closure->data; 820s # data2 = g_value_peek_pointer (param_values + 0); 820s # } 820s # else 820s # { 820s # data1 = g_value_peek_pointer (param_values + 0); 820s # data2 = closure->data; 820s # } 820s # 820s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 820s # (marshal_data ? marshal_data : cc->callback); 820s # 820s # callback (data1, 820s # g_marshal_value_peek_int64 (param_values + 1), 820s # data2); 820s # } 820s # 820s # /* ------------------------------------------------------------------------ 820s # * Code for interface org.project.SignalingIface 820s # * ------------------------------------------------------------------------ 820s # */ 820s # 820s # /** 820s # * SECTION:OrgProjectSignalingIface 820s # * @title: OrgProjectSignalingIface 820s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 820s # * 820s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 820s # */ 820s # 820s # enum 820s # { 820s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 820s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 820s # }; 820s # 820s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 820s # 820s # /* ---- Introspection data for org.project.SignalingIface ---- */ 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SimpleSignal", 820s # NULL, 820s # NULL 820s # }, 820s # "simple-signal" 820s # }; 820s # 820s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 820s # { 820s # { 820s # -1, 820s # (gchar *) "arg_x", 820s # (gchar *) "x", 820s # NULL 820s # }, 820s # FALSE 820s # }; 820s # 820s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SingleArgSignalX", 820s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 820s # NULL 820s # }, 820s # "single-arg-signal-x" 820s # }; 820s # 820s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 820s # { 820s # { 820s # -1, 820s # (gchar *) "org.project.SignalingIface", 820s # NULL, 820s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 820s # NULL, 820s # NULL 820s # }, 820s # "org-project-signaling-iface", 820s # }; 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_interface_info: 820s # * 820s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 820s # * 820s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 820s # */ 820s # GDBusInterfaceInfo * 820s # org_project_signaling_iface_interface_info (void) 820s # { 820s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_override_properties: 820s # * @klass: The class structure for a #GObject derived class. 820s # * @property_id_begin: The property id to assign to the first overridden property. 820s # * 820s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 820s # * The properties are overridden in the order they are defined. 820s # * 820s # * Returns: The last property id. 820s # */ 820s # guint 820s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 820s # { 820s # return property_id_begin - 1; 820s # } 820s # 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_simple_signal ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__VOID (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # 820s # /** 820s # * OrgProjectSignalingIface: 820s # * 820s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceIface: 820s # * @parent_iface: The parent interface. 820s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 820s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 820s # * 820s # * Virtual table for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 820s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 820s # 820s # static void 820s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # /* GObject signals for received D-Bus signals: */ 820s # /** 820s # * OrgProjectSignalingIface::simple-signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 820s # g_signal_new ("simple-signal", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_simple_signal, 820s # G_TYPE_NONE, 820s # 0); 820s # 820s # /** 820s # * OrgProjectSignalingIface::single-arg-signal-x: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_x: Argument. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 820s # g_signal_new ("single-arg-signal-x", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 820s # G_TYPE_NONE, 820s # 1, G_TYPE_INT64); 820s # 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_simple_signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * Emits the "SimpleSignal" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_single_arg_signal_x: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_x: Argument to pass with the signal. 820s # * 820s # * Emits the "SingleArgSignalX" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_single_arg_signal_x ( 820s # OrgProjectSignalingIface *object, 820s # gint64 arg_arg_x) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 820s # } 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxy: 820s # * 820s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxyClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceProxy. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceProxyPrivate 820s # { 820s # GData *qdata; 820s # }; 820s # 820s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_proxy_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 820s # g_datalist_clear (&proxy->priv->qdata); 820s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # const GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 820s # const gchar *sender_name G_GNUC_UNUSED, 820s # const gchar *signal_name, 820s # GVariant *parameters) 820s # { 820s # _ExtendedGDBusSignalInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # gsize n; 820s # guint signal_id; 820s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 820s # if (info == NULL) 820s # return; 820s # num_params = g_variant_n_children (parameters); 820s # paramv = g_new0 (GValue, num_params + 1); 820s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[0], proxy); 820s # g_variant_iter_init (&iter, parameters); 820s # n = 1; 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_signal_emitv (paramv, signal_id, 0, NULL); 820s # for (n = 0; n < num_params + 1; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 820s # GVariant *changed_properties, 820s # const gchar *const *invalidated_properties) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 820s # guint n; 820s # const gchar *key; 820s # GVariantIter *iter; 820s # _ExtendedGDBusPropertyInfo *info; 820s # g_variant_get (changed_properties, "a{sv}", &iter); 820s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 820s # g_datalist_remove_data (&proxy->priv->qdata, key); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # g_variant_iter_free (iter); 820s # for (n = 0; invalidated_properties[n] != NULL; n++) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 820s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 820s # #else 820s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 820s # #endif 820s # 820s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusProxyClass *proxy_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 820s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 820s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 820s # 820s # proxy_class = G_DBUS_PROXY_CLASS (klass); 820s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 820s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_sync: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_sync ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new_for_bus ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_sync: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_sync ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeleton: 820s # * 820s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeletonClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceSkeletonPrivate 820s # { 820s # GValue *properties; 820s # GList *changed_properties; 820s # GSource *changed_properties_idle_source; 820s # GMainContext *context; 820s # GMutex lock; 820s # }; 820s # 820s # static void 820s # _org_project_signaling_iface_skeleton_handle_method_call ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name, 820s # const gchar *method_name, 820s # GVariant *parameters, 820s # GDBusMethodInvocation *invocation, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # _ExtendedGDBusMethodInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # guint num_extra; 820s # gsize n; 820s # guint signal_id; 820s # GValue return_value = G_VALUE_INIT; 820s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 820s # g_assert (info != NULL); 820s # num_params = g_variant_n_children (parameters); 820s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 820s # n = 0; 820s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[n++], skeleton); 820s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 820s # g_value_set_object (¶mv[n++], invocation); 820s # if (info->pass_fdlist) 820s # { 820s # #ifdef G_OS_UNIX 820s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 820s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 820s # #else 820s # g_assert_not_reached (); 820s # #endif 820s # } 820s # g_variant_iter_init (&iter, parameters); 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_init (&return_value, G_TYPE_BOOLEAN); 820s # g_signal_emitv (paramv, signal_id, 0, &return_value); 820s # if (!g_value_get_boolean (&return_value)) 820s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 820s # g_value_unset (&return_value); 820s # for (n = 0; n < num_params + num_extra; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static GVariant * 820s # _org_project_signaling_iface_skeleton_handle_get_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # GVariant *ret; 820s # ret = NULL; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # g_value_init (&value, pspec->value_type); 820s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 820s # g_value_unset (&value); 820s # } 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _org_project_signaling_iface_skeleton_handle_set_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GVariant *variant, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # gboolean ret; 820s # ret = FALSE; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # if (info->use_gvariant) 820s # g_value_set_variant (&value, variant); 820s # else 820s # g_dbus_gvariant_to_gvalue (variant, &value); 820s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # g_value_unset (&value); 820s # ret = TRUE; 820s # } 820s # return ret; 820s # } 820s # 820s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 820s # { 820s # _org_project_signaling_iface_skeleton_handle_method_call, 820s # _org_project_signaling_iface_skeleton_handle_get_property, 820s # _org_project_signaling_iface_skeleton_handle_set_property, 820s # {NULL} 820s # }; 820s # 820s # static GDBusInterfaceInfo * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return org_project_signaling_iface_interface_info (); 820s # } 820s # 820s # static GDBusInterfaceVTable * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 820s # } 820s # 820s # static GVariant * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 820s # 820s # GVariantBuilder builder; 820s # guint n; 820s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 820s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 820s # goto out; 820s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 820s # { 820s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 820s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 820s # { 820s # GVariant *value; 820s # 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); 820s # if (value != NULL) 820s # { 820s # g_variant_take_ref (value); 820s # g_variant_builder_add (&builder, "{sv}", info->name, value); 820s # g_variant_unref (value); 820s # } 820s # } 820s # } 820s # out: 820s # return g_variant_builder_end (&builder); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 820s # OrgProjectSignalingIface *object, 820s # gint64 arg_arg_x) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 820s # arg_arg_x)); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_skeleton_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 820s # if (skeleton->priv->changed_properties_idle_source != NULL) 820s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 820s # g_main_context_unref (skeleton->priv->context); 820s # g_mutex_clear (&skeleton->priv->lock); 820s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 820s # #else 820s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 820s # #endif 820s # 820s # g_mutex_init (&skeleton->priv->lock); 820s # skeleton->priv->context = g_main_context_ref_thread_default (); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusInterfaceSkeletonClass *skeleton_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 820s # 820s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 820s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 820s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 820s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 820s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 820s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_skeleton_new: 820s # * 820s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_skeleton_new (void) 820s # { 820s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 820s # } 820s # /tmp/tmpn98ddxmx/tmpjy2gv8kv.xml: 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn98ddxmx/tmpjy2gv8kv.xml', '--output', '-', '--body'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: /* 820s # * This file is generated by gdbus-codegen, do not modify it. 820s # * 820s # * The license of this code is the same as for the D-Bus interface description 820s # * it was derived from. Note that it links to GLib, so must comply with the 820s # * LGPL linking clauses. 820s # */ 820s # 820s # #ifdef HAVE_CONFIG_H 820s # # include "config.h" 820s # #endif 820s # 820s # #include 820s # #ifdef G_OS_UNIX 820s # # include 820s # #endif 820s # 820s # #ifdef G_ENABLE_DEBUG 820s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 820s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 820s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 820s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 820s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 820s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 820s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 820s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 820s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 820s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 820s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 820s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 820s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 820s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 820s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 820s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 820s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 820s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 820s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 820s # #else /* !G_ENABLE_DEBUG */ 820s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 820s # * Do not access GValues directly in your code. Instead, use the 820s # * g_value_get_*() functions 820s # */ 820s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 820s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 820s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 820s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 820s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 820s # #endif /* !G_ENABLE_DEBUG */ 820s # 820s # typedef struct 820s # { 820s # GDBusArgInfo parent_struct; 820s # gboolean use_gvariant; 820s # } _ExtendedGDBusArgInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusMethodInfo parent_struct; 820s # const gchar *signal_name; 820s # gboolean pass_fdlist; 820s # } _ExtendedGDBusMethodInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusSignalInfo parent_struct; 820s # const gchar *signal_name; 820s # } _ExtendedGDBusSignalInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusPropertyInfo parent_struct; 820s # const gchar *hyphen_name; 820s # guint use_gvariant : 1; 820s # guint emits_changed_signal : 1; 820s # } _ExtendedGDBusPropertyInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusInterfaceInfo parent_struct; 820s # const gchar *hyphen_name; 820s # } _ExtendedGDBusInterfaceInfo; 820s # 820s # typedef struct 820s # { 820s # const _ExtendedGDBusPropertyInfo *info; 820s # guint prop_id; 820s # GValue orig_value; /* the value before the change */ 820s # } ChangedProperty; 820s # 820s # static void 820s # _changed_property_free (ChangedProperty *data) 820s # { 820s # g_value_unset (&data->orig_value); 820s # g_free (data); 820s # } 820s # 820s # static gboolean 820s # _g_strv_equal0 (gchar **a, gchar **b) 820s # { 820s # gboolean ret = FALSE; 820s # guint n; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # if (g_strv_length (a) != g_strv_length (b)) 820s # goto out; 820s # for (n = 0; a[n] != NULL; n++) 820s # if (g_strcmp0 (a[n], b[n]) != 0) 820s # goto out; 820s # ret = TRUE; 820s # out: 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _g_variant_equal0 (GVariant *a, GVariant *b) 820s # { 820s # gboolean ret = FALSE; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # ret = g_variant_equal (a, b); 820s # out: 820s # return ret; 820s # } 820s # 820s # G_GNUC_UNUSED static gboolean 820s # _g_value_equal (const GValue *a, const GValue *b) 820s # { 820s # gboolean ret = FALSE; 820s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 820s # switch (G_VALUE_TYPE (a)) 820s # { 820s # case G_TYPE_BOOLEAN: 820s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 820s # break; 820s # case G_TYPE_UCHAR: 820s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 820s # break; 820s # case G_TYPE_INT: 820s # ret = (g_value_get_int (a) == g_value_get_int (b)); 820s # break; 820s # case G_TYPE_UINT: 820s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 820s # break; 820s # case G_TYPE_INT64: 820s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 820s # break; 820s # case G_TYPE_UINT64: 820s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 820s # break; 820s # case G_TYPE_DOUBLE: 820s # { 820s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 820s # gdouble da = g_value_get_double (a); 820s # gdouble db = g_value_get_double (b); 820s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 820s # } 820s # break; 820s # case G_TYPE_STRING: 820s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 820s # break; 820s # case G_TYPE_VARIANT: 820s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 820s # break; 820s # default: 820s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 820s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 820s # else 820s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 820s # break; 820s # } 820s # return ret; 820s # } 820s # 820s # static void 820s # _g_dbus_codegen_marshal_VOID__UINT64 ( 820s # GClosure *closure, 820s # GValue *return_value G_GNUC_UNUSED, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint G_GNUC_UNUSED, 820s # void *marshal_data) 820s # { 820s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 820s # (void *data1, 820s # guint64 arg_arg_t, 820s # void *data2); 820s # _GDbusCodegenMarshalVoid_Uint64Func callback; 820s # GCClosure *cc = (GCClosure*) closure; 820s # void *data1, *data2; 820s # 820s # g_return_if_fail (n_param_values == 2); 820s # 820s # if (G_CCLOSURE_SWAP_DATA (closure)) 820s # { 820s # data1 = closure->data; 820s # data2 = g_value_peek_pointer (param_values + 0); 820s # } 820s # else 820s # { 820s # data1 = g_value_peek_pointer (param_values + 0); 820s # data2 = closure->data; 820s # } 820s # 820s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 820s # (marshal_data ? marshal_data : cc->callback); 820s # 820s # callback (data1, 820s # g_marshal_value_peek_uint64 (param_values + 1), 820s # data2); 820s # } 820s # 820s # /* ------------------------------------------------------------------------ 820s # * Code for interface org.project.SignalingIface 820s # * ------------------------------------------------------------------------ 820s # */ 820s # 820s # /** 820s # * SECTION:OrgProjectSignalingIface 820s # * @title: OrgProjectSignalingIface 820s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 820s # * 820s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 820s # */ 820s # 820s # enum 820s # { 820s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 820s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 820s # }; 820s # 820s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 820s # 820s # /* ---- Introspection data for org.project.SignalingIface ---- */ 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SimpleSignal", 820s # NULL, 820s # NULL 820s # }, 820s # "simple-signal" 820s # }; 820s # 820s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 820s # { 820s # { 820s # -1, 820s # (gchar *) "arg_t", 820s # (gchar *) "t", 820s # NULL 820s # }, 820s # FALSE 820s # }; 820s # 820s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SingleArgSignalT", 820s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 820s # NULL 820s # }, 820s # "single-arg-signal-t" 820s # }; 820s # 820s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 820s # { 820s # { 820s # -1, 820s # (gchar *) "org.project.SignalingIface", 820s # NULL, 820s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 820s # NULL, 820s # NULL 820s # }, 820s # "org-project-signaling-iface", 820s # }; 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_interface_info: 820s # * 820s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 820s # * 820s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 820s # */ 820s # GDBusInterfaceInfo * 820s # org_project_signaling_iface_interface_info (void) 820s # { 820s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_override_properties: 820s # * @klass: The class structure for a #GObject derived class. 820s # * @property_id_begin: The property id to assign to the first overridden property. 820s # * 820s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 820s # * The properties are overridden in the order they are defined. 820s # * 820s # * Returns: The last property id. 820s # */ 820s # guint 820s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 820s # { 820s # return property_id_begin - 1; 820s # } 820s # 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_simple_signal ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__VOID (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # 820s # /** 820s # * OrgProjectSignalingIface: 820s # * 820s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceIface: 820s # * @parent_iface: The parent interface. 820s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 820s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 820s # * 820s # * Virtual table for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 820s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 820s # 820s # static void 820s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # /* GObject signals for received D-Bus signals: */ 820s # /** 820s # * OrgProjectSignalingIface::simple-signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 820s # g_signal_new ("simple-signal", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_simple_signal, 820s # G_TYPE_NONE, 820s # 0); 820s # 820s # /** 820s # * OrgProjectSignalingIface::single-arg-signal-t: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_t: Argument. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 820s # g_signal_new ("single-arg-signal-t", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 820s # G_TYPE_NONE, 820s # 1, G_TYPE_UINT64); 820s # 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_simple_signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * Emits the "SimpleSignal" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_single_arg_signal_t: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_t: Argument to pass with the signal. 820s # * 820s # * Emits the "SingleArgSignalT" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_single_arg_signal_t ( 820s # OrgProjectSignalingIface *object, 820s # guint64 arg_arg_t) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 820s # } 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxy: 820s # * 820s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxyClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceProxy. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceProxyPrivate 820s # { 820s # GData *qdata; 820s # }; 820s # 820s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_proxy_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 820s # g_datalist_clear (&proxy->priv->qdata); 820s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # const GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 820s # const gchar *sender_name G_GNUC_UNUSED, 820s # const gchar *signal_name, 820s # GVariant *parameters) 820s # { 820s # _ExtendedGDBusSignalInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # gsize n; 820s # guint signal_id; 820s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 820s # if (info == NULL) 820s # return; 820s # num_params = g_variant_n_children (parameters); 820s # paramv = g_new0 (GValue, num_params + 1); 820s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[0], proxy); 820s # g_variant_iter_init (&iter, parameters); 820s # n = 1; 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_signal_emitv (paramv, signal_id, 0, NULL); 820s # for (n = 0; n < num_params + 1; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 820s # GVariant *changed_properties, 820s # const gchar *const *invalidated_properties) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 820s # guint n; 820s # const gchar *key; 820s # GVariantIter *iter; 820s # _ExtendedGDBusPropertyInfo *info; 820s # g_variant_get (changed_properties, "a{sv}", &iter); 820s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 820s # g_datalist_remove_data (&proxy->priv->qdata, key); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # g_variant_iter_free (iter); 820s # for (n = 0; invalidated_properties[n] != NULL; n++) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 820s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 820s # #else 820s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 820s # #endif 820s # 820s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusProxyClass *proxy_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 820s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 820s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 820s # 820s # proxy_class = G_DBUS_PROXY_CLASS (klass); 820s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 820s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_sync: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_sync ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new_for_bus ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_sync: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_sync ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeleton: 820s # * 820s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeletonClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceSkeletonPrivate 820s # { 820s # GValue *properties; 820s # GList *changed_properties; 820s # GSource *changed_properties_idle_source; 820s # GMainContext *context; 820s # GMutex lock; 820s # }; 820s # 820s # static void 820s # _org_project_signaling_iface_skeleton_handle_method_call ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name, 820s # const gchar *method_name, 820s # GVariant *parameters, 820s # GDBusMethodInvocation *invocation, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # _ExtendedGDBusMethodInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # guint num_extra; 820s # gsize n; 820s # guint signal_id; 820s # GValue return_value = G_VALUE_INIT; 820s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 820s # g_assert (info != NULL); 820s # num_params = g_variant_n_children (parameters); 820s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 820s # n = 0; 820s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[n++], skeleton); 820s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 820s # g_value_set_object (¶mv[n++], invocation); 820s # if (info->pass_fdlist) 820s # { 820s # #ifdef G_OS_UNIX 820s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 820s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 820s # #else 820s # g_assert_not_reached (); 820s # #endif 820s # } 820s # g_variant_iter_init (&iter, parameters); 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_init (&return_value, G_TYPE_BOOLEAN); 820s # g_signal_emitv (paramv, signal_id, 0, &return_value); 820s # if (!g_value_get_boolean (&return_value)) 820s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 820s # g_value_unset (&return_value); 820s # for (n = 0; n < num_params + num_extra; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static GVariant * 820s # _org_project_signaling_iface_skeleton_handle_get_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # GVariant *ret; 820s # ret = NULL; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # g_value_init (&value, pspec->value_type); 820s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 820s # g_value_unset (&value); 820s # } 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _org_project_signaling_iface_skeleton_handle_set_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GVariant *variant, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # gboolean ret; 820s # ret = FALSE; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # if (info->use_gvariant) 820s # g_value_set_variant (&value, variant); 820s # else 820s # g_dbus_gvariant_to_gvalue (variant, &value); 820s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # g_value_unset (&value); 820s # ret = TRUE; 820s # } 820s # return ret; 820s # } 820s # 820s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 820s # { 820s # _org_project_signaling_iface_skeleton_handle_method_call, 820s # _org_project_signaling_iface_skeleton_handle_get_property, 820s # _org_project_signaling_iface_skeleton_handle_set_property, 820s # {NULL} 820s # }; 820s # 820s # static GDBusInterfaceInfo * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return org_project_signaling_iface_interface_info (); 820s # } 820s # 820s # static GDBusInterfaceVTable * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 820s # } 820s # 820s # static GVariant * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 820s # 820s # GVariantBuilder builder; 820s # guint n; 820s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 820s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 820s # goto out; 820s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 820s # { 820s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 820s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 820s # { 820s # GVariant *value; 820s # 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); 820s # if (value != NULL) 820s # { 820s # g_variant_take_ref (value); 820s # g_variant_builder_add (&builder, "{sv}", info->name, value); 820s # g_variant_unref (value); 820s # } 820s # } 820s # } 820s # out: 820s # return g_variant_builder_end (&builder); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 820s # OrgProjectSignalingIface *object, 820s # guint64 arg_arg_t) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 820s # arg_arg_t)); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_skeleton_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 820s # if (skeleton->priv->changed_properties_idle_source != NULL) 820s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 820s # g_main_context_unref (skeleton->priv->context); 820s # g_mutex_clear (&skeleton->priv->lock); 820s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 820s # #else 820s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 820s # #endif 820s # 820s # g_mutex_init (&skeleton->priv->lock); 820s # skeleton->priv->context = g_main_context_ref_thread_default (); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusInterfaceSkeletonClass *skeleton_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 820s # 820s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 820s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 820s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 820s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 820s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 820s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_skeleton_new: 820s # * 820s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_skeleton_new (void) 820s # { 820s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 820s # } 820s # /tmp/tmpn98ddxmx/tmphiuxwlwa.xml: 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn98ddxmx/tmphiuxwlwa.xml', '--output', '-', '--body'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: /* 820s # * This file is generated by gdbus-codegen, do not modify it. 820s # * 820s # * The license of this code is the same as for the D-Bus interface description 820s # * it was derived from. Note that it links to GLib, so must comply with the 820s # * LGPL linking clauses. 820s # */ 820s # 820s # #ifdef HAVE_CONFIG_H 820s # # include "config.h" 820s # #endif 820s # 820s # #include 820s # #ifdef G_OS_UNIX 820s # # include 820s # #endif 820s # 820s # #ifdef G_ENABLE_DEBUG 820s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 820s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 820s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 820s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 820s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 820s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 820s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 820s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 820s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 820s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 820s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 820s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 820s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 820s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 820s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 820s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 820s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 820s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 820s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 820s # #else /* !G_ENABLE_DEBUG */ 820s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 820s # * Do not access GValues directly in your code. Instead, use the 820s # * g_value_get_*() functions 820s # */ 820s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 820s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 820s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 820s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 820s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 820s # #endif /* !G_ENABLE_DEBUG */ 820s # 820s # typedef struct 820s # { 820s # GDBusArgInfo parent_struct; 820s # gboolean use_gvariant; 820s # } _ExtendedGDBusArgInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusMethodInfo parent_struct; 820s # const gchar *signal_name; 820s # gboolean pass_fdlist; 820s # } _ExtendedGDBusMethodInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusSignalInfo parent_struct; 820s # const gchar *signal_name; 820s # } _ExtendedGDBusSignalInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusPropertyInfo parent_struct; 820s # const gchar *hyphen_name; 820s # guint use_gvariant : 1; 820s # guint emits_changed_signal : 1; 820s # } _ExtendedGDBusPropertyInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusInterfaceInfo parent_struct; 820s # const gchar *hyphen_name; 820s # } _ExtendedGDBusInterfaceInfo; 820s # 820s # typedef struct 820s # { 820s # const _ExtendedGDBusPropertyInfo *info; 820s # guint prop_id; 820s # GValue orig_value; /* the value before the change */ 820s # } ChangedProperty; 820s # 820s # static void 820s # _changed_property_free (ChangedProperty *data) 820s # { 820s # g_value_unset (&data->orig_value); 820s # g_free (data); 820s # } 820s # 820s # static gboolean 820s # _g_strv_equal0 (gchar **a, gchar **b) 820s # { 820s # gboolean ret = FALSE; 820s # guint n; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # if (g_strv_length (a) != g_strv_length (b)) 820s # goto out; 820s # for (n = 0; a[n] != NULL; n++) 820s # if (g_strcmp0 (a[n], b[n]) != 0) 820s # goto out; 820s # ret = TRUE; 820s # out: 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _g_variant_equal0 (GVariant *a, GVariant *b) 820s # { 820s # gboolean ret = FALSE; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # ret = g_variant_equal (a, b); 820s # out: 820s # return ret; 820s # } 820s # 820s # G_GNUC_UNUSED static gboolean 820s # _g_value_equal (const GValue *a, const GValue *b) 820s # { 820s # gboolean ret = FALSE; 820s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 820s # switch (G_VALUE_TYPE (a)) 820s # { 820s # case G_TYPE_BOOLEAN: 820s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 820s # break; 820s # case G_TYPE_UCHAR: 820s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 820s # break; 820s # case G_TYPE_INT: 820s # ret = (g_value_get_int (a) == g_value_get_int (b)); 820s # break; 820s # case G_TYPE_UINT: 820s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 820s # break; 820s # case G_TYPE_INT64: 820s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 820s # break; 820s # case G_TYPE_UINT64: 820s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 820s # break; 820s # case G_TYPE_DOUBLE: 820s # { 820s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 820s # gdouble da = g_value_get_double (a); 820s # gdouble db = g_value_get_double (b); 820s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 820s # } 820s # break; 820s # case G_TYPE_STRING: 820s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 820s # break; 820s # case G_TYPE_VARIANT: 820s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 820s # break; 820s # default: 820s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 820s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 820s # else 820s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 820s # break; 820s # } 820s # return ret; 820s # } 820s # 820s # /* ------------------------------------------------------------------------ 820s # * Code for interface org.project.SignalingIface 820s # * ------------------------------------------------------------------------ 820s # */ 820s # 820s # /** 820s # * SECTION:OrgProjectSignalingIface 820s # * @title: OrgProjectSignalingIface 820s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 820s # * 820s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 820s # */ 820s # 820s # enum 820s # { 820s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 820s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 820s # }; 820s # 820s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 820s # 820s # /* ---- Introspection data for org.project.SignalingIface ---- */ 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SimpleSignal", 820s # NULL, 820s # NULL 820s # }, 820s # "simple-signal" 820s # }; 820s # 820s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 820s # { 820s # { 820s # -1, 820s # (gchar *) "arg_d", 820s # (gchar *) "d", 820s # NULL 820s # }, 820s # FALSE 820s # }; 820s # 820s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SingleArgSignalD", 820s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 820s # NULL 820s # }, 820s # "single-arg-signal-d" 820s # }; 820s # 820s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 820s # { 820s # { 820s # -1, 820s # (gchar *) "org.project.SignalingIface", 820s # NULL, 820s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 820s # NULL, 820s # NULL 820s # }, 820s # "org-project-signaling-iface", 820s # }; 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_interface_info: 820s # * 820s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 820s # * 820s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 820s # */ 820s # GDBusInterfaceInfo * 820s # org_project_signaling_iface_interface_info (void) 820s # { 820s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_override_properties: 820s # * @klass: The class structure for a #GObject derived class. 820s # * @property_id_begin: The property id to assign to the first overridden property. 820s # * 820s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 820s # * The properties are overridden in the order they are defined. 820s # * 820s # * Returns: The last property id. 820s # */ 820s # guint 820s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 820s # { 820s # return property_id_begin - 1; 820s # } 820s # 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_simple_signal ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__VOID (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__DOUBLE (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # 820s # /** 820s # * OrgProjectSignalingIface: 820s # * 820s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceIface: 820s # * @parent_iface: The parent interface. 820s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 820s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 820s # * 820s # * Virtual table for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 820s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 820s # 820s # static void 820s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # /* GObject signals for received D-Bus signals: */ 820s # /** 820s # * OrgProjectSignalingIface::simple-signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 820s # g_signal_new ("simple-signal", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_simple_signal, 820s # G_TYPE_NONE, 820s # 0); 820s # 820s # /** 820s # * OrgProjectSignalingIface::single-arg-signal-d: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_d: Argument. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 820s # g_signal_new ("single-arg-signal-d", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 820s # G_TYPE_NONE, 820s # 1, G_TYPE_DOUBLE); 820s # 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_simple_signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * Emits the "SimpleSignal" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_single_arg_signal_d: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_d: Argument to pass with the signal. 820s # * 820s # * Emits the "SingleArgSignalD" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_single_arg_signal_d ( 820s # OrgProjectSignalingIface *object, 820s # gdouble arg_arg_d) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 820s # } 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxy: 820s # * 820s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxyClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceProxy. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceProxyPrivate 820s # { 820s # GData *qdata; 820s # }; 820s # 820s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_proxy_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 820s # g_datalist_clear (&proxy->priv->qdata); 820s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # const GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 820s # const gchar *sender_name G_GNUC_UNUSED, 820s # const gchar *signal_name, 820s # GVariant *parameters) 820s # { 820s # _ExtendedGDBusSignalInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # gsize n; 820s # guint signal_id; 820s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 820s # if (info == NULL) 820s # return; 820s # num_params = g_variant_n_children (parameters); 820s # paramv = g_new0 (GValue, num_params + 1); 820s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[0], proxy); 820s # g_variant_iter_init (&iter, parameters); 820s # n = 1; 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_signal_emitv (paramv, signal_id, 0, NULL); 820s # for (n = 0; n < num_params + 1; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 820s # GVariant *changed_properties, 820s # const gchar *const *invalidated_properties) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 820s # guint n; 820s # const gchar *key; 820s # GVariantIter *iter; 820s # _ExtendedGDBusPropertyInfo *info; 820s # g_variant_get (changed_properties, "a{sv}", &iter); 820s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 820s # g_datalist_remove_data (&proxy->priv->qdata, key); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # g_variant_iter_free (iter); 820s # for (n = 0; invalidated_properties[n] != NULL; n++) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 820s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 820s # #else 820s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 820s # #endif 820s # 820s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusProxyClass *proxy_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 820s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 820s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 820s # 820s # proxy_class = G_DBUS_PROXY_CLASS (klass); 820s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 820s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_sync: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_sync ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new_for_bus ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_sync: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_sync ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeleton: 820s # * 820s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeletonClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceSkeletonPrivate 820s # { 820s # GValue *properties; 820s # GList *changed_properties; 820s # GSource *changed_properties_idle_source; 820s # GMainContext *context; 820s # GMutex lock; 820s # }; 820s # 820s # static void 820s # _org_project_signaling_iface_skeleton_handle_method_call ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name, 820s # const gchar *method_name, 820s # GVariant *parameters, 820s # GDBusMethodInvocation *invocation, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # _ExtendedGDBusMethodInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # guint num_extra; 820s # gsize n; 820s # guint signal_id; 820s # GValue return_value = G_VALUE_INIT; 820s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 820s # g_assert (info != NULL); 820s # num_params = g_variant_n_children (parameters); 820s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 820s # n = 0; 820s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[n++], skeleton); 820s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 820s # g_value_set_object (¶mv[n++], invocation); 820s # if (info->pass_fdlist) 820s # { 820s # #ifdef G_OS_UNIX 820s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 820s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 820s # #else 820s # g_assert_not_reached (); 820s # #endif 820s # } 820s # g_variant_iter_init (&iter, parameters); 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_init (&return_value, G_TYPE_BOOLEAN); 820s # g_signal_emitv (paramv, signal_id, 0, &return_value); 820s # if (!g_value_get_boolean (&return_value)) 820s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 820s # g_value_unset (&return_value); 820s # for (n = 0; n < num_params + num_extra; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static GVariant * 820s # _org_project_signaling_iface_skeleton_handle_get_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # GVariant *ret; 820s # ret = NULL; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # g_value_init (&value, pspec->value_type); 820s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 820s # g_value_unset (&value); 820s # } 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _org_project_signaling_iface_skeleton_handle_set_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GVariant *variant, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # gboolean ret; 820s # ret = FALSE; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # if (info->use_gvariant) 820s # g_value_set_variant (&value, variant); 820s # else 820s # g_dbus_gvariant_to_gvalue (variant, &value); 820s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # g_value_unset (&value); 820s # ret = TRUE; 820s # } 820s # return ret; 820s # } 820s # 820s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 820s # { 820s # _org_project_signaling_iface_skeleton_handle_method_call, 820s # _org_project_signaling_iface_skeleton_handle_get_property, 820s # _org_project_signaling_iface_skeleton_handle_set_property, 820s # {NULL} 820s # }; 820s # 820s # static GDBusInterfaceInfo * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return org_project_signaling_iface_interface_info (); 820s # } 820s # 820s # static GDBusInterfaceVTable * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 820s # } 820s # 820s # static GVariant * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 820s # 820s # GVariantBuilder builder; 820s # guint n; 820s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 820s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 820s # goto out; 820s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 820s # { 820s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 820s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 820s # { 820s # GVariant *value; 820s # 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); 820s # if (value != NULL) 820s # { 820s # g_variant_take_ref (value); 820s # g_variant_builder_add (&builder, "{sv}", info->name, value); 820s # g_variant_unref (value); 820s # } 820s # } 820s # } 820s # out: 820s # return g_variant_builder_end (&builder); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 820s # OrgProjectSignalingIface *object, 820s # gdouble arg_arg_d) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 820s # arg_arg_d)); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_skeleton_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 820s # if (skeleton->priv->changed_properties_idle_source != NULL) 820s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 820s # g_main_context_unref (skeleton->priv->context); 820s # g_mutex_clear (&skeleton->priv->lock); 820s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 820s # #else 820s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 820s # #endif 820s # 820s # g_mutex_init (&skeleton->priv->lock); 820s # skeleton->priv->context = g_main_context_ref_thread_default (); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusInterfaceSkeletonClass *skeleton_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 820s # 820s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 820s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 820s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 820s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 820s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 820s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_skeleton_new: 820s # * 820s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_skeleton_new (void) 820s # { 820s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 820s # } 820s # /tmp/tmpn98ddxmx/tmpnnec8_jo.xml: 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn98ddxmx/tmpnnec8_jo.xml', '--output', '-', '--body'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: /* 820s # * This file is generated by gdbus-codegen, do not modify it. 820s # * 820s # * The license of this code is the same as for the D-Bus interface description 820s # * it was derived from. Note that it links to GLib, so must comply with the 820s # * LGPL linking clauses. 820s # */ 820s # 820s # #ifdef HAVE_CONFIG_H 820s # # include "config.h" 820s # #endif 820s # 820s # #include 820s # #ifdef G_OS_UNIX 820s # # include 820s # #endif 820s # 820s # #ifdef G_ENABLE_DEBUG 820s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 820s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 820s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 820s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 820s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 820s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 820s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 820s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 820s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 820s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 820s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 820s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 820s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 820s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 820s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 820s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 820s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 820s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 820s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 820s # #else /* !G_ENABLE_DEBUG */ 820s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 820s # * Do not access GValues directly in your code. Instead, use the 820s # * g_value_get_*() functions 820s # */ 820s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 820s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 820s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 820s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 820s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 820s # #endif /* !G_ENABLE_DEBUG */ 820s # 820s # typedef struct 820s # { 820s # GDBusArgInfo parent_struct; 820s # gboolean use_gvariant; 820s # } _ExtendedGDBusArgInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusMethodInfo parent_struct; 820s # const gchar *signal_name; 820s # gboolean pass_fdlist; 820s # } _ExtendedGDBusMethodInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusSignalInfo parent_struct; 820s # const gchar *signal_name; 820s # } _ExtendedGDBusSignalInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusPropertyInfo parent_struct; 820s # const gchar *hyphen_name; 820s # guint use_gvariant : 1; 820s # guint emits_changed_signal : 1; 820s # } _ExtendedGDBusPropertyInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusInterfaceInfo parent_struct; 820s # const gchar *hyphen_name; 820s # } _ExtendedGDBusInterfaceInfo; 820s # 820s # typedef struct 820s # { 820s # const _ExtendedGDBusPropertyInfo *info; 820s # guint prop_id; 820s # GValue orig_value; /* the value before the change */ 820s # } ChangedProperty; 820s # 820s # static void 820s # _changed_property_free (ChangedProperty *data) 820s # { 820s # g_value_unset (&data->orig_value); 820s # g_free (data); 820s # } 820s # 820s # static gboolean 820s # _g_strv_equal0 (gchar **a, gchar **b) 820s # { 820s # gboolean ret = FALSE; 820s # guint n; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # if (g_strv_length (a) != g_strv_length (b)) 820s # goto out; 820s # for (n = 0; a[n] != NULL; n++) 820s # if (g_strcmp0 (a[n], b[n]) != 0) 820s # goto out; 820s # ret = TRUE; 820s # out: 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _g_variant_equal0 (GVariant *a, GVariant *b) 820s # { 820s # gboolean ret = FALSE; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # ret = g_variant_equal (a, b); 820s # out: 820s # return ret; 820s # } 820s # 820s # G_GNUC_UNUSED static gboolean 820s # _g_value_equal (const GValue *a, const GValue *b) 820s # { 820s # gboolean ret = FALSE; 820s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 820s # switch (G_VALUE_TYPE (a)) 820s # { 820s # case G_TYPE_BOOLEAN: 820s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 820s # break; 820s # case G_TYPE_UCHAR: 820s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 820s # break; 820s # case G_TYPE_INT: 820s # ret = (g_value_get_int (a) == g_value_get_int (b)); 820s # break; 820s # case G_TYPE_UINT: 820s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 820s # break; 820s # case G_TYPE_INT64: 820s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 820s # break; 820s # case G_TYPE_UINT64: 820s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 820s # break; 820s # case G_TYPE_DOUBLE: 820s # { 820s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 820s # gdouble da = g_value_get_double (a); 820s # gdouble db = g_value_get_double (b); 820s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 820s # } 820s # break; 820s # case G_TYPE_STRING: 820s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 820s # break; 820s # case G_TYPE_VARIANT: 820s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 820s # break; 820s # default: 820s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 820s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 820s # else 820s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 820s # break; 820s # } 820s # return ret; 820s # } 820s # 820s # /* ------------------------------------------------------------------------ 820s # * Code for interface org.project.SignalingIface 820s # * ------------------------------------------------------------------------ 820s # */ 820s # 820s # /** 820s # * SECTION:OrgProjectSignalingIface 820s # * @title: OrgProjectSignalingIface 820s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 820s # * 820s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 820s # */ 820s # 820s # enum 820s # { 820s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 820s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 820s # }; 820s # 820s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 820s # 820s # /* ---- Introspection data for org.project.SignalingIface ---- */ 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SimpleSignal", 820s # NULL, 820s # NULL 820s # }, 820s # "simple-signal" 820s # }; 820s # 820s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 820s # { 820s # { 820s # -1, 820s # (gchar *) "arg_s", 820s # (gchar *) "s", 820s # NULL 820s # }, 820s # FALSE 820s # }; 820s # 820s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SingleArgSignalS", 820s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 820s # NULL 820s # }, 820s # "single-arg-signal-s" 820s # }; 820s # 820s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 820s # { 820s # { 820s # -1, 820s # (gchar *) "org.project.SignalingIface", 820s # NULL, 820s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 820s # NULL, 820s # NULL 820s # }, 820s # "org-project-signaling-iface", 820s # }; 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_interface_info: 820s # * 820s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 820s # * 820s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 820s # */ 820s # GDBusInterfaceInfo * 820s # org_project_signaling_iface_interface_info (void) 820s # { 820s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_override_properties: 820s # * @klass: The class structure for a #GObject derived class. 820s # * @property_id_begin: The property id to assign to the first overridden property. 820s # * 820s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 820s # * The properties are overridden in the order they are defined. 820s # * 820s # * Returns: The last property id. 820s # */ 820s # guint 820s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 820s # { 820s # return property_id_begin - 1; 820s # } 820s # 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_simple_signal ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__VOID (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__STRING (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # 820s # /** 820s # * OrgProjectSignalingIface: 820s # * 820s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceIface: 820s # * @parent_iface: The parent interface. 820s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 820s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 820s # * 820s # * Virtual table for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 820s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 820s # 820s # static void 820s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # /* GObject signals for received D-Bus signals: */ 820s # /** 820s # * OrgProjectSignalingIface::simple-signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 820s # g_signal_new ("simple-signal", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_simple_signal, 820s # G_TYPE_NONE, 820s # 0); 820s # 820s # /** 820s # * OrgProjectSignalingIface::single-arg-signal-s: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_s: Argument. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 820s # g_signal_new ("single-arg-signal-s", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 820s # G_TYPE_NONE, 820s # 1, G_TYPE_STRING); 820s # 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_simple_signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * Emits the "SimpleSignal" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_single_arg_signal_s: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_s: Argument to pass with the signal. 820s # * 820s # * Emits the "SingleArgSignalS" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_single_arg_signal_s ( 820s # OrgProjectSignalingIface *object, 820s # const gchar *arg_arg_s) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 820s # } 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxy: 820s # * 820s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxyClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceProxy. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceProxyPrivate 820s # { 820s # GData *qdata; 820s # }; 820s # 820s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_proxy_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 820s # g_datalist_clear (&proxy->priv->qdata); 820s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # const GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 820s # const gchar *sender_name G_GNUC_UNUSED, 820s # const gchar *signal_name, 820s # GVariant *parameters) 820s # { 820s # _ExtendedGDBusSignalInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # gsize n; 820s # guint signal_id; 820s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 820s # if (info == NULL) 820s # return; 820s # num_params = g_variant_n_children (parameters); 820s # paramv = g_new0 (GValue, num_params + 1); 820s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[0], proxy); 820s # g_variant_iter_init (&iter, parameters); 820s # n = 1; 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_signal_emitv (paramv, signal_id, 0, NULL); 820s # for (n = 0; n < num_params + 1; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 820s # GVariant *changed_properties, 820s # const gchar *const *invalidated_properties) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 820s # guint n; 820s # const gchar *key; 820s # GVariantIter *iter; 820s # _ExtendedGDBusPropertyInfo *info; 820s # g_variant_get (changed_properties, "a{sv}", &iter); 820s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 820s # g_datalist_remove_data (&proxy->priv->qdata, key); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # g_variant_iter_free (iter); 820s # for (n = 0; invalidated_properties[n] != NULL; n++) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 820s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 820s # #else 820s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 820s # #endif 820s # 820s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusProxyClass *proxy_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 820s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 820s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 820s # 820s # proxy_class = G_DBUS_PROXY_CLASS (klass); 820s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 820s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_sync: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_sync ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new_for_bus ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_sync: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_sync ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeleton: 820s # * 820s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeletonClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceSkeletonPrivate 820s # { 820s # GValue *properties; 820s # GList *changed_properties; 820s # GSource *changed_properties_idle_source; 820s # GMainContext *context; 820s # GMutex lock; 820s # }; 820s # 820s # static void 820s # _org_project_signaling_iface_skeleton_handle_method_call ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name, 820s # const gchar *method_name, 820s # GVariant *parameters, 820s # GDBusMethodInvocation *invocation, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # _ExtendedGDBusMethodInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # guint num_extra; 820s # gsize n; 820s # guint signal_id; 820s # GValue return_value = G_VALUE_INIT; 820s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 820s # g_assert (info != NULL); 820s # num_params = g_variant_n_children (parameters); 820s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 820s # n = 0; 820s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[n++], skeleton); 820s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 820s # g_value_set_object (¶mv[n++], invocation); 820s # if (info->pass_fdlist) 820s # { 820s # #ifdef G_OS_UNIX 820s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 820s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 820s # #else 820s # g_assert_not_reached (); 820s # #endif 820s # } 820s # g_variant_iter_init (&iter, parameters); 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_init (&return_value, G_TYPE_BOOLEAN); 820s # g_signal_emitv (paramv, signal_id, 0, &return_value); 820s # if (!g_value_get_boolean (&return_value)) 820s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 820s # g_value_unset (&return_value); 820s # for (n = 0; n < num_params + num_extra; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static GVariant * 820s # _org_project_signaling_iface_skeleton_handle_get_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # GVariant *ret; 820s # ret = NULL; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # g_value_init (&value, pspec->value_type); 820s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 820s # g_value_unset (&value); 820s # } 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _org_project_signaling_iface_skeleton_handle_set_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GVariant *variant, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # gboolean ret; 820s # ret = FALSE; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # if (info->use_gvariant) 820s # g_value_set_variant (&value, variant); 820s # else 820s # g_dbus_gvariant_to_gvalue (variant, &value); 820s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # g_value_unset (&value); 820s # ret = TRUE; 820s # } 820s # return ret; 820s # } 820s # 820s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 820s # { 820s # _org_project_signaling_iface_skeleton_handle_method_call, 820s # _org_project_signaling_iface_skeleton_handle_get_property, 820s # _org_project_signaling_iface_skeleton_handle_set_property, 820s # {NULL} 820s # }; 820s # 820s # static GDBusInterfaceInfo * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return org_project_signaling_iface_interface_info (); 820s # } 820s # 820s # static GDBusInterfaceVTable * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 820s # } 820s # 820s # static GVariant * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 820s # 820s # GVariantBuilder builder; 820s # guint n; 820s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 820s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 820s # goto out; 820s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 820s # { 820s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 820s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 820s # { 820s # GVariant *value; 820s # 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); 820s # if (value != NULL) 820s # { 820s # g_variant_take_ref (value); 820s # g_variant_builder_add (&builder, "{sv}", info->name, value); 820s # g_variant_unref (value); 820s # } 820s # } 820s # } 820s # out: 820s # return g_variant_builder_end (&builder); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 820s # OrgProjectSignalingIface *object, 820s # const gchar *arg_arg_s) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 820s # arg_arg_s)); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_skeleton_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 820s # if (skeleton->priv->changed_properties_idle_source != NULL) 820s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 820s # g_main_context_unref (skeleton->priv->context); 820s # g_mutex_clear (&skeleton->priv->lock); 820s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 820s # #else 820s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 820s # #endif 820s # 820s # g_mutex_init (&skeleton->priv->lock); 820s # skeleton->priv->context = g_main_context_ref_thread_default (); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusInterfaceSkeletonClass *skeleton_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 820s # 820s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 820s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 820s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 820s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 820s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 820s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_skeleton_new: 820s # * 820s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_skeleton_new (void) 820s # { 820s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 820s # } 820s # /tmp/tmpn98ddxmx/tmp3tpdgzf4.xml: 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn98ddxmx/tmp3tpdgzf4.xml', '--output', '-', '--body'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: /* 820s # * This file is generated by gdbus-codegen, do not modify it. 820s # * 820s # * The license of this code is the same as for the D-Bus interface description 820s # * it was derived from. Note that it links to GLib, so must comply with the 820s # * LGPL linking clauses. 820s # */ 820s # 820s # #ifdef HAVE_CONFIG_H 820s # # include "config.h" 820s # #endif 820s # 820s # #include 820s # #ifdef G_OS_UNIX 820s # # include 820s # #endif 820s # 820s # #ifdef G_ENABLE_DEBUG 820s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 820s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 820s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 820s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 820s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 820s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 820s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 820s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 820s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 820s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 820s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 820s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 820s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 820s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 820s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 820s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 820s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 820s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 820s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 820s # #else /* !G_ENABLE_DEBUG */ 820s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 820s # * Do not access GValues directly in your code. Instead, use the 820s # * g_value_get_*() functions 820s # */ 820s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 820s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 820s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 820s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 820s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 820s # #endif /* !G_ENABLE_DEBUG */ 820s # 820s # typedef struct 820s # { 820s # GDBusArgInfo parent_struct; 820s # gboolean use_gvariant; 820s # } _ExtendedGDBusArgInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusMethodInfo parent_struct; 820s # const gchar *signal_name; 820s # gboolean pass_fdlist; 820s # } _ExtendedGDBusMethodInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusSignalInfo parent_struct; 820s # const gchar *signal_name; 820s # } _ExtendedGDBusSignalInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusPropertyInfo parent_struct; 820s # const gchar *hyphen_name; 820s # guint use_gvariant : 1; 820s # guint emits_changed_signal : 1; 820s # } _ExtendedGDBusPropertyInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusInterfaceInfo parent_struct; 820s # const gchar *hyphen_name; 820s # } _ExtendedGDBusInterfaceInfo; 820s # 820s # typedef struct 820s # { 820s # const _ExtendedGDBusPropertyInfo *info; 820s # guint prop_id; 820s # GValue orig_value; /* the value before the change */ 820s # } ChangedProperty; 820s # 820s # static void 820s # _changed_property_free (ChangedProperty *data) 820s # { 820s # g_value_unset (&data->orig_value); 820s # g_free (data); 820s # } 820s # 820s # static gboolean 820s # _g_strv_equal0 (gchar **a, gchar **b) 820s # { 820s # gboolean ret = FALSE; 820s # guint n; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # if (g_strv_length (a) != g_strv_length (b)) 820s # goto out; 820s # for (n = 0; a[n] != NULL; n++) 820s # if (g_strcmp0 (a[n], b[n]) != 0) 820s # goto out; 820s # ret = TRUE; 820s # out: 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _g_variant_equal0 (GVariant *a, GVariant *b) 820s # { 820s # gboolean ret = FALSE; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # ret = g_variant_equal (a, b); 820s # out: 820s # return ret; 820s # } 820s # 820s # G_GNUC_UNUSED static gboolean 820s # _g_value_equal (const GValue *a, const GValue *b) 820s # { 820s # gboolean ret = FALSE; 820s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 820s # switch (G_VALUE_TYPE (a)) 820s # { 820s # case G_TYPE_BOOLEAN: 820s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 820s # break; 820s # case G_TYPE_UCHAR: 820s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 820s # break; 820s # case G_TYPE_INT: 820s # ret = (g_value_get_int (a) == g_value_get_int (b)); 820s # break; 820s # case G_TYPE_UINT: 820s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 820s # break; 820s # case G_TYPE_INT64: 820s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 820s # break; 820s # case G_TYPE_UINT64: 820s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 820s # break; 820s # case G_TYPE_DOUBLE: 820s # { 820s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 820s # gdouble da = g_value_get_double (a); 820s # gdouble db = g_value_get_double (b); 820s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 820s # } 820s # break; 820s # case G_TYPE_STRING: 820s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 820s # break; 820s # case G_TYPE_VARIANT: 820s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 820s # break; 820s # default: 820s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 820s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 820s # else 820s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 820s # break; 820s # } 820s # return ret; 820s # } 820s # 820s # /* ------------------------------------------------------------------------ 820s # * Code for interface org.project.SignalingIface 820s # * ------------------------------------------------------------------------ 820s # */ 820s # 820s # /** 820s # * SECTION:OrgProjectSignalingIface 820s # * @title: OrgProjectSignalingIface 820s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 820s # * 820s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 820s # */ 820s # 820s # enum 820s # { 820s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 820s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 820s # }; 820s # 820s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 820s # 820s # /* ---- Introspection data for org.project.SignalingIface ---- */ 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SimpleSignal", 820s # NULL, 820s # NULL 820s # }, 820s # "simple-signal" 820s # }; 820s # 820s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 820s # { 820s # { 820s # -1, 820s # (gchar *) "arg_o", 820s # (gchar *) "o", 820s # NULL 820s # }, 820s # FALSE 820s # }; 820s # 820s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SingleArgSignalO", 820s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 820s # NULL 820s # }, 820s # "single-arg-signal-o" 820s # }; 820s # 820s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 820s # { 820s # { 820s # -1, 820s # (gchar *) "org.project.SignalingIface", 820s # NULL, 820s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 820s # NULL, 820s # NULL 820s # }, 820s # "org-project-signaling-iface", 820s # }; 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_interface_info: 820s # * 820s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 820s # * 820s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 820s # */ 820s # GDBusInterfaceInfo * 820s # org_project_signaling_iface_interface_info (void) 820s # { 820s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_override_properties: 820s # * @klass: The class structure for a #GObject derived class. 820s # * @property_id_begin: The property id to assign to the first overridden property. 820s # * 820s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 820s # * The properties are overridden in the order they are defined. 820s # * 820s # * Returns: The last property id. 820s # */ 820s # guint 820s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 820s # { 820s # return property_id_begin - 1; 820s # } 820s # 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_simple_signal ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__VOID (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__STRING (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # 820s # /** 820s # * OrgProjectSignalingIface: 820s # * 820s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceIface: 820s # * @parent_iface: The parent interface. 820s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 820s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 820s # * 820s # * Virtual table for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 820s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 820s # 820s # static void 820s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # /* GObject signals for received D-Bus signals: */ 820s # /** 820s # * OrgProjectSignalingIface::simple-signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 820s # g_signal_new ("simple-signal", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_simple_signal, 820s # G_TYPE_NONE, 820s # 0); 820s # 820s # /** 820s # * OrgProjectSignalingIface::single-arg-signal-o: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_o: Argument. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 820s # g_signal_new ("single-arg-signal-o", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 820s # G_TYPE_NONE, 820s # 1, G_TYPE_STRING); 820s # 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_simple_signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * Emits the "SimpleSignal" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_single_arg_signal_o: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_o: Argument to pass with the signal. 820s # * 820s # * Emits the "SingleArgSignalO" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_single_arg_signal_o ( 820s # OrgProjectSignalingIface *object, 820s # const gchar *arg_arg_o) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 820s # } 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxy: 820s # * 820s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxyClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceProxy. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceProxyPrivate 820s # { 820s # GData *qdata; 820s # }; 820s # 820s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_proxy_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 820s # g_datalist_clear (&proxy->priv->qdata); 820s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # const GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 820s # const gchar *sender_name G_GNUC_UNUSED, 820s # const gchar *signal_name, 820s # GVariant *parameters) 820s # { 820s # _ExtendedGDBusSignalInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # gsize n; 820s # guint signal_id; 820s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 820s # if (info == NULL) 820s # return; 820s # num_params = g_variant_n_children (parameters); 820s # paramv = g_new0 (GValue, num_params + 1); 820s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[0], proxy); 820s # g_variant_iter_init (&iter, parameters); 820s # n = 1; 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_signal_emitv (paramv, signal_id, 0, NULL); 820s # for (n = 0; n < num_params + 1; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 820s # GVariant *changed_properties, 820s # const gchar *const *invalidated_properties) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 820s # guint n; 820s # const gchar *key; 820s # GVariantIter *iter; 820s # _ExtendedGDBusPropertyInfo *info; 820s # g_variant_get (changed_properties, "a{sv}", &iter); 820s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 820s # g_datalist_remove_data (&proxy->priv->qdata, key); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # g_variant_iter_free (iter); 820s # for (n = 0; invalidated_properties[n] != NULL; n++) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 820s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 820s # #else 820s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 820s # #endif 820s # 820s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusProxyClass *proxy_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 820s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 820s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 820s # 820s # proxy_class = G_DBUS_PROXY_CLASS (klass); 820s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 820s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_sync: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_sync ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new_for_bus ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_sync: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_sync ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeleton: 820s # * 820s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeletonClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceSkeletonPrivate 820s # { 820s # GValue *properties; 820s # GList *changed_properties; 820s # GSource *changed_properties_idle_source; 820s # GMainContext *context; 820s # GMutex lock; 820s # }; 820s # 820s # static void 820s # _org_project_signaling_iface_skeleton_handle_method_call ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name, 820s # const gchar *method_name, 820s # GVariant *parameters, 820s # GDBusMethodInvocation *invocation, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # _ExtendedGDBusMethodInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # guint num_extra; 820s # gsize n; 820s # guint signal_id; 820s # GValue return_value = G_VALUE_INIT; 820s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 820s # g_assert (info != NULL); 820s # num_params = g_variant_n_children (parameters); 820s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 820s # n = 0; 820s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[n++], skeleton); 820s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 820s # g_value_set_object (¶mv[n++], invocation); 820s # if (info->pass_fdlist) 820s # { 820s # #ifdef G_OS_UNIX 820s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 820s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 820s # #else 820s # g_assert_not_reached (); 820s # #endif 820s # } 820s # g_variant_iter_init (&iter, parameters); 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_init (&return_value, G_TYPE_BOOLEAN); 820s # g_signal_emitv (paramv, signal_id, 0, &return_value); 820s # if (!g_value_get_boolean (&return_value)) 820s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 820s # g_value_unset (&return_value); 820s # for (n = 0; n < num_params + num_extra; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static GVariant * 820s # _org_project_signaling_iface_skeleton_handle_get_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # GVariant *ret; 820s # ret = NULL; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # g_value_init (&value, pspec->value_type); 820s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 820s # g_value_unset (&value); 820s # } 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _org_project_signaling_iface_skeleton_handle_set_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GVariant *variant, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # gboolean ret; 820s # ret = FALSE; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # if (info->use_gvariant) 820s # g_value_set_variant (&value, variant); 820s # else 820s # g_dbus_gvariant_to_gvalue (variant, &value); 820s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # g_value_unset (&value); 820s # ret = TRUE; 820s # } 820s # return ret; 820s # } 820s # 820s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 820s # { 820s # _org_project_signaling_iface_skeleton_handle_method_call, 820s # _org_project_signaling_iface_skeleton_handle_get_property, 820s # _org_project_signaling_iface_skeleton_handle_set_property, 820s # {NULL} 820s # }; 820s # 820s # static GDBusInterfaceInfo * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return org_project_signaling_iface_interface_info (); 820s # } 820s # 820s # static GDBusInterfaceVTable * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 820s # } 820s # 820s # static GVariant * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 820s # 820s # GVariantBuilder builder; 820s # guint n; 820s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 820s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 820s # goto out; 820s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 820s # { 820s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 820s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 820s # { 820s # GVariant *value; 820s # 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); 820s # if (value != NULL) 820s # { 820s # g_variant_take_ref (value); 820s # g_variant_builder_add (&builder, "{sv}", info->name, value); 820s # g_variant_unref (value); 820s # } 820s # } 820s # } 820s # out: 820s # return g_variant_builder_end (&builder); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 820s # OrgProjectSignalingIface *object, 820s # const gchar *arg_arg_o) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 820s # arg_arg_o)); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_skeleton_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 820s # if (skeleton->priv->changed_properties_idle_source != NULL) 820s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 820s # g_main_context_unref (skeleton->priv->context); 820s # g_mutex_clear (&skeleton->priv->lock); 820s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 820s # #else 820s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 820s # #endif 820s # 820s # g_mutex_init (&skeleton->priv->lock); 820s # skeleton->priv->context = g_main_context_ref_thread_default (); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusInterfaceSkeletonClass *skeleton_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 820s # 820s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 820s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 820s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 820s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 820s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 820s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_skeleton_new: 820s # * 820s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_skeleton_new (void) 820s # { 820s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 820s # } 820s # /tmp/tmpn98ddxmx/tmp928rk8t7.xml: 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn98ddxmx/tmp928rk8t7.xml', '--output', '-', '--body'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: /* 820s # * This file is generated by gdbus-codegen, do not modify it. 820s # * 820s # * The license of this code is the same as for the D-Bus interface description 820s # * it was derived from. Note that it links to GLib, so must comply with the 820s # * LGPL linking clauses. 820s # */ 820s # 820s # #ifdef HAVE_CONFIG_H 820s # # include "config.h" 820s # #endif 820s # 820s # #include 820s # #ifdef G_OS_UNIX 820s # # include 820s # #endif 820s # 820s # #ifdef G_ENABLE_DEBUG 820s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 820s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 820s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 820s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 820s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 820s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 820s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 820s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 820s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 820s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 820s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 820s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 820s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 820s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 820s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 820s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 820s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 820s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 820s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 820s # #else /* !G_ENABLE_DEBUG */ 820s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 820s # * Do not access GValues directly in your code. Instead, use the 820s # * g_value_get_*() functions 820s # */ 820s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 820s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 820s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 820s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 820s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 820s # #endif /* !G_ENABLE_DEBUG */ 820s # 820s # typedef struct 820s # { 820s # GDBusArgInfo parent_struct; 820s # gboolean use_gvariant; 820s # } _ExtendedGDBusArgInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusMethodInfo parent_struct; 820s # const gchar *signal_name; 820s # gboolean pass_fdlist; 820s # } _ExtendedGDBusMethodInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusSignalInfo parent_struct; 820s # const gchar *signal_name; 820s # } _ExtendedGDBusSignalInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusPropertyInfo parent_struct; 820s # const gchar *hyphen_name; 820s # guint use_gvariant : 1; 820s # guint emits_changed_signal : 1; 820s # } _ExtendedGDBusPropertyInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusInterfaceInfo parent_struct; 820s # const gchar *hyphen_name; 820s # } _ExtendedGDBusInterfaceInfo; 820s # 820s # typedef struct 820s # { 820s # const _ExtendedGDBusPropertyInfo *info; 820s # guint prop_id; 820s # GValue orig_value; /* the value before the change */ 820s # } ChangedProperty; 820s # 820s # static void 820s # _changed_property_free (ChangedProperty *data) 820s # { 820s # g_value_unset (&data->orig_value); 820s # g_free (data); 820s # } 820s # 820s # static gboolean 820s # _g_strv_equal0 (gchar **a, gchar **b) 820s # { 820s # gboolean ret = FALSE; 820s # guint n; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # if (g_strv_length (a) != g_strv_length (b)) 820s # goto out; 820s # for (n = 0; a[n] != NULL; n++) 820s # if (g_strcmp0 (a[n], b[n]) != 0) 820s # goto out; 820s # ret = TRUE; 820s # out: 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _g_variant_equal0 (GVariant *a, GVariant *b) 820s # { 820s # gboolean ret = FALSE; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # ret = g_variant_equal (a, b); 820s # out: 820s # return ret; 820s # } 820s # 820s # G_GNUC_UNUSED static gboolean 820s # _g_value_equal (const GValue *a, const GValue *b) 820s # { 820s # gboolean ret = FALSE; 820s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 820s # switch (G_VALUE_TYPE (a)) 820s # { 820s # case G_TYPE_BOOLEAN: 820s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 820s # break; 820s # case G_TYPE_UCHAR: 820s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 820s # break; 820s # case G_TYPE_INT: 820s # ret = (g_value_get_int (a) == g_value_get_int (b)); 820s # break; 820s # case G_TYPE_UINT: 820s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 820s # break; 820s # case G_TYPE_INT64: 820s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 820s # break; 820s # case G_TYPE_UINT64: 820s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 820s # break; 820s # case G_TYPE_DOUBLE: 820s # { 820s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 820s # gdouble da = g_value_get_double (a); 820s # gdouble db = g_value_get_double (b); 820s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 820s # } 820s # break; 820s # case G_TYPE_STRING: 820s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 820s # break; 820s # case G_TYPE_VARIANT: 820s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 820s # break; 820s # default: 820s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 820s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 820s # else 820s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 820s # break; 820s # } 820s # return ret; 820s # } 820s # 820s # /* ------------------------------------------------------------------------ 820s # * Code for interface org.project.SignalingIface 820s # * ------------------------------------------------------------------------ 820s # */ 820s # 820s # /** 820s # * SECTION:OrgProjectSignalingIface 820s # * @title: OrgProjectSignalingIface 820s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 820s # * 820s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 820s # */ 820s # 820s # enum 820s # { 820s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 820s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 820s # }; 820s # 820s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 820s # 820s # /* ---- Introspection data for org.project.SignalingIface ---- */ 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SimpleSignal", 820s # NULL, 820s # NULL 820s # }, 820s # "simple-signal" 820s # }; 820s # 820s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 820s # { 820s # { 820s # -1, 820s # (gchar *) "arg_g", 820s # (gchar *) "g", 820s # NULL 820s # }, 820s # FALSE 820s # }; 820s # 820s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SingleArgSignalG", 820s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 820s # NULL 820s # }, 820s # "single-arg-signal-g" 820s # }; 820s # 820s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 820s # { 820s # { 820s # -1, 820s # (gchar *) "org.project.SignalingIface", 820s # NULL, 820s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 820s # NULL, 820s # NULL 820s # }, 820s # "org-project-signaling-iface", 820s # }; 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_interface_info: 820s # * 820s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 820s # * 820s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 820s # */ 820s # GDBusInterfaceInfo * 820s # org_project_signaling_iface_interface_info (void) 820s # { 820s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_override_properties: 820s # * @klass: The class structure for a #GObject derived class. 820s # * @property_id_begin: The property id to assign to the first overridden property. 820s # * 820s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 820s # * The properties are overridden in the order they are defined. 820s # * 820s # * Returns: The last property id. 820s # */ 820s # guint 820s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 820s # { 820s # return property_id_begin - 1; 820s # } 820s # 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_simple_signal ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__VOID (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__STRING (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # 820s # /** 820s # * OrgProjectSignalingIface: 820s # * 820s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceIface: 820s # * @parent_iface: The parent interface. 820s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 820s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 820s # * 820s # * Virtual table for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 820s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 820s # 820s # static void 820s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # /* GObject signals for received D-Bus signals: */ 820s # /** 820s # * OrgProjectSignalingIface::simple-signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 820s # g_signal_new ("simple-signal", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_simple_signal, 820s # G_TYPE_NONE, 820s # 0); 820s # 820s # /** 820s # * OrgProjectSignalingIface::single-arg-signal-g: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_g: Argument. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 820s # g_signal_new ("single-arg-signal-g", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 820s # G_TYPE_NONE, 820s # 1, G_TYPE_STRING); 820s # 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_simple_signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * Emits the "SimpleSignal" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_single_arg_signal_g: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_g: Argument to pass with the signal. 820s # * 820s # * Emits the "SingleArgSignalG" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_single_arg_signal_g ( 820s # OrgProjectSignalingIface *object, 820s # const gchar *arg_arg_g) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 820s # } 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxy: 820s # * 820s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxyClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceProxy. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceProxyPrivate 820s # { 820s # GData *qdata; 820s # }; 820s # 820s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_proxy_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 820s # g_datalist_clear (&proxy->priv->qdata); 820s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # const GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 820s # const gchar *sender_name G_GNUC_UNUSED, 820s # const gchar *signal_name, 820s # GVariant *parameters) 820s # { 820s # _ExtendedGDBusSignalInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # gsize n; 820s # guint signal_id; 820s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 820s # if (info == NULL) 820s # return; 820s # num_params = g_variant_n_children (parameters); 820s # paramv = g_new0 (GValue, num_params + 1); 820s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[0], proxy); 820s # g_variant_iter_init (&iter, parameters); 820s # n = 1; 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_signal_emitv (paramv, signal_id, 0, NULL); 820s # for (n = 0; n < num_params + 1; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 820s # GVariant *changed_properties, 820s # const gchar *const *invalidated_properties) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 820s # guint n; 820s # const gchar *key; 820s # GVariantIter *iter; 820s # _ExtendedGDBusPropertyInfo *info; 820s # g_variant_get (changed_properties, "a{sv}", &iter); 820s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 820s # g_datalist_remove_data (&proxy->priv->qdata, key); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # g_variant_iter_free (iter); 820s # for (n = 0; invalidated_properties[n] != NULL; n++) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 820s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 820s # #else 820s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 820s # #endif 820s # 820s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusProxyClass *proxy_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 820s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 820s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 820s # 820s # proxy_class = G_DBUS_PROXY_CLASS (klass); 820s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 820s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_sync: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_sync ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new_for_bus ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_sync: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_sync ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeleton: 820s # * 820s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeletonClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceSkeletonPrivate 820s # { 820s # GValue *properties; 820s # GList *changed_properties; 820s # GSource *changed_properties_idle_source; 820s # GMainContext *context; 820s # GMutex lock; 820s # }; 820s # 820s # static void 820s # _org_project_signaling_iface_skeleton_handle_method_call ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name, 820s # const gchar *method_name, 820s # GVariant *parameters, 820s # GDBusMethodInvocation *invocation, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # _ExtendedGDBusMethodInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # guint num_extra; 820s # gsize n; 820s # guint signal_id; 820s # GValue return_value = G_VALUE_INIT; 820s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 820s # g_assert (info != NULL); 820s # num_params = g_variant_n_children (parameters); 820s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 820s # n = 0; 820s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[n++], skeleton); 820s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 820s # g_value_set_object (¶mv[n++], invocation); 820s # if (info->pass_fdlist) 820s # { 820s # #ifdef G_OS_UNIX 820s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 820s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 820s # #else 820s # g_assert_not_reached (); 820s # #endif 820s # } 820s # g_variant_iter_init (&iter, parameters); 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_init (&return_value, G_TYPE_BOOLEAN); 820s # g_signal_emitv (paramv, signal_id, 0, &return_value); 820s # if (!g_value_get_boolean (&return_value)) 820s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 820s # g_value_unset (&return_value); 820s # for (n = 0; n < num_params + num_extra; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static GVariant * 820s # _org_project_signaling_iface_skeleton_handle_get_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # GVariant *ret; 820s # ret = NULL; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # g_value_init (&value, pspec->value_type); 820s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 820s # g_value_unset (&value); 820s # } 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _org_project_signaling_iface_skeleton_handle_set_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GVariant *variant, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # gboolean ret; 820s # ret = FALSE; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # if (info->use_gvariant) 820s # g_value_set_variant (&value, variant); 820s # else 820s # g_dbus_gvariant_to_gvalue (variant, &value); 820s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # g_value_unset (&value); 820s # ret = TRUE; 820s # } 820s # return ret; 820s # } 820s # 820s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 820s # { 820s # _org_project_signaling_iface_skeleton_handle_method_call, 820s # _org_project_signaling_iface_skeleton_handle_get_property, 820s # _org_project_signaling_iface_skeleton_handle_set_property, 820s # {NULL} 820s # }; 820s # 820s # static GDBusInterfaceInfo * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return org_project_signaling_iface_interface_info (); 820s # } 820s # 820s # static GDBusInterfaceVTable * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 820s # } 820s # 820s # static GVariant * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 820s # 820s # GVariantBuilder builder; 820s # guint n; 820s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 820s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 820s # goto out; 820s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 820s # { 820s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 820s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 820s # { 820s # GVariant *value; 820s # 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); 820s # if (value != NULL) 820s # { 820s # g_variant_take_ref (value); 820s # g_variant_builder_add (&builder, "{sv}", info->name, value); 820s # g_variant_unref (value); 820s # } 820s # } 820s # } 820s # out: 820s # return g_variant_builder_end (&builder); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 820s # OrgProjectSignalingIface *object, 820s # const gchar *arg_arg_g) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 820s # arg_arg_g)); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_skeleton_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 820s # if (skeleton->priv->changed_properties_idle_source != NULL) 820s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 820s # g_main_context_unref (skeleton->priv->context); 820s # g_mutex_clear (&skeleton->priv->lock); 820s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 820s # #else 820s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 820s # #endif 820s # 820s # g_mutex_init (&skeleton->priv->lock); 820s # skeleton->priv->context = g_main_context_ref_thread_default (); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusInterfaceSkeletonClass *skeleton_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 820s # 820s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 820s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 820s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 820s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 820s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 820s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_skeleton_new: 820s # * 820s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_skeleton_new (void) 820s # { 820s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 820s # } 820s # /tmp/tmpn98ddxmx/tmpx72bz4ds.xml: 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn98ddxmx/tmpx72bz4ds.xml', '--output', '-', '--body'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: /* 820s # * This file is generated by gdbus-codegen, do not modify it. 820s # * 820s # * The license of this code is the same as for the D-Bus interface description 820s # * it was derived from. Note that it links to GLib, so must comply with the 820s # * LGPL linking clauses. 820s # */ 820s # 820s # #ifdef HAVE_CONFIG_H 820s # # include "config.h" 820s # #endif 820s # 820s # #include 820s # #ifdef G_OS_UNIX 820s # # include 820s # #endif 820s # 820s # #ifdef G_ENABLE_DEBUG 820s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 820s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 820s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 820s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 820s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 820s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 820s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 820s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 820s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 820s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 820s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 820s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 820s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 820s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 820s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 820s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 820s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 820s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 820s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 820s # #else /* !G_ENABLE_DEBUG */ 820s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 820s # * Do not access GValues directly in your code. Instead, use the 820s # * g_value_get_*() functions 820s # */ 820s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 820s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 820s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 820s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 820s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 820s # #endif /* !G_ENABLE_DEBUG */ 820s # 820s # typedef struct 820s # { 820s # GDBusArgInfo parent_struct; 820s # gboolean use_gvariant; 820s # } _ExtendedGDBusArgInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusMethodInfo parent_struct; 820s # const gchar *signal_name; 820s # gboolean pass_fdlist; 820s # } _ExtendedGDBusMethodInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusSignalInfo parent_struct; 820s # const gchar *signal_name; 820s # } _ExtendedGDBusSignalInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusPropertyInfo parent_struct; 820s # const gchar *hyphen_name; 820s # guint use_gvariant : 1; 820s # guint emits_changed_signal : 1; 820s # } _ExtendedGDBusPropertyInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusInterfaceInfo parent_struct; 820s # const gchar *hyphen_name; 820s # } _ExtendedGDBusInterfaceInfo; 820s # 820s # typedef struct 820s # { 820s # const _ExtendedGDBusPropertyInfo *info; 820s # guint prop_id; 820s # GValue orig_value; /* the value before the change */ 820s # } ChangedProperty; 820s # 820s # static void 820s # _changed_property_free (ChangedProperty *data) 820s # { 820s # g_value_unset (&data->orig_value); 820s # g_free (data); 820s # } 820s # 820s # static gboolean 820s # _g_strv_equal0 (gchar **a, gchar **b) 820s # { 820s # gboolean ret = FALSE; 820s # guint n; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # if (g_strv_length (a) != g_strv_length (b)) 820s # goto out; 820s # for (n = 0; a[n] != NULL; n++) 820s # if (g_strcmp0 (a[n], b[n]) != 0) 820s # goto out; 820s # ret = TRUE; 820s # out: 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _g_variant_equal0 (GVariant *a, GVariant *b) 820s # { 820s # gboolean ret = FALSE; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # ret = g_variant_equal (a, b); 820s # out: 820s # return ret; 820s # } 820s # 820s # G_GNUC_UNUSED static gboolean 820s # _g_value_equal (const GValue *a, const GValue *b) 820s # { 820s # gboolean ret = FALSE; 820s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 820s # switch (G_VALUE_TYPE (a)) 820s # { 820s # case G_TYPE_BOOLEAN: 820s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 820s # break; 820s # case G_TYPE_UCHAR: 820s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 820s # break; 820s # case G_TYPE_INT: 820s # ret = (g_value_get_int (a) == g_value_get_int (b)); 820s # break; 820s # case G_TYPE_UINT: 820s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 820s # break; 820s # case G_TYPE_INT64: 820s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 820s # break; 820s # case G_TYPE_UINT64: 820s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 820s # break; 820s # case G_TYPE_DOUBLE: 820s # { 820s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 820s # gdouble da = g_value_get_double (a); 820s # gdouble db = g_value_get_double (b); 820s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 820s # } 820s # break; 820s # case G_TYPE_STRING: 820s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 820s # break; 820s # case G_TYPE_VARIANT: 820s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 820s # break; 820s # default: 820s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 820s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 820s # else 820s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 820s # break; 820s # } 820s # return ret; 820s # } 820s # 820s # /* ------------------------------------------------------------------------ 820s # * Code for interface org.project.SignalingIface 820s # * ------------------------------------------------------------------------ 820s # */ 820s # 820s # /** 820s # * SECTION:OrgProjectSignalingIface 820s # * @title: OrgProjectSignalingIface 820s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 820s # * 820s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 820s # */ 820s # 820s # enum 820s # { 820s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 820s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 820s # }; 820s # 820s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 820s # 820s # /* ---- Introspection data for org.project.SignalingIface ---- */ 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SimpleSignal", 820s # NULL, 820s # NULL 820s # }, 820s # "simple-signal" 820s # }; 820s # 820s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 820s # { 820s # { 820s # -1, 820s # (gchar *) "arg_h", 820s # (gchar *) "h", 820s # NULL 820s # }, 820s # FALSE 820s # }; 820s # 820s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SingleArgSignalH", 820s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 820s # NULL 820s # }, 820s # "single-arg-signal-h" 820s # }; 820s # 820s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 820s # { 820s # { 820s # -1, 820s # (gchar *) "org.project.SignalingIface", 820s # NULL, 820s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 820s # NULL, 820s # NULL 820s # }, 820s # "org-project-signaling-iface", 820s # }; 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_interface_info: 820s # * 820s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 820s # * 820s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 820s # */ 820s # GDBusInterfaceInfo * 820s # org_project_signaling_iface_interface_info (void) 820s # { 820s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_override_properties: 820s # * @klass: The class structure for a #GObject derived class. 820s # * @property_id_begin: The property id to assign to the first overridden property. 820s # * 820s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 820s # * The properties are overridden in the order they are defined. 820s # * 820s # * Returns: The last property id. 820s # */ 820s # guint 820s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 820s # { 820s # return property_id_begin - 1; 820s # } 820s # 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_simple_signal ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__VOID (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__VARIANT (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # 820s # /** 820s # * OrgProjectSignalingIface: 820s # * 820s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceIface: 820s # * @parent_iface: The parent interface. 820s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 820s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 820s # * 820s # * Virtual table for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 820s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 820s # 820s # static void 820s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # /* GObject signals for received D-Bus signals: */ 820s # /** 820s # * OrgProjectSignalingIface::simple-signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 820s # g_signal_new ("simple-signal", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_simple_signal, 820s # G_TYPE_NONE, 820s # 0); 820s # 820s # /** 820s # * OrgProjectSignalingIface::single-arg-signal-h: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_h: Argument. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 820s # g_signal_new ("single-arg-signal-h", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 820s # G_TYPE_NONE, 820s # 1, G_TYPE_VARIANT); 820s # 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_simple_signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * Emits the "SimpleSignal" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_single_arg_signal_h: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_h: Argument to pass with the signal. 820s # * 820s # * Emits the "SingleArgSignalH" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_single_arg_signal_h ( 820s # OrgProjectSignalingIface *object, 820s # GVariant *arg_arg_h) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 820s # } 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxy: 820s # * 820s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxyClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceProxy. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceProxyPrivate 820s # { 820s # GData *qdata; 820s # }; 820s # 820s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_proxy_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 820s # g_datalist_clear (&proxy->priv->qdata); 820s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # const GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 820s # const gchar *sender_name G_GNUC_UNUSED, 820s # const gchar *signal_name, 820s # GVariant *parameters) 820s # { 820s # _ExtendedGDBusSignalInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # gsize n; 820s # guint signal_id; 820s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 820s # if (info == NULL) 820s # return; 820s # num_params = g_variant_n_children (parameters); 820s # paramv = g_new0 (GValue, num_params + 1); 820s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[0], proxy); 820s # g_variant_iter_init (&iter, parameters); 820s # n = 1; 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_signal_emitv (paramv, signal_id, 0, NULL); 820s # for (n = 0; n < num_params + 1; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 820s # GVariant *changed_properties, 820s # const gchar *const *invalidated_properties) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 820s # guint n; 820s # const gchar *key; 820s # GVariantIter *iter; 820s # _ExtendedGDBusPropertyInfo *info; 820s # g_variant_get (changed_properties, "a{sv}", &iter); 820s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 820s # g_datalist_remove_data (&proxy->priv->qdata, key); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # g_variant_iter_free (iter); 820s # for (n = 0; invalidated_properties[n] != NULL; n++) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 820s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 820s # #else 820s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 820s # #endif 820s # 820s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusProxyClass *proxy_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 820s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 820s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 820s # 820s # proxy_class = G_DBUS_PROXY_CLASS (klass); 820s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 820s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_sync: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_sync ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new_for_bus ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_sync: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_sync ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeleton: 820s # * 820s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeletonClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceSkeletonPrivate 820s # { 820s # GValue *properties; 820s # GList *changed_properties; 820s # GSource *changed_properties_idle_source; 820s # GMainContext *context; 820s # GMutex lock; 820s # }; 820s # 820s # static void 820s # _org_project_signaling_iface_skeleton_handle_method_call ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name, 820s # const gchar *method_name, 820s # GVariant *parameters, 820s # GDBusMethodInvocation *invocation, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # _ExtendedGDBusMethodInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # guint num_extra; 820s # gsize n; 820s # guint signal_id; 820s # GValue return_value = G_VALUE_INIT; 820s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 820s # g_assert (info != NULL); 820s # num_params = g_variant_n_children (parameters); 820s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 820s # n = 0; 820s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[n++], skeleton); 820s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 820s # g_value_set_object (¶mv[n++], invocation); 820s # if (info->pass_fdlist) 820s # { 820s # #ifdef G_OS_UNIX 820s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 820s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 820s # #else 820s # g_assert_not_reached (); 820s # #endif 820s # } 820s # g_variant_iter_init (&iter, parameters); 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_init (&return_value, G_TYPE_BOOLEAN); 820s # g_signal_emitv (paramv, signal_id, 0, &return_value); 820s # if (!g_value_get_boolean (&return_value)) 820s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 820s # g_value_unset (&return_value); 820s # for (n = 0; n < num_params + num_extra; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static GVariant * 820s # _org_project_signaling_iface_skeleton_handle_get_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # GVariant *ret; 820s # ret = NULL; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # g_value_init (&value, pspec->value_type); 820s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 820s # g_value_unset (&value); 820s # } 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _org_project_signaling_iface_skeleton_handle_set_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GVariant *variant, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # gboolean ret; 820s # ret = FALSE; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # if (info->use_gvariant) 820s # g_value_set_variant (&value, variant); 820s # else 820s # g_dbus_gvariant_to_gvalue (variant, &value); 820s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # g_value_unset (&value); 820s # ret = TRUE; 820s # } 820s # return ret; 820s # } 820s # 820s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 820s # { 820s # _org_project_signaling_iface_skeleton_handle_method_call, 820s # _org_project_signaling_iface_skeleton_handle_get_property, 820s # _org_project_signaling_iface_skeleton_handle_set_property, 820s # {NULL} 820s # }; 820s # 820s # static GDBusInterfaceInfo * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return org_project_signaling_iface_interface_info (); 820s # } 820s # 820s # static GDBusInterfaceVTable * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 820s # } 820s # 820s # static GVariant * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 820s # 820s # GVariantBuilder builder; 820s # guint n; 820s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 820s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 820s # goto out; 820s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 820s # { 820s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 820s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 820s # { 820s # GVariant *value; 820s # 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); 820s # if (value != NULL) 820s # { 820s # g_variant_take_ref (value); 820s # g_variant_builder_add (&builder, "{sv}", info->name, value); 820s # g_variant_unref (value); 820s # } 820s # } 820s # } 820s # out: 820s # return g_variant_builder_end (&builder); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 820s # OrgProjectSignalingIface *object, 820s # GVariant *arg_arg_h) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 820s # arg_arg_h)); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_skeleton_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 820s # if (skeleton->priv->changed_properties_idle_source != NULL) 820s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 820s # g_main_context_unref (skeleton->priv->context); 820s # g_mutex_clear (&skeleton->priv->lock); 820s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 820s # #else 820s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 820s # #endif 820s # 820s # g_mutex_init (&skeleton->priv->lock); 820s # skeleton->priv->context = g_main_context_ref_thread_default (); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusInterfaceSkeletonClass *skeleton_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 820s # 820s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 820s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 820s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 820s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 820s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 820s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_skeleton_new: 820s # * 820s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_skeleton_new (void) 820s # { 820s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 820s # } 820s # /tmp/tmpn98ddxmx/tmp318mgv69.xml: 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn98ddxmx/tmp318mgv69.xml', '--output', '-', '--body'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: /* 820s # * This file is generated by gdbus-codegen, do not modify it. 820s # * 820s # * The license of this code is the same as for the D-Bus interface description 820s # * it was derived from. Note that it links to GLib, so must comply with the 820s # * LGPL linking clauses. 820s # */ 820s # 820s # #ifdef HAVE_CONFIG_H 820s # # include "config.h" 820s # #endif 820s # 820s # #include 820s # #ifdef G_OS_UNIX 820s # # include 820s # #endif 820s # 820s # #ifdef G_ENABLE_DEBUG 820s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 820s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 820s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 820s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 820s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 820s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 820s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 820s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 820s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 820s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 820s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 820s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 820s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 820s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 820s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 820s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 820s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 820s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 820s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 820s # #else /* !G_ENABLE_DEBUG */ 820s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 820s # * Do not access GValues directly in your code. Instead, use the 820s # * g_value_get_*() functions 820s # */ 820s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 820s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 820s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 820s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 820s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 820s # #endif /* !G_ENABLE_DEBUG */ 820s # 820s # typedef struct 820s # { 820s # GDBusArgInfo parent_struct; 820s # gboolean use_gvariant; 820s # } _ExtendedGDBusArgInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusMethodInfo parent_struct; 820s # const gchar *signal_name; 820s # gboolean pass_fdlist; 820s # } _ExtendedGDBusMethodInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusSignalInfo parent_struct; 820s # const gchar *signal_name; 820s # } _ExtendedGDBusSignalInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusPropertyInfo parent_struct; 820s # const gchar *hyphen_name; 820s # guint use_gvariant : 1; 820s # guint emits_changed_signal : 1; 820s # } _ExtendedGDBusPropertyInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusInterfaceInfo parent_struct; 820s # const gchar *hyphen_name; 820s # } _ExtendedGDBusInterfaceInfo; 820s # 820s # typedef struct 820s # { 820s # const _ExtendedGDBusPropertyInfo *info; 820s # guint prop_id; 820s # GValue orig_value; /* the value before the change */ 820s # } ChangedProperty; 820s # 820s # static void 820s # _changed_property_free (ChangedProperty *data) 820s # { 820s # g_value_unset (&data->orig_value); 820s # g_free (data); 820s # } 820s # 820s # static gboolean 820s # _g_strv_equal0 (gchar **a, gchar **b) 820s # { 820s # gboolean ret = FALSE; 820s # guint n; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # if (g_strv_length (a) != g_strv_length (b)) 820s # goto out; 820s # for (n = 0; a[n] != NULL; n++) 820s # if (g_strcmp0 (a[n], b[n]) != 0) 820s # goto out; 820s # ret = TRUE; 820s # out: 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _g_variant_equal0 (GVariant *a, GVariant *b) 820s # { 820s # gboolean ret = FALSE; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # ret = g_variant_equal (a, b); 820s # out: 820s # return ret; 820s # } 820s # 820s # G_GNUC_UNUSED static gboolean 820s # _g_value_equal (const GValue *a, const GValue *b) 820s # { 820s # gboolean ret = FALSE; 820s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 820s # switch (G_VALUE_TYPE (a)) 820s # { 820s # case G_TYPE_BOOLEAN: 820s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 820s # break; 820s # case G_TYPE_UCHAR: 820s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 820s # break; 820s # case G_TYPE_INT: 820s # ret = (g_value_get_int (a) == g_value_get_int (b)); 820s # break; 820s # case G_TYPE_UINT: 820s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 820s # break; 820s # case G_TYPE_INT64: 820s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 820s # break; 820s # case G_TYPE_UINT64: 820s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 820s # break; 820s # case G_TYPE_DOUBLE: 820s # { 820s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 820s # gdouble da = g_value_get_double (a); 820s # gdouble db = g_value_get_double (b); 820s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 820s # } 820s # break; 820s # case G_TYPE_STRING: 820s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 820s # break; 820s # case G_TYPE_VARIANT: 820s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 820s # break; 820s # default: 820s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 820s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 820s # else 820s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 820s # break; 820s # } 820s # return ret; 820s # } 820s # 820s # /* ------------------------------------------------------------------------ 820s # * Code for interface org.project.SignalingIface 820s # * ------------------------------------------------------------------------ 820s # */ 820s # 820s # /** 820s # * SECTION:OrgProjectSignalingIface 820s # * @title: OrgProjectSignalingIface 820s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 820s # * 820s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 820s # */ 820s # 820s # enum 820s # { 820s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 820s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 820s # }; 820s # 820s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 820s # 820s # /* ---- Introspection data for org.project.SignalingIface ---- */ 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SimpleSignal", 820s # NULL, 820s # NULL 820s # }, 820s # "simple-signal" 820s # }; 820s # 820s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 820s # { 820s # { 820s # -1, 820s # (gchar *) "arg_ay", 820s # (gchar *) "ay", 820s # NULL 820s # }, 820s # FALSE 820s # }; 820s # 820s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SingleArgSignalAy", 820s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 820s # NULL 820s # }, 820s # "single-arg-signal-ay" 820s # }; 820s # 820s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 820s # { 820s # { 820s # -1, 820s # (gchar *) "org.project.SignalingIface", 820s # NULL, 820s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 820s # NULL, 820s # NULL 820s # }, 820s # "org-project-signaling-iface", 820s # }; 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_interface_info: 820s # * 820s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 820s # * 820s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 820s # */ 820s # GDBusInterfaceInfo * 820s # org_project_signaling_iface_interface_info (void) 820s # { 820s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_override_properties: 820s # * @klass: The class structure for a #GObject derived class. 820s # * @property_id_begin: The property id to assign to the first overridden property. 820s # * 820s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 820s # * The properties are overridden in the order they are defined. 820s # * 820s # * Returns: The last property id. 820s # */ 820s # guint 820s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 820s # { 820s # return property_id_begin - 1; 820s # } 820s # 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_simple_signal ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__VOID (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__STRING (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # 820s # /** 820s # * OrgProjectSignalingIface: 820s # * 820s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceIface: 820s # * @parent_iface: The parent interface. 820s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 820s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 820s # * 820s # * Virtual table for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 820s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 820s # 820s # static void 820s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # /* GObject signals for received D-Bus signals: */ 820s # /** 820s # * OrgProjectSignalingIface::simple-signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 820s # g_signal_new ("simple-signal", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_simple_signal, 820s # G_TYPE_NONE, 820s # 0); 820s # 820s # /** 820s # * OrgProjectSignalingIface::single-arg-signal-ay: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_ay: Argument. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 820s # g_signal_new ("single-arg-signal-ay", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 820s # G_TYPE_NONE, 820s # 1, G_TYPE_STRING); 820s # 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_simple_signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * Emits the "SimpleSignal" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_single_arg_signal_ay: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_ay: Argument to pass with the signal. 820s # * 820s # * Emits the "SingleArgSignalAy" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_single_arg_signal_ay ( 820s # OrgProjectSignalingIface *object, 820s # const gchar *arg_arg_ay) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 820s # } 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxy: 820s # * 820s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxyClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceProxy. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceProxyPrivate 820s # { 820s # GData *qdata; 820s # }; 820s # 820s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_proxy_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 820s # g_datalist_clear (&proxy->priv->qdata); 820s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # const GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 820s # const gchar *sender_name G_GNUC_UNUSED, 820s # const gchar *signal_name, 820s # GVariant *parameters) 820s # { 820s # _ExtendedGDBusSignalInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # gsize n; 820s # guint signal_id; 820s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 820s # if (info == NULL) 820s # return; 820s # num_params = g_variant_n_children (parameters); 820s # paramv = g_new0 (GValue, num_params + 1); 820s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[0], proxy); 820s # g_variant_iter_init (&iter, parameters); 820s # n = 1; 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_signal_emitv (paramv, signal_id, 0, NULL); 820s # for (n = 0; n < num_params + 1; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 820s # GVariant *changed_properties, 820s # const gchar *const *invalidated_properties) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 820s # guint n; 820s # const gchar *key; 820s # GVariantIter *iter; 820s # _ExtendedGDBusPropertyInfo *info; 820s # g_variant_get (changed_properties, "a{sv}", &iter); 820s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 820s # g_datalist_remove_data (&proxy->priv->qdata, key); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # g_variant_iter_free (iter); 820s # for (n = 0; invalidated_properties[n] != NULL; n++) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 820s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 820s # #else 820s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 820s # #endif 820s # 820s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusProxyClass *proxy_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 820s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 820s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 820s # 820s # proxy_class = G_DBUS_PROXY_CLASS (klass); 820s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 820s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_sync: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_sync ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new_for_bus ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_sync: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_sync ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeleton: 820s # * 820s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeletonClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceSkeletonPrivate 820s # { 820s # GValue *properties; 820s # GList *changed_properties; 820s # GSource *changed_properties_idle_source; 820s # GMainContext *context; 820s # GMutex lock; 820s # }; 820s # 820s # static void 820s # _org_project_signaling_iface_skeleton_handle_method_call ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name, 820s # const gchar *method_name, 820s # GVariant *parameters, 820s # GDBusMethodInvocation *invocation, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # _ExtendedGDBusMethodInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # guint num_extra; 820s # gsize n; 820s # guint signal_id; 820s # GValue return_value = G_VALUE_INIT; 820s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 820s # g_assert (info != NULL); 820s # num_params = g_variant_n_children (parameters); 820s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 820s # n = 0; 820s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[n++], skeleton); 820s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 820s # g_value_set_object (¶mv[n++], invocation); 820s # if (info->pass_fdlist) 820s # { 820s # #ifdef G_OS_UNIX 820s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 820s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 820s # #else 820s # g_assert_not_reached (); 820s # #endif 820s # } 820s # g_variant_iter_init (&iter, parameters); 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_init (&return_value, G_TYPE_BOOLEAN); 820s # g_signal_emitv (paramv, signal_id, 0, &return_value); 820s # if (!g_value_get_boolean (&return_value)) 820s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 820s # g_value_unset (&return_value); 820s # for (n = 0; n < num_params + num_extra; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static GVariant * 820s # _org_project_signaling_iface_skeleton_handle_get_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # GVariant *ret; 820s # ret = NULL; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # g_value_init (&value, pspec->value_type); 820s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 820s # g_value_unset (&value); 820s # } 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _org_project_signaling_iface_skeleton_handle_set_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GVariant *variant, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # gboolean ret; 820s # ret = FALSE; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # if (info->use_gvariant) 820s # g_value_set_variant (&value, variant); 820s # else 820s # g_dbus_gvariant_to_gvalue (variant, &value); 820s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # g_value_unset (&value); 820s # ret = TRUE; 820s # } 820s # return ret; 820s # } 820s # 820s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 820s # { 820s # _org_project_signaling_iface_skeleton_handle_method_call, 820s # _org_project_signaling_iface_skeleton_handle_get_property, 820s # _org_project_signaling_iface_skeleton_handle_set_property, 820s # {NULL} 820s # }; 820s # 820s # static GDBusInterfaceInfo * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return org_project_signaling_iface_interface_info (); 820s # } 820s # 820s # static GDBusInterfaceVTable * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 820s # } 820s # 820s # static GVariant * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 820s # 820s # GVariantBuilder builder; 820s # guint n; 820s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 820s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 820s # goto out; 820s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 820s # { 820s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 820s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 820s # { 820s # GVariant *value; 820s # 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); 820s # if (value != NULL) 820s # { 820s # g_variant_take_ref (value); 820s # g_variant_builder_add (&builder, "{sv}", info->name, value); 820s # g_variant_unref (value); 820s # } 820s # } 820s # } 820s # out: 820s # return g_variant_builder_end (&builder); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 820s # OrgProjectSignalingIface *object, 820s # const gchar *arg_arg_ay) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 820s # arg_arg_ay)); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_skeleton_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 820s # if (skeleton->priv->changed_properties_idle_source != NULL) 820s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 820s # g_main_context_unref (skeleton->priv->context); 820s # g_mutex_clear (&skeleton->priv->lock); 820s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 820s # #else 820s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 820s # #endif 820s # 820s # g_mutex_init (&skeleton->priv->lock); 820s # skeleton->priv->context = g_main_context_ref_thread_default (); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusInterfaceSkeletonClass *skeleton_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 820s # 820s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 820s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 820s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 820s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 820s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 820s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_skeleton_new: 820s # * 820s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_skeleton_new (void) 820s # { 820s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 820s # } 820s # /tmp/tmpn98ddxmx/tmp28uojpx4.xml: 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn98ddxmx/tmp28uojpx4.xml', '--output', '-', '--body'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: /* 820s # * This file is generated by gdbus-codegen, do not modify it. 820s # * 820s # * The license of this code is the same as for the D-Bus interface description 820s # * it was derived from. Note that it links to GLib, so must comply with the 820s # * LGPL linking clauses. 820s # */ 820s # 820s # #ifdef HAVE_CONFIG_H 820s # # include "config.h" 820s # #endif 820s # 820s # #include 820s # #ifdef G_OS_UNIX 820s # # include 820s # #endif 820s # 820s # #ifdef G_ENABLE_DEBUG 820s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 820s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 820s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 820s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 820s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 820s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 820s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 820s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 820s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 820s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 820s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 820s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 820s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 820s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 820s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 820s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 820s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 820s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 820s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 820s # #else /* !G_ENABLE_DEBUG */ 820s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 820s # * Do not access GValues directly in your code. Instead, use the 820s # * g_value_get_*() functions 820s # */ 820s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 820s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 820s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 820s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 820s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 820s # #endif /* !G_ENABLE_DEBUG */ 820s # 820s # typedef struct 820s # { 820s # GDBusArgInfo parent_struct; 820s # gboolean use_gvariant; 820s # } _ExtendedGDBusArgInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusMethodInfo parent_struct; 820s # const gchar *signal_name; 820s # gboolean pass_fdlist; 820s # } _ExtendedGDBusMethodInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusSignalInfo parent_struct; 820s # const gchar *signal_name; 820s # } _ExtendedGDBusSignalInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusPropertyInfo parent_struct; 820s # const gchar *hyphen_name; 820s # guint use_gvariant : 1; 820s # guint emits_changed_signal : 1; 820s # } _ExtendedGDBusPropertyInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusInterfaceInfo parent_struct; 820s # const gchar *hyphen_name; 820s # } _ExtendedGDBusInterfaceInfo; 820s # 820s # typedef struct 820s # { 820s # const _ExtendedGDBusPropertyInfo *info; 820s # guint prop_id; 820s # GValue orig_value; /* the value before the change */ 820s # } ChangedProperty; 820s # 820s # static void 820s # _changed_property_free (ChangedProperty *data) 820s # { 820s # g_value_unset (&data->orig_value); 820s # g_free (data); 820s # } 820s # 820s # static gboolean 820s # _g_strv_equal0 (gchar **a, gchar **b) 820s # { 820s # gboolean ret = FALSE; 820s # guint n; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # if (g_strv_length (a) != g_strv_length (b)) 820s # goto out; 820s # for (n = 0; a[n] != NULL; n++) 820s # if (g_strcmp0 (a[n], b[n]) != 0) 820s # goto out; 820s # ret = TRUE; 820s # out: 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _g_variant_equal0 (GVariant *a, GVariant *b) 820s # { 820s # gboolean ret = FALSE; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # ret = g_variant_equal (a, b); 820s # out: 820s # return ret; 820s # } 820s # 820s # G_GNUC_UNUSED static gboolean 820s # _g_value_equal (const GValue *a, const GValue *b) 820s # { 820s # gboolean ret = FALSE; 820s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 820s # switch (G_VALUE_TYPE (a)) 820s # { 820s # case G_TYPE_BOOLEAN: 820s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 820s # break; 820s # case G_TYPE_UCHAR: 820s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 820s # break; 820s # case G_TYPE_INT: 820s # ret = (g_value_get_int (a) == g_value_get_int (b)); 820s # break; 820s # case G_TYPE_UINT: 820s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 820s # break; 820s # case G_TYPE_INT64: 820s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 820s # break; 820s # case G_TYPE_UINT64: 820s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 820s # break; 820s # case G_TYPE_DOUBLE: 820s # { 820s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 820s # gdouble da = g_value_get_double (a); 820s # gdouble db = g_value_get_double (b); 820s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 820s # } 820s # break; 820s # case G_TYPE_STRING: 820s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 820s # break; 820s # case G_TYPE_VARIANT: 820s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 820s # break; 820s # default: 820s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 820s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 820s # else 820s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 820s # break; 820s # } 820s # return ret; 820s # } 820s # 820s # /* ------------------------------------------------------------------------ 820s # * Code for interface org.project.SignalingIface 820s # * ------------------------------------------------------------------------ 820s # */ 820s # 820s # /** 820s # * SECTION:OrgProjectSignalingIface 820s # * @title: OrgProjectSignalingIface 820s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 820s # * 820s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 820s # */ 820s # 820s # enum 820s # { 820s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 820s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 820s # }; 820s # 820s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 820s # 820s # /* ---- Introspection data for org.project.SignalingIface ---- */ 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SimpleSignal", 820s # NULL, 820s # NULL 820s # }, 820s # "simple-signal" 820s # }; 820s # 820s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 820s # { 820s # { 820s # -1, 820s # (gchar *) "arg_as", 820s # (gchar *) "as", 820s # NULL 820s # }, 820s # FALSE 820s # }; 820s # 820s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SingleArgSignalAs", 820s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 820s # NULL 820s # }, 820s # "single-arg-signal-as" 820s # }; 820s # 820s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 820s # { 820s # { 820s # -1, 820s # (gchar *) "org.project.SignalingIface", 820s # NULL, 820s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 820s # NULL, 820s # NULL 820s # }, 820s # "org-project-signaling-iface", 820s # }; 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_interface_info: 820s # * 820s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 820s # * 820s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 820s # */ 820s # GDBusInterfaceInfo * 820s # org_project_signaling_iface_interface_info (void) 820s # { 820s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_override_properties: 820s # * @klass: The class structure for a #GObject derived class. 820s # * @property_id_begin: The property id to assign to the first overridden property. 820s # * 820s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 820s # * The properties are overridden in the order they are defined. 820s # * 820s # * Returns: The last property id. 820s # */ 820s # guint 820s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 820s # { 820s # return property_id_begin - 1; 820s # } 820s # 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_simple_signal ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__VOID (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__BOXED (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # 820s # /** 820s # * OrgProjectSignalingIface: 820s # * 820s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceIface: 820s # * @parent_iface: The parent interface. 820s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 820s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 820s # * 820s # * Virtual table for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 820s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 820s # 820s # static void 820s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # /* GObject signals for received D-Bus signals: */ 820s # /** 820s # * OrgProjectSignalingIface::simple-signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 820s # g_signal_new ("simple-signal", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_simple_signal, 820s # G_TYPE_NONE, 820s # 0); 820s # 820s # /** 820s # * OrgProjectSignalingIface::single-arg-signal-as: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_as: Argument. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 820s # g_signal_new ("single-arg-signal-as", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 820s # G_TYPE_NONE, 820s # 1, G_TYPE_STRV); 820s # 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_simple_signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * Emits the "SimpleSignal" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_single_arg_signal_as: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_as: Argument to pass with the signal. 820s # * 820s # * Emits the "SingleArgSignalAs" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_single_arg_signal_as ( 820s # OrgProjectSignalingIface *object, 820s # const gchar *const *arg_arg_as) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 820s # } 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxy: 820s # * 820s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxyClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceProxy. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceProxyPrivate 820s # { 820s # GData *qdata; 820s # }; 820s # 820s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_proxy_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 820s # g_datalist_clear (&proxy->priv->qdata); 820s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # const GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 820s # const gchar *sender_name G_GNUC_UNUSED, 820s # const gchar *signal_name, 820s # GVariant *parameters) 820s # { 820s # _ExtendedGDBusSignalInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # gsize n; 820s # guint signal_id; 820s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 820s # if (info == NULL) 820s # return; 820s # num_params = g_variant_n_children (parameters); 820s # paramv = g_new0 (GValue, num_params + 1); 820s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[0], proxy); 820s # g_variant_iter_init (&iter, parameters); 820s # n = 1; 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_signal_emitv (paramv, signal_id, 0, NULL); 820s # for (n = 0; n < num_params + 1; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 820s # GVariant *changed_properties, 820s # const gchar *const *invalidated_properties) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 820s # guint n; 820s # const gchar *key; 820s # GVariantIter *iter; 820s # _ExtendedGDBusPropertyInfo *info; 820s # g_variant_get (changed_properties, "a{sv}", &iter); 820s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 820s # g_datalist_remove_data (&proxy->priv->qdata, key); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # g_variant_iter_free (iter); 820s # for (n = 0; invalidated_properties[n] != NULL; n++) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 820s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 820s # #else 820s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 820s # #endif 820s # 820s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusProxyClass *proxy_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 820s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 820s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 820s # 820s # proxy_class = G_DBUS_PROXY_CLASS (klass); 820s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 820s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_sync: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_sync ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new_for_bus ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_for_bus_sync: 820s # * @bus_type: A #GBusType. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: A bus name (well-known or unique). 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @error: Return location for error or %NULL 820s # * 820s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 820s # * 820s # * The calling thread is blocked until a reply is received. 820s # * 820s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_for_bus_sync ( 820s # GBusType bus_type, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GError **error) 820s # { 820s # GInitable *ret; 820s # 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); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 820s # else 820s # return NULL; 820s # } 820s # 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeleton: 820s # * 820s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceSkeletonClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceSkeletonPrivate 820s # { 820s # GValue *properties; 820s # GList *changed_properties; 820s # GSource *changed_properties_idle_source; 820s # GMainContext *context; 820s # GMutex lock; 820s # }; 820s # 820s # static void 820s # _org_project_signaling_iface_skeleton_handle_method_call ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name, 820s # const gchar *method_name, 820s # GVariant *parameters, 820s # GDBusMethodInvocation *invocation, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # _ExtendedGDBusMethodInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # guint num_extra; 820s # gsize n; 820s # guint signal_id; 820s # GValue return_value = G_VALUE_INIT; 820s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 820s # g_assert (info != NULL); 820s # num_params = g_variant_n_children (parameters); 820s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 820s # n = 0; 820s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[n++], skeleton); 820s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 820s # g_value_set_object (¶mv[n++], invocation); 820s # if (info->pass_fdlist) 820s # { 820s # #ifdef G_OS_UNIX 820s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 820s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 820s # #else 820s # g_assert_not_reached (); 820s # #endif 820s # } 820s # g_variant_iter_init (&iter, parameters); 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_init (&return_value, G_TYPE_BOOLEAN); 820s # g_signal_emitv (paramv, signal_id, 0, &return_value); 820s # if (!g_value_get_boolean (&return_value)) 820s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 820s # g_value_unset (&return_value); 820s # for (n = 0; n < num_params + num_extra; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static GVariant * 820s # _org_project_signaling_iface_skeleton_handle_get_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # GVariant *ret; 820s # ret = NULL; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # g_value_init (&value, pspec->value_type); 820s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 820s # g_value_unset (&value); 820s # } 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _org_project_signaling_iface_skeleton_handle_set_property ( 820s # GDBusConnection *connection G_GNUC_UNUSED, 820s # const gchar *sender G_GNUC_UNUSED, 820s # const gchar *object_path G_GNUC_UNUSED, 820s # const gchar *interface_name G_GNUC_UNUSED, 820s # const gchar *property_name, 820s # GVariant *variant, 820s # GError **error, 820s # gpointer user_data) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 820s # GValue value = G_VALUE_INIT; 820s # GParamSpec *pspec; 820s # _ExtendedGDBusPropertyInfo *info; 820s # gboolean ret; 820s # ret = FALSE; 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 820s # g_assert (info != NULL); 820s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 820s # if (pspec == NULL) 820s # { 820s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 820s # } 820s # else 820s # { 820s # if (info->use_gvariant) 820s # g_value_set_variant (&value, variant); 820s # else 820s # g_dbus_gvariant_to_gvalue (variant, &value); 820s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 820s # g_value_unset (&value); 820s # ret = TRUE; 820s # } 820s # return ret; 820s # } 820s # 820s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 820s # { 820s # _org_project_signaling_iface_skeleton_handle_method_call, 820s # _org_project_signaling_iface_skeleton_handle_get_property, 820s # _org_project_signaling_iface_skeleton_handle_set_property, 820s # {NULL} 820s # }; 820s # 820s # static GDBusInterfaceInfo * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return org_project_signaling_iface_interface_info (); 820s # } 820s # 820s # static GDBusInterfaceVTable * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 820s # { 820s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 820s # } 820s # 820s # static GVariant * 820s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 820s # 820s # GVariantBuilder builder; 820s # guint n; 820s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 820s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 820s # goto out; 820s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 820s # { 820s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 820s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 820s # { 820s # GVariant *value; 820s # 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); 820s # if (value != NULL) 820s # { 820s # g_variant_take_ref (value); 820s # g_variant_builder_add (&builder, "{sv}", info->name, value); 820s # g_variant_unref (value); 820s # } 820s # } 820s # } 820s # out: 820s # return g_variant_builder_end (&builder); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void 820s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 820s # OrgProjectSignalingIface *object, 820s # const gchar *const *arg_arg_as) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # 820s # GList *connections, *l; 820s # GVariant *signal_variant; 820s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 820s # 820s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 820s # arg_arg_as)); 820s # for (l = connections; l != NULL; l = l->next) 820s # { 820s # GDBusConnection *connection = l->data; 820s # g_dbus_connection_emit_signal (connection, 820s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 820s # signal_variant, NULL); 820s # } 820s # g_variant_unref (signal_variant); 820s # g_list_free_full (connections, g_object_unref); 820s # } 820s # 820s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_skeleton_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 820s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 820s # if (skeleton->priv->changed_properties_idle_source != NULL) 820s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 820s # g_main_context_unref (skeleton->priv->context); 820s # g_mutex_clear (&skeleton->priv->lock); 820s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 820s # #else 820s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 820s # #endif 820s # 820s # g_mutex_init (&skeleton->priv->lock); 820s # skeleton->priv->context = g_main_context_ref_thread_default (); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusInterfaceSkeletonClass *skeleton_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 820s # 820s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 820s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 820s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 820s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 820s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 820s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_skeleton_new: 820s # * 820s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_skeleton_new (void) 820s # { 820s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 820s # } 820s # /tmp/tmpn98ddxmx/tmpvg7frnin.xml: 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # 820s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn98ddxmx/tmpvg7frnin.xml', '--output', '-', '--body'] 820s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 820s # Output: /* 820s # * This file is generated by gdbus-codegen, do not modify it. 820s # * 820s # * The license of this code is the same as for the D-Bus interface description 820s # * it was derived from. Note that it links to GLib, so must comply with the 820s # * LGPL linking clauses. 820s # */ 820s # 820s # #ifdef HAVE_CONFIG_H 820s # # include "config.h" 820s # #endif 820s # 820s # #include 820s # #ifdef G_OS_UNIX 820s # # include 820s # #endif 820s # 820s # #ifdef G_ENABLE_DEBUG 820s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 820s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 820s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 820s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 820s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 820s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 820s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 820s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 820s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 820s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 820s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 820s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 820s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 820s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 820s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 820s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 820s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 820s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 820s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 820s # #else /* !G_ENABLE_DEBUG */ 820s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 820s # * Do not access GValues directly in your code. Instead, use the 820s # * g_value_get_*() functions 820s # */ 820s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 820s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 820s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 820s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 820s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 820s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 820s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 820s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 820s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 820s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 820s # #endif /* !G_ENABLE_DEBUG */ 820s # 820s # typedef struct 820s # { 820s # GDBusArgInfo parent_struct; 820s # gboolean use_gvariant; 820s # } _ExtendedGDBusArgInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusMethodInfo parent_struct; 820s # const gchar *signal_name; 820s # gboolean pass_fdlist; 820s # } _ExtendedGDBusMethodInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusSignalInfo parent_struct; 820s # const gchar *signal_name; 820s # } _ExtendedGDBusSignalInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusPropertyInfo parent_struct; 820s # const gchar *hyphen_name; 820s # guint use_gvariant : 1; 820s # guint emits_changed_signal : 1; 820s # } _ExtendedGDBusPropertyInfo; 820s # 820s # typedef struct 820s # { 820s # GDBusInterfaceInfo parent_struct; 820s # const gchar *hyphen_name; 820s # } _ExtendedGDBusInterfaceInfo; 820s # 820s # typedef struct 820s # { 820s # const _ExtendedGDBusPropertyInfo *info; 820s # guint prop_id; 820s # GValue orig_value; /* the value before the change */ 820s # } ChangedProperty; 820s # 820s # static void 820s # _changed_property_free (ChangedProperty *data) 820s # { 820s # g_value_unset (&data->orig_value); 820s # g_free (data); 820s # } 820s # 820s # static gboolean 820s # _g_strv_equal0 (gchar **a, gchar **b) 820s # { 820s # gboolean ret = FALSE; 820s # guint n; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # if (g_strv_length (a) != g_strv_length (b)) 820s # goto out; 820s # for (n = 0; a[n] != NULL; n++) 820s # if (g_strcmp0 (a[n], b[n]) != 0) 820s # goto out; 820s # ret = TRUE; 820s # out: 820s # return ret; 820s # } 820s # 820s # static gboolean 820s # _g_variant_equal0 (GVariant *a, GVariant *b) 820s # { 820s # gboolean ret = FALSE; 820s # if (a == NULL && b == NULL) 820s # { 820s # ret = TRUE; 820s # goto out; 820s # } 820s # if (a == NULL || b == NULL) 820s # goto out; 820s # ret = g_variant_equal (a, b); 820s # out: 820s # return ret; 820s # } 820s # 820s # G_GNUC_UNUSED static gboolean 820s # _g_value_equal (const GValue *a, const GValue *b) 820s # { 820s # gboolean ret = FALSE; 820s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 820s # switch (G_VALUE_TYPE (a)) 820s # { 820s # case G_TYPE_BOOLEAN: 820s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 820s # break; 820s # case G_TYPE_UCHAR: 820s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 820s # break; 820s # case G_TYPE_INT: 820s # ret = (g_value_get_int (a) == g_value_get_int (b)); 820s # break; 820s # case G_TYPE_UINT: 820s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 820s # break; 820s # case G_TYPE_INT64: 820s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 820s # break; 820s # case G_TYPE_UINT64: 820s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 820s # break; 820s # case G_TYPE_DOUBLE: 820s # { 820s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 820s # gdouble da = g_value_get_double (a); 820s # gdouble db = g_value_get_double (b); 820s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 820s # } 820s # break; 820s # case G_TYPE_STRING: 820s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 820s # break; 820s # case G_TYPE_VARIANT: 820s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 820s # break; 820s # default: 820s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 820s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 820s # else 820s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 820s # break; 820s # } 820s # return ret; 820s # } 820s # 820s # /* ------------------------------------------------------------------------ 820s # * Code for interface org.project.SignalingIface 820s # * ------------------------------------------------------------------------ 820s # */ 820s # 820s # /** 820s # * SECTION:OrgProjectSignalingIface 820s # * @title: OrgProjectSignalingIface 820s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 820s # * 820s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 820s # */ 820s # 820s # enum 820s # { 820s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 820s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 820s # }; 820s # 820s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 820s # 820s # /* ---- Introspection data for org.project.SignalingIface ---- */ 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SimpleSignal", 820s # NULL, 820s # NULL 820s # }, 820s # "simple-signal" 820s # }; 820s # 820s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 820s # { 820s # { 820s # -1, 820s # (gchar *) "arg_ao", 820s # (gchar *) "ao", 820s # NULL 820s # }, 820s # FALSE 820s # }; 820s # 820s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 820s # { 820s # { 820s # -1, 820s # (gchar *) "SingleArgSignalAo", 820s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 820s # NULL 820s # }, 820s # "single-arg-signal-ao" 820s # }; 820s # 820s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 820s # { 820s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 820s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 820s # NULL 820s # }; 820s # 820s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 820s # { 820s # { 820s # -1, 820s # (gchar *) "org.project.SignalingIface", 820s # NULL, 820s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 820s # NULL, 820s # NULL 820s # }, 820s # "org-project-signaling-iface", 820s # }; 820s # 820s # 820s # /** 820s # * org_project_signaling_iface_interface_info: 820s # * 820s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 820s # * 820s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 820s # */ 820s # GDBusInterfaceInfo * 820s # org_project_signaling_iface_interface_info (void) 820s # { 820s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_override_properties: 820s # * @klass: The class structure for a #GObject derived class. 820s # * @property_id_begin: The property id to assign to the first overridden property. 820s # * 820s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 820s # * The properties are overridden in the order they are defined. 820s # * 820s # * Returns: The last property id. 820s # */ 820s # guint 820s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 820s # { 820s # return property_id_begin - 1; 820s # } 820s # 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_simple_signal ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__VOID (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # inline static void 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 820s # GClosure *closure, 820s # GValue *return_value, 820s # unsigned int n_param_values, 820s # const GValue *param_values, 820s # void *invocation_hint, 820s # void *marshal_data) 820s # { 820s # g_cclosure_marshal_VOID__BOXED (closure, 820s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 820s # } 820s # 820s # 820s # /** 820s # * OrgProjectSignalingIface: 820s # * 820s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceIface: 820s # * @parent_iface: The parent interface. 820s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 820s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 820s # * 820s # * Virtual table for the D-Bus interface org.project.SignalingIface. 820s # */ 820s # 820s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 820s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 820s # 820s # static void 820s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 820s # { 820s # /* GObject signals for received D-Bus signals: */ 820s # /** 820s # * OrgProjectSignalingIface::simple-signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 820s # g_signal_new ("simple-signal", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_simple_signal, 820s # G_TYPE_NONE, 820s # 0); 820s # 820s # /** 820s # * OrgProjectSignalingIface::single-arg-signal-ao: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_ao: Argument. 820s # * 820s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 820s # * 820s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 820s # */ 820s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 820s # g_signal_new ("single-arg-signal-ao", 820s # G_TYPE_FROM_INTERFACE (iface), 820s # G_SIGNAL_RUN_LAST, 820s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 820s # NULL, 820s # NULL, 820s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 820s # G_TYPE_NONE, 820s # 1, G_TYPE_STRV); 820s # 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_simple_signal: 820s # * @object: A #OrgProjectSignalingIface. 820s # * 820s # * Emits the "SimpleSignal" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_simple_signal ( 820s # OrgProjectSignalingIface *object) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_emit_single_arg_signal_ao: 820s # * @object: A #OrgProjectSignalingIface. 820s # * @arg_arg_ao: Argument to pass with the signal. 820s # * 820s # * Emits the "SingleArgSignalAo" D-Bus signal. 820s # */ 820s # void 820s # org_project_signaling_iface_emit_single_arg_signal_ao ( 820s # OrgProjectSignalingIface *object, 820s # const gchar *const *arg_arg_ao) 820s # { 820s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 820s # } 820s # 820s # /* ------------------------------------------------------------------------ */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxy: 820s # * 820s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 820s # */ 820s # 820s # /** 820s # * OrgProjectSignalingIfaceProxyClass: 820s # * @parent_class: The parent class. 820s # * 820s # * Class structure for #OrgProjectSignalingIfaceProxy. 820s # */ 820s # 820s # struct _OrgProjectSignalingIfaceProxyPrivate 820s # { 820s # GData *qdata; 820s # }; 820s # 820s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #else 820s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 820s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 820s # 820s # #endif 820s # static void 820s # org_project_signaling_iface_proxy_finalize (GObject *object) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 820s # g_datalist_clear (&proxy->priv->qdata); 820s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 820s # guint prop_id G_GNUC_UNUSED, 820s # const GValue *value G_GNUC_UNUSED, 820s # GParamSpec *pspec G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 820s # const gchar *sender_name G_GNUC_UNUSED, 820s # const gchar *signal_name, 820s # GVariant *parameters) 820s # { 820s # _ExtendedGDBusSignalInfo *info; 820s # GVariantIter iter; 820s # GVariant *child; 820s # GValue *paramv; 820s # gsize num_params; 820s # gsize n; 820s # guint signal_id; 820s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 820s # if (info == NULL) 820s # return; 820s # num_params = g_variant_n_children (parameters); 820s # paramv = g_new0 (GValue, num_params + 1); 820s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_value_set_object (¶mv[0], proxy); 820s # g_variant_iter_init (&iter, parameters); 820s # n = 1; 820s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 820s # { 820s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 820s # if (arg_info->use_gvariant) 820s # { 820s # g_value_init (¶mv[n], G_TYPE_VARIANT); 820s # g_value_set_variant (¶mv[n], child); 820s # n++; 820s # } 820s # else 820s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 820s # g_variant_unref (child); 820s # } 820s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 820s # g_signal_emitv (paramv, signal_id, 0, NULL); 820s # for (n = 0; n < num_params + 1; n++) 820s # g_value_unset (¶mv[n]); 820s # g_free (paramv); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 820s # GVariant *changed_properties, 820s # const gchar *const *invalidated_properties) 820s # { 820s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 820s # guint n; 820s # const gchar *key; 820s # GVariantIter *iter; 820s # _ExtendedGDBusPropertyInfo *info; 820s # g_variant_get (changed_properties, "a{sv}", &iter); 820s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 820s # g_datalist_remove_data (&proxy->priv->qdata, key); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # g_variant_iter_free (iter); 820s # for (n = 0; invalidated_properties[n] != NULL; n++) 820s # { 820s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 820s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 820s # if (info != NULL) 820s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 820s # } 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 820s # { 820s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 820s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 820s # #else 820s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 820s # #endif 820s # 820s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 820s # { 820s # GObjectClass *gobject_class; 820s # GDBusProxyClass *proxy_class; 820s # 820s # gobject_class = G_OBJECT_CLASS (klass); 820s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 820s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 820s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 820s # 820s # proxy_class = G_DBUS_PROXY_CLASS (klass); 820s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 820s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 820s # 820s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 820s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 820s # #endif 820s # } 820s # 820s # static void 820s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 820s # { 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new: 820s # * @connection: A #GDBusConnection. 820s # * @flags: Flags from the #GDBusProxyFlags enumeration. 820s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 820s # * @object_path: An object path. 820s # * @cancellable: (nullable): A #GCancellable or %NULL. 820s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 820s # * @user_data: User data to pass to @callback. 820s # * 820s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 820s # * 820s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 820s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 820s # * 820s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 820s # */ 820s # void 820s # org_project_signaling_iface_proxy_new ( 820s # GDBusConnection *connection, 820s # GDBusProxyFlags flags, 820s # const gchar *name, 820s # const gchar *object_path, 820s # GCancellable *cancellable, 820s # GAsyncReadyCallback callback, 820s # gpointer user_data) 820s # { 820s # 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); 820s # } 820s # 820s # /** 820s # * org_project_signaling_iface_proxy_new_finish: 820s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 820s # * @error: Return location for error or %NULL 820s # * 820s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 820s # * 820s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 820s # */ 820s # OrgProjectSignalingIface * 820s # org_project_signaling_iface_proxy_new_finish ( 820s # GAsyncResult *res, 820s # GError **error) 820s # { 820s # GObject *ret; 820s # GObject *source_object; 820s # source_object = g_async_result_get_source_object (res); 820s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 820s # g_object_unref (source_object); 820s # if (ret != NULL) 820s # return ORG_PROJECT_SIGNALING_IFACE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new_sync: 821s # * @connection: A #GDBusConnection. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL 821s # * 821s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 821s # * 821s # * The calling thread is blocked until a reply is received. 821s # * 821s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 821s # * 821s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectSignalingIface * 821s # org_project_signaling_iface_proxy_new_sync ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GInitable *ret; 821s # 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); 821s # if (ret != NULL) 821s # return ORG_PROJECT_SIGNALING_IFACE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new_for_bus: 821s # * @bus_type: A #GBusType. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: A bus name (well-known or unique). 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 821s # * 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 821s # * 821s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 821s # */ 821s # void 821s # org_project_signaling_iface_proxy_new_for_bus ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # 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); 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new_for_bus_finish: 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 821s # * @error: Return location for error or %NULL 821s # * 821s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 821s # * 821s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectSignalingIface * 821s # org_project_signaling_iface_proxy_new_for_bus_finish ( 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GObject *ret; 821s # GObject *source_object; 821s # source_object = g_async_result_get_source_object (res); 821s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 821s # g_object_unref (source_object); 821s # if (ret != NULL) 821s # return ORG_PROJECT_SIGNALING_IFACE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new_for_bus_sync: 821s # * @bus_type: A #GBusType. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: A bus name (well-known or unique). 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL 821s # * 821s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 821s # * 821s # * The calling thread is blocked until a reply is received. 821s # * 821s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 821s # * 821s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectSignalingIface * 821s # org_project_signaling_iface_proxy_new_for_bus_sync ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GInitable *ret; 821s # 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); 821s # if (ret != NULL) 821s # return ORG_PROJECT_SIGNALING_IFACE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # 821s # /** 821s # * OrgProjectSignalingIfaceSkeleton: 821s # * 821s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 821s # */ 821s # 821s # /** 821s # * OrgProjectSignalingIfaceSkeletonClass: 821s # * @parent_class: The parent class. 821s # * 821s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 821s # */ 821s # 821s # struct _OrgProjectSignalingIfaceSkeletonPrivate 821s # { 821s # GValue *properties; 821s # GList *changed_properties; 821s # GSource *changed_properties_idle_source; 821s # GMainContext *context; 821s # GMutex lock; 821s # }; 821s # 821s # static void 821s # _org_project_signaling_iface_skeleton_handle_method_call ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name, 821s # const gchar *method_name, 821s # GVariant *parameters, 821s # GDBusMethodInvocation *invocation, 821s # gpointer user_data) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 821s # _ExtendedGDBusMethodInfo *info; 821s # GVariantIter iter; 821s # GVariant *child; 821s # GValue *paramv; 821s # gsize num_params; 821s # guint num_extra; 821s # gsize n; 821s # guint signal_id; 821s # GValue return_value = G_VALUE_INIT; 821s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 821s # g_assert (info != NULL); 821s # num_params = g_variant_n_children (parameters); 821s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 821s # n = 0; 821s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 821s # g_value_set_object (¶mv[n++], skeleton); 821s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 821s # g_value_set_object (¶mv[n++], invocation); 821s # if (info->pass_fdlist) 821s # { 821s # #ifdef G_OS_UNIX 821s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 821s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 821s # #else 821s # g_assert_not_reached (); 821s # #endif 821s # } 821s # g_variant_iter_init (&iter, parameters); 821s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 821s # { 821s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 821s # if (arg_info->use_gvariant) 821s # { 821s # g_value_init (¶mv[n], G_TYPE_VARIANT); 821s # g_value_set_variant (¶mv[n], child); 821s # n++; 821s # } 821s # else 821s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 821s # g_variant_unref (child); 821s # } 821s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 821s # g_value_init (&return_value, G_TYPE_BOOLEAN); 821s # g_signal_emitv (paramv, signal_id, 0, &return_value); 821s # if (!g_value_get_boolean (&return_value)) 821s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 821s # g_value_unset (&return_value); 821s # for (n = 0; n < num_params + num_extra; n++) 821s # g_value_unset (¶mv[n]); 821s # g_free (paramv); 821s # } 821s # 821s # static GVariant * 821s # _org_project_signaling_iface_skeleton_handle_get_property ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name G_GNUC_UNUSED, 821s # const gchar *property_name, 821s # GError **error, 821s # gpointer user_data) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 821s # GValue value = G_VALUE_INIT; 821s # GParamSpec *pspec; 821s # _ExtendedGDBusPropertyInfo *info; 821s # GVariant *ret; 821s # ret = NULL; 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 821s # g_assert (info != NULL); 821s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 821s # if (pspec == NULL) 821s # { 821s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 821s # } 821s # else 821s # { 821s # g_value_init (&value, pspec->value_type); 821s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 821s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 821s # g_value_unset (&value); 821s # } 821s # return ret; 821s # } 821s # 821s # static gboolean 821s # _org_project_signaling_iface_skeleton_handle_set_property ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name G_GNUC_UNUSED, 821s # const gchar *property_name, 821s # GVariant *variant, 821s # GError **error, 821s # gpointer user_data) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 821s # GValue value = G_VALUE_INIT; 821s # GParamSpec *pspec; 821s # _ExtendedGDBusPropertyInfo *info; 821s # gboolean ret; 821s # ret = FALSE; 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 821s # g_assert (info != NULL); 821s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 821s # if (pspec == NULL) 821s # { 821s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 821s # } 821s # else 821s # { 821s # if (info->use_gvariant) 821s # g_value_set_variant (&value, variant); 821s # else 821s # g_dbus_gvariant_to_gvalue (variant, &value); 821s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 821s # g_value_unset (&value); 821s # ret = TRUE; 821s # } 821s # return ret; 821s # } 821s # 821s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 821s # { 821s # _org_project_signaling_iface_skeleton_handle_method_call, 821s # _org_project_signaling_iface_skeleton_handle_get_property, 821s # _org_project_signaling_iface_skeleton_handle_set_property, 821s # {NULL} 821s # }; 821s # 821s # static GDBusInterfaceInfo * 821s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 821s # { 821s # return org_project_signaling_iface_interface_info (); 821s # } 821s # 821s # static GDBusInterfaceVTable * 821s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 821s # { 821s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 821s # } 821s # 821s # static GVariant * 821s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 821s # 821s # GVariantBuilder builder; 821s # guint n; 821s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 821s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 821s # goto out; 821s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 821s # { 821s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 821s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 821s # { 821s # GVariant *value; 821s # 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); 821s # if (value != NULL) 821s # { 821s # g_variant_take_ref (value); 821s # g_variant_builder_add (&builder, "{sv}", info->name, value); 821s # g_variant_unref (value); 821s # } 821s # } 821s # } 821s # out: 821s # return g_variant_builder_end (&builder); 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # static void 821s # _org_project_signaling_iface_on_signal_simple_signal ( 821s # OrgProjectSignalingIface *object) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 821s # 821s # GList *connections, *l; 821s # GVariant *signal_variant; 821s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 821s # 821s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 821s # for (l = connections; l != NULL; l = l->next) 821s # { 821s # GDBusConnection *connection = l->data; 821s # g_dbus_connection_emit_signal (connection, 821s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 821s # signal_variant, NULL); 821s # } 821s # g_variant_unref (signal_variant); 821s # g_list_free_full (connections, g_object_unref); 821s # } 821s # 821s # static void 821s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 821s # OrgProjectSignalingIface *object, 821s # const gchar *const *arg_arg_ao) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 821s # 821s # GList *connections, *l; 821s # GVariant *signal_variant; 821s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 821s # 821s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 821s # arg_arg_ao)); 821s # for (l = connections; l != NULL; l = l->next) 821s # { 821s # GDBusConnection *connection = l->data; 821s # g_dbus_connection_emit_signal (connection, 821s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 821s # signal_variant, NULL); 821s # } 821s # g_variant_unref (signal_variant); 821s # g_list_free_full (connections, g_object_unref); 821s # } 821s # 821s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 821s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 821s # 821s # #else 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 821s # 821s # #endif 821s # static void 821s # org_project_signaling_iface_skeleton_finalize (GObject *object) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 821s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 821s # if (skeleton->priv->changed_properties_idle_source != NULL) 821s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 821s # g_main_context_unref (skeleton->priv->context); 821s # g_mutex_clear (&skeleton->priv->lock); 821s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 821s # { 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 821s # #else 821s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 821s # #endif 821s # 821s # g_mutex_init (&skeleton->priv->lock); 821s # skeleton->priv->context = g_main_context_ref_thread_default (); 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 821s # { 821s # GObjectClass *gobject_class; 821s # GDBusInterfaceSkeletonClass *skeleton_class; 821s # 821s # gobject_class = G_OBJECT_CLASS (klass); 821s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 821s # 821s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 821s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 821s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 821s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 821s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 821s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 821s # #endif 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 821s # { 821s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 821s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_skeleton_new: 821s # * 821s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 821s # * 821s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 821s # */ 821s # OrgProjectSignalingIface * 821s # org_project_signaling_iface_skeleton_new (void) 821s # { 821s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 821s # } 821s # /tmp/tmpn98ddxmx/tmp2x8tmigm.xml: 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn98ddxmx/tmp2x8tmigm.xml', '--output', '-', '--body'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: /* 821s # * This file is generated by gdbus-codegen, do not modify it. 821s # * 821s # * The license of this code is the same as for the D-Bus interface description 821s # * it was derived from. Note that it links to GLib, so must comply with the 821s # * LGPL linking clauses. 821s # */ 821s # 821s # #ifdef HAVE_CONFIG_H 821s # # include "config.h" 821s # #endif 821s # 821s # #include 821s # #ifdef G_OS_UNIX 821s # # include 821s # #endif 821s # 821s # #ifdef G_ENABLE_DEBUG 821s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 821s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 821s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 821s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 821s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 821s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 821s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 821s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 821s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 821s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 821s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 821s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 821s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 821s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 821s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 821s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 821s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 821s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 821s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 821s # #else /* !G_ENABLE_DEBUG */ 821s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 821s # * Do not access GValues directly in your code. Instead, use the 821s # * g_value_get_*() functions 821s # */ 821s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 821s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 821s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 821s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 821s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 821s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 821s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 821s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 821s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 821s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 821s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 821s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 821s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 821s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 821s # #endif /* !G_ENABLE_DEBUG */ 821s # 821s # typedef struct 821s # { 821s # GDBusArgInfo parent_struct; 821s # gboolean use_gvariant; 821s # } _ExtendedGDBusArgInfo; 821s # 821s # typedef struct 821s # { 821s # GDBusMethodInfo parent_struct; 821s # const gchar *signal_name; 821s # gboolean pass_fdlist; 821s # } _ExtendedGDBusMethodInfo; 821s # 821s # typedef struct 821s # { 821s # GDBusSignalInfo parent_struct; 821s # const gchar *signal_name; 821s # } _ExtendedGDBusSignalInfo; 821s # 821s # typedef struct 821s # { 821s # GDBusPropertyInfo parent_struct; 821s # const gchar *hyphen_name; 821s # guint use_gvariant : 1; 821s # guint emits_changed_signal : 1; 821s # } _ExtendedGDBusPropertyInfo; 821s # 821s # typedef struct 821s # { 821s # GDBusInterfaceInfo parent_struct; 821s # const gchar *hyphen_name; 821s # } _ExtendedGDBusInterfaceInfo; 821s # 821s # typedef struct 821s # { 821s # const _ExtendedGDBusPropertyInfo *info; 821s # guint prop_id; 821s # GValue orig_value; /* the value before the change */ 821s # } ChangedProperty; 821s # 821s # static void 821s # _changed_property_free (ChangedProperty *data) 821s # { 821s # g_value_unset (&data->orig_value); 821s # g_free (data); 821s # } 821s # 821s # static gboolean 821s # _g_strv_equal0 (gchar **a, gchar **b) 821s # { 821s # gboolean ret = FALSE; 821s # guint n; 821s # if (a == NULL && b == NULL) 821s # { 821s # ret = TRUE; 821s # goto out; 821s # } 821s # if (a == NULL || b == NULL) 821s # goto out; 821s # if (g_strv_length (a) != g_strv_length (b)) 821s # goto out; 821s # for (n = 0; a[n] != NULL; n++) 821s # if (g_strcmp0 (a[n], b[n]) != 0) 821s # goto out; 821s # ret = TRUE; 821s # out: 821s # return ret; 821s # } 821s # 821s # static gboolean 821s # _g_variant_equal0 (GVariant *a, GVariant *b) 821s # { 821s # gboolean ret = FALSE; 821s # if (a == NULL && b == NULL) 821s # { 821s # ret = TRUE; 821s # goto out; 821s # } 821s # if (a == NULL || b == NULL) 821s # goto out; 821s # ret = g_variant_equal (a, b); 821s # out: 821s # return ret; 821s # } 821s # 821s # G_GNUC_UNUSED static gboolean 821s # _g_value_equal (const GValue *a, const GValue *b) 821s # { 821s # gboolean ret = FALSE; 821s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 821s # switch (G_VALUE_TYPE (a)) 821s # { 821s # case G_TYPE_BOOLEAN: 821s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 821s # break; 821s # case G_TYPE_UCHAR: 821s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 821s # break; 821s # case G_TYPE_INT: 821s # ret = (g_value_get_int (a) == g_value_get_int (b)); 821s # break; 821s # case G_TYPE_UINT: 821s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 821s # break; 821s # case G_TYPE_INT64: 821s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 821s # break; 821s # case G_TYPE_UINT64: 821s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 821s # break; 821s # case G_TYPE_DOUBLE: 821s # { 821s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 821s # gdouble da = g_value_get_double (a); 821s # gdouble db = g_value_get_double (b); 821s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 821s # } 821s # break; 821s # case G_TYPE_STRING: 821s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 821s # break; 821s # case G_TYPE_VARIANT: 821s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 821s # break; 821s # default: 821s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 821s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 821s # else 821s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 821s # break; 821s # } 821s # return ret; 821s # } 821s # 821s # /* ------------------------------------------------------------------------ 821s # * Code for interface org.project.SignalingIface 821s # * ------------------------------------------------------------------------ 821s # */ 821s # 821s # /** 821s # * SECTION:OrgProjectSignalingIface 821s # * @title: OrgProjectSignalingIface 821s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 821s # * 821s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 821s # */ 821s # 821s # enum 821s # { 821s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 821s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 821s # }; 821s # 821s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 821s # 821s # /* ---- Introspection data for org.project.SignalingIface ---- */ 821s # 821s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 821s # { 821s # { 821s # -1, 821s # (gchar *) "SimpleSignal", 821s # NULL, 821s # NULL 821s # }, 821s # "simple-signal" 821s # }; 821s # 821s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 821s # { 821s # { 821s # -1, 821s # (gchar *) "arg_aay", 821s # (gchar *) "aay", 821s # NULL 821s # }, 821s # FALSE 821s # }; 821s # 821s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 821s # { 821s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 821s # NULL 821s # }; 821s # 821s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 821s # { 821s # { 821s # -1, 821s # (gchar *) "SingleArgSignalAay", 821s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 821s # NULL 821s # }, 821s # "single-arg-signal-aay" 821s # }; 821s # 821s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 821s # { 821s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 821s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 821s # NULL 821s # }; 821s # 821s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 821s # { 821s # { 821s # -1, 821s # (gchar *) "org.project.SignalingIface", 821s # NULL, 821s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 821s # NULL, 821s # NULL 821s # }, 821s # "org-project-signaling-iface", 821s # }; 821s # 821s # 821s # /** 821s # * org_project_signaling_iface_interface_info: 821s # * 821s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 821s # * 821s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 821s # */ 821s # GDBusInterfaceInfo * 821s # org_project_signaling_iface_interface_info (void) 821s # { 821s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_override_properties: 821s # * @klass: The class structure for a #GObject derived class. 821s # * @property_id_begin: The property id to assign to the first overridden property. 821s # * 821s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 821s # * The properties are overridden in the order they are defined. 821s # * 821s # * Returns: The last property id. 821s # */ 821s # guint 821s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 821s # { 821s # return property_id_begin - 1; 821s # } 821s # 821s # 821s # inline static void 821s # org_project_signaling_iface_signal_marshal_simple_signal ( 821s # GClosure *closure, 821s # GValue *return_value, 821s # unsigned int n_param_values, 821s # const GValue *param_values, 821s # void *invocation_hint, 821s # void *marshal_data) 821s # { 821s # g_cclosure_marshal_VOID__VOID (closure, 821s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 821s # } 821s # 821s # inline static void 821s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 821s # GClosure *closure, 821s # GValue *return_value, 821s # unsigned int n_param_values, 821s # const GValue *param_values, 821s # void *invocation_hint, 821s # void *marshal_data) 821s # { 821s # g_cclosure_marshal_VOID__BOXED (closure, 821s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 821s # } 821s # 821s # 821s # /** 821s # * OrgProjectSignalingIface: 821s # * 821s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 821s # */ 821s # 821s # /** 821s # * OrgProjectSignalingIfaceIface: 821s # * @parent_iface: The parent interface. 821s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 821s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 821s # * 821s # * Virtual table for the D-Bus interface org.project.SignalingIface. 821s # */ 821s # 821s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 821s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 821s # 821s # static void 821s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 821s # { 821s # /* GObject signals for received D-Bus signals: */ 821s # /** 821s # * OrgProjectSignalingIface::simple-signal: 821s # * @object: A #OrgProjectSignalingIface. 821s # * 821s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 821s # * 821s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 821s # */ 821s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 821s # g_signal_new ("simple-signal", 821s # G_TYPE_FROM_INTERFACE (iface), 821s # G_SIGNAL_RUN_LAST, 821s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 821s # NULL, 821s # NULL, 821s # org_project_signaling_iface_signal_marshal_simple_signal, 821s # G_TYPE_NONE, 821s # 0); 821s # 821s # /** 821s # * OrgProjectSignalingIface::single-arg-signal-aay: 821s # * @object: A #OrgProjectSignalingIface. 821s # * @arg_arg_aay: Argument. 821s # * 821s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 821s # * 821s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 821s # */ 821s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 821s # g_signal_new ("single-arg-signal-aay", 821s # G_TYPE_FROM_INTERFACE (iface), 821s # G_SIGNAL_RUN_LAST, 821s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 821s # NULL, 821s # NULL, 821s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 821s # G_TYPE_NONE, 821s # 1, G_TYPE_STRV); 821s # 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_emit_simple_signal: 821s # * @object: A #OrgProjectSignalingIface. 821s # * 821s # * Emits the "SimpleSignal" D-Bus signal. 821s # */ 821s # void 821s # org_project_signaling_iface_emit_simple_signal ( 821s # OrgProjectSignalingIface *object) 821s # { 821s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_emit_single_arg_signal_aay: 821s # * @object: A #OrgProjectSignalingIface. 821s # * @arg_arg_aay: Argument to pass with the signal. 821s # * 821s # * Emits the "SingleArgSignalAay" D-Bus signal. 821s # */ 821s # void 821s # org_project_signaling_iface_emit_single_arg_signal_aay ( 821s # OrgProjectSignalingIface *object, 821s # const gchar *const *arg_arg_aay) 821s # { 821s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 821s # } 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # 821s # /** 821s # * OrgProjectSignalingIfaceProxy: 821s # * 821s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 821s # */ 821s # 821s # /** 821s # * OrgProjectSignalingIfaceProxyClass: 821s # * @parent_class: The parent class. 821s # * 821s # * Class structure for #OrgProjectSignalingIfaceProxy. 821s # */ 821s # 821s # struct _OrgProjectSignalingIfaceProxyPrivate 821s # { 821s # GData *qdata; 821s # }; 821s # 821s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 821s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 821s # 821s # #else 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 821s # 821s # #endif 821s # static void 821s # org_project_signaling_iface_proxy_finalize (GObject *object) 821s # { 821s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 821s # g_datalist_clear (&proxy->priv->qdata); 821s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 821s # guint prop_id G_GNUC_UNUSED, 821s # GValue *value G_GNUC_UNUSED, 821s # GParamSpec *pspec G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 821s # guint prop_id G_GNUC_UNUSED, 821s # const GValue *value G_GNUC_UNUSED, 821s # GParamSpec *pspec G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 821s # const gchar *sender_name G_GNUC_UNUSED, 821s # const gchar *signal_name, 821s # GVariant *parameters) 821s # { 821s # _ExtendedGDBusSignalInfo *info; 821s # GVariantIter iter; 821s # GVariant *child; 821s # GValue *paramv; 821s # gsize num_params; 821s # gsize n; 821s # guint signal_id; 821s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 821s # if (info == NULL) 821s # return; 821s # num_params = g_variant_n_children (parameters); 821s # paramv = g_new0 (GValue, num_params + 1); 821s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 821s # g_value_set_object (¶mv[0], proxy); 821s # g_variant_iter_init (&iter, parameters); 821s # n = 1; 821s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 821s # { 821s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 821s # if (arg_info->use_gvariant) 821s # { 821s # g_value_init (¶mv[n], G_TYPE_VARIANT); 821s # g_value_set_variant (¶mv[n], child); 821s # n++; 821s # } 821s # else 821s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 821s # g_variant_unref (child); 821s # } 821s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 821s # g_signal_emitv (paramv, signal_id, 0, NULL); 821s # for (n = 0; n < num_params + 1; n++) 821s # g_value_unset (¶mv[n]); 821s # g_free (paramv); 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 821s # GVariant *changed_properties, 821s # const gchar *const *invalidated_properties) 821s # { 821s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 821s # guint n; 821s # const gchar *key; 821s # GVariantIter *iter; 821s # _ExtendedGDBusPropertyInfo *info; 821s # g_variant_get (changed_properties, "a{sv}", &iter); 821s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 821s # { 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 821s # g_datalist_remove_data (&proxy->priv->qdata, key); 821s # if (info != NULL) 821s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 821s # } 821s # g_variant_iter_free (iter); 821s # for (n = 0; invalidated_properties[n] != NULL; n++) 821s # { 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 821s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 821s # if (info != NULL) 821s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 821s # } 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 821s # { 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 821s # #else 821s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 821s # #endif 821s # 821s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 821s # { 821s # GObjectClass *gobject_class; 821s # GDBusProxyClass *proxy_class; 821s # 821s # gobject_class = G_OBJECT_CLASS (klass); 821s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 821s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 821s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 821s # 821s # proxy_class = G_DBUS_PROXY_CLASS (klass); 821s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 821s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 821s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 821s # #endif 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new: 821s # * @connection: A #GDBusConnection. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 821s # * 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 821s # * 821s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 821s # */ 821s # void 821s # org_project_signaling_iface_proxy_new ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # 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); 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new_finish: 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 821s # * @error: Return location for error or %NULL 821s # * 821s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 821s # * 821s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectSignalingIface * 821s # org_project_signaling_iface_proxy_new_finish ( 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GObject *ret; 821s # GObject *source_object; 821s # source_object = g_async_result_get_source_object (res); 821s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 821s # g_object_unref (source_object); 821s # if (ret != NULL) 821s # return ORG_PROJECT_SIGNALING_IFACE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new_sync: 821s # * @connection: A #GDBusConnection. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL 821s # * 821s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 821s # * 821s # * The calling thread is blocked until a reply is received. 821s # * 821s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 821s # * 821s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectSignalingIface * 821s # org_project_signaling_iface_proxy_new_sync ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GInitable *ret; 821s # 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); 821s # if (ret != NULL) 821s # return ORG_PROJECT_SIGNALING_IFACE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new_for_bus: 821s # * @bus_type: A #GBusType. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: A bus name (well-known or unique). 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 821s # * 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 821s # * 821s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 821s # */ 821s # void 821s # org_project_signaling_iface_proxy_new_for_bus ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # 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); 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new_for_bus_finish: 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 821s # * @error: Return location for error or %NULL 821s # * 821s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 821s # * 821s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectSignalingIface * 821s # org_project_signaling_iface_proxy_new_for_bus_finish ( 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GObject *ret; 821s # GObject *source_object; 821s # source_object = g_async_result_get_source_object (res); 821s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 821s # g_object_unref (source_object); 821s # if (ret != NULL) 821s # return ORG_PROJECT_SIGNALING_IFACE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new_for_bus_sync: 821s # * @bus_type: A #GBusType. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: A bus name (well-known or unique). 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL 821s # * 821s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 821s # * 821s # * The calling thread is blocked until a reply is received. 821s # * 821s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 821s # * 821s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectSignalingIface * 821s # org_project_signaling_iface_proxy_new_for_bus_sync ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GInitable *ret; 821s # 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); 821s # if (ret != NULL) 821s # return ORG_PROJECT_SIGNALING_IFACE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # 821s # /** 821s # * OrgProjectSignalingIfaceSkeleton: 821s # * 821s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 821s # */ 821s # 821s # /** 821s # * OrgProjectSignalingIfaceSkeletonClass: 821s # * @parent_class: The parent class. 821s # * 821s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 821s # */ 821s # 821s # struct _OrgProjectSignalingIfaceSkeletonPrivate 821s # { 821s # GValue *properties; 821s # GList *changed_properties; 821s # GSource *changed_properties_idle_source; 821s # GMainContext *context; 821s # GMutex lock; 821s # }; 821s # 821s # static void 821s # _org_project_signaling_iface_skeleton_handle_method_call ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name, 821s # const gchar *method_name, 821s # GVariant *parameters, 821s # GDBusMethodInvocation *invocation, 821s # gpointer user_data) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 821s # _ExtendedGDBusMethodInfo *info; 821s # GVariantIter iter; 821s # GVariant *child; 821s # GValue *paramv; 821s # gsize num_params; 821s # guint num_extra; 821s # gsize n; 821s # guint signal_id; 821s # GValue return_value = G_VALUE_INIT; 821s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 821s # g_assert (info != NULL); 821s # num_params = g_variant_n_children (parameters); 821s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 821s # n = 0; 821s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 821s # g_value_set_object (¶mv[n++], skeleton); 821s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 821s # g_value_set_object (¶mv[n++], invocation); 821s # if (info->pass_fdlist) 821s # { 821s # #ifdef G_OS_UNIX 821s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 821s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 821s # #else 821s # g_assert_not_reached (); 821s # #endif 821s # } 821s # g_variant_iter_init (&iter, parameters); 821s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 821s # { 821s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 821s # if (arg_info->use_gvariant) 821s # { 821s # g_value_init (¶mv[n], G_TYPE_VARIANT); 821s # g_value_set_variant (¶mv[n], child); 821s # n++; 821s # } 821s # else 821s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 821s # g_variant_unref (child); 821s # } 821s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 821s # g_value_init (&return_value, G_TYPE_BOOLEAN); 821s # g_signal_emitv (paramv, signal_id, 0, &return_value); 821s # if (!g_value_get_boolean (&return_value)) 821s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 821s # g_value_unset (&return_value); 821s # for (n = 0; n < num_params + num_extra; n++) 821s # g_value_unset (¶mv[n]); 821s # g_free (paramv); 821s # } 821s # 821s # static GVariant * 821s # _org_project_signaling_iface_skeleton_handle_get_property ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name G_GNUC_UNUSED, 821s # const gchar *property_name, 821s # GError **error, 821s # gpointer user_data) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 821s # GValue value = G_VALUE_INIT; 821s # GParamSpec *pspec; 821s # _ExtendedGDBusPropertyInfo *info; 821s # GVariant *ret; 821s # ret = NULL; 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 821s # g_assert (info != NULL); 821s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 821s # if (pspec == NULL) 821s # { 821s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 821s # } 821s # else 821s # { 821s # g_value_init (&value, pspec->value_type); 821s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 821s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 821s # g_value_unset (&value); 821s # } 821s # return ret; 821s # } 821s # 821s # static gboolean 821s # _org_project_signaling_iface_skeleton_handle_set_property ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name G_GNUC_UNUSED, 821s # const gchar *property_name, 821s # GVariant *variant, 821s # GError **error, 821s # gpointer user_data) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 821s # GValue value = G_VALUE_INIT; 821s # GParamSpec *pspec; 821s # _ExtendedGDBusPropertyInfo *info; 821s # gboolean ret; 821s # ret = FALSE; 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 821s # g_assert (info != NULL); 821s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 821s # if (pspec == NULL) 821s # { 821s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 821s # } 821s # else 821s # { 821s # if (info->use_gvariant) 821s # g_value_set_variant (&value, variant); 821s # else 821s # g_dbus_gvariant_to_gvalue (variant, &value); 821s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 821s # g_value_unset (&value); 821s # ret = TRUE; 821s # } 821s # return ret; 821s # } 821s # 821s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 821s # { 821s # _org_project_signaling_iface_skeleton_handle_method_call, 821s # _org_project_signaling_iface_skeleton_handle_get_property, 821s # _org_project_signaling_iface_skeleton_handle_set_property, 821s # {NULL} 821s # }; 821s # 821s # static GDBusInterfaceInfo * 821s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 821s # { 821s # return org_project_signaling_iface_interface_info (); 821s # } 821s # 821s # static GDBusInterfaceVTable * 821s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 821s # { 821s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 821s # } 821s # 821s # static GVariant * 821s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 821s # 821s # GVariantBuilder builder; 821s # guint n; 821s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 821s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 821s # goto out; 821s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 821s # { 821s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 821s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 821s # { 821s # GVariant *value; 821s # 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); 821s # if (value != NULL) 821s # { 821s # g_variant_take_ref (value); 821s # g_variant_builder_add (&builder, "{sv}", info->name, value); 821s # g_variant_unref (value); 821s # } 821s # } 821s # } 821s # out: 821s # return g_variant_builder_end (&builder); 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # static void 821s # _org_project_signaling_iface_on_signal_simple_signal ( 821s # OrgProjectSignalingIface *object) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 821s # 821s # GList *connections, *l; 821s # GVariant *signal_variant; 821s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 821s # 821s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 821s # for (l = connections; l != NULL; l = l->next) 821s # { 821s # GDBusConnection *connection = l->data; 821s # g_dbus_connection_emit_signal (connection, 821s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 821s # signal_variant, NULL); 821s # } 821s # g_variant_unref (signal_variant); 821s # g_list_free_full (connections, g_object_unref); 821s # } 821s # 821s # static void 821s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 821s # OrgProjectSignalingIface *object, 821s # const gchar *const *arg_arg_aay) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 821s # 821s # GList *connections, *l; 821s # GVariant *signal_variant; 821s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 821s # 821s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 821s # arg_arg_aay)); 821s # for (l = connections; l != NULL; l = l->next) 821s # { 821s # GDBusConnection *connection = l->data; 821s # g_dbus_connection_emit_signal (connection, 821s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 821s # signal_variant, NULL); 821s # } 821s # g_variant_unref (signal_variant); 821s # g_list_free_full (connections, g_object_unref); 821s # } 821s # 821s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 821s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 821s # 821s # #else 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 821s # 821s # #endif 821s # static void 821s # org_project_signaling_iface_skeleton_finalize (GObject *object) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 821s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 821s # if (skeleton->priv->changed_properties_idle_source != NULL) 821s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 821s # g_main_context_unref (skeleton->priv->context); 821s # g_mutex_clear (&skeleton->priv->lock); 821s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 821s # { 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 821s # #else 821s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 821s # #endif 821s # 821s # g_mutex_init (&skeleton->priv->lock); 821s # skeleton->priv->context = g_main_context_ref_thread_default (); 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 821s # { 821s # GObjectClass *gobject_class; 821s # GDBusInterfaceSkeletonClass *skeleton_class; 821s # 821s # gobject_class = G_OBJECT_CLASS (klass); 821s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 821s # 821s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 821s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 821s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 821s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 821s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 821s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 821s # #endif 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 821s # { 821s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 821s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_skeleton_new: 821s # * 821s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 821s # * 821s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 821s # */ 821s # OrgProjectSignalingIface * 821s # org_project_signaling_iface_skeleton_new (void) 821s # { 821s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 821s # } 821s # /tmp/tmpn98ddxmx/tmpal8gixmw.xml: 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn98ddxmx/tmpal8gixmw.xml', '--output', '-', '--body'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: /* 821s # * This file is generated by gdbus-codegen, do not modify it. 821s # * 821s # * The license of this code is the same as for the D-Bus interface description 821s # * it was derived from. Note that it links to GLib, so must comply with the 821s # * LGPL linking clauses. 821s # */ 821s # 821s # #ifdef HAVE_CONFIG_H 821s # # include "config.h" 821s # #endif 821s # 821s # #include 821s # #ifdef G_OS_UNIX 821s # # include 821s # #endif 821s # 821s # #ifdef G_ENABLE_DEBUG 821s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 821s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 821s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 821s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 821s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 821s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 821s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 821s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 821s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 821s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 821s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 821s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 821s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 821s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 821s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 821s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 821s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 821s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 821s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 821s # #else /* !G_ENABLE_DEBUG */ 821s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 821s # * Do not access GValues directly in your code. Instead, use the 821s # * g_value_get_*() functions 821s # */ 821s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 821s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 821s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 821s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 821s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 821s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 821s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 821s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 821s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 821s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 821s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 821s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 821s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 821s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 821s # #endif /* !G_ENABLE_DEBUG */ 821s # 821s # typedef struct 821s # { 821s # GDBusArgInfo parent_struct; 821s # gboolean use_gvariant; 821s # } _ExtendedGDBusArgInfo; 821s # 821s # typedef struct 821s # { 821s # GDBusMethodInfo parent_struct; 821s # const gchar *signal_name; 821s # gboolean pass_fdlist; 821s # } _ExtendedGDBusMethodInfo; 821s # 821s # typedef struct 821s # { 821s # GDBusSignalInfo parent_struct; 821s # const gchar *signal_name; 821s # } _ExtendedGDBusSignalInfo; 821s # 821s # typedef struct 821s # { 821s # GDBusPropertyInfo parent_struct; 821s # const gchar *hyphen_name; 821s # guint use_gvariant : 1; 821s # guint emits_changed_signal : 1; 821s # } _ExtendedGDBusPropertyInfo; 821s # 821s # typedef struct 821s # { 821s # GDBusInterfaceInfo parent_struct; 821s # const gchar *hyphen_name; 821s # } _ExtendedGDBusInterfaceInfo; 821s # 821s # typedef struct 821s # { 821s # const _ExtendedGDBusPropertyInfo *info; 821s # guint prop_id; 821s # GValue orig_value; /* the value before the change */ 821s # } ChangedProperty; 821s # 821s # static void 821s # _changed_property_free (ChangedProperty *data) 821s # { 821s # g_value_unset (&data->orig_value); 821s # g_free (data); 821s # } 821s # 821s # static gboolean 821s # _g_strv_equal0 (gchar **a, gchar **b) 821s # { 821s # gboolean ret = FALSE; 821s # guint n; 821s # if (a == NULL && b == NULL) 821s # { 821s # ret = TRUE; 821s # goto out; 821s # } 821s # if (a == NULL || b == NULL) 821s # goto out; 821s # if (g_strv_length (a) != g_strv_length (b)) 821s # goto out; 821s # for (n = 0; a[n] != NULL; n++) 821s # if (g_strcmp0 (a[n], b[n]) != 0) 821s # goto out; 821s # ret = TRUE; 821s # out: 821s # return ret; 821s # } 821s # 821s # static gboolean 821s # _g_variant_equal0 (GVariant *a, GVariant *b) 821s # { 821s # gboolean ret = FALSE; 821s # if (a == NULL && b == NULL) 821s # { 821s # ret = TRUE; 821s # goto out; 821s # } 821s # if (a == NULL || b == NULL) 821s # goto out; 821s # ret = g_variant_equal (a, b); 821s # out: 821s # return ret; 821s # } 821s # 821s # G_GNUC_UNUSED static gboolean 821s # _g_value_equal (const GValue *a, const GValue *b) 821s # { 821s # gboolean ret = FALSE; 821s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 821s # switch (G_VALUE_TYPE (a)) 821s # { 821s # case G_TYPE_BOOLEAN: 821s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 821s # break; 821s # case G_TYPE_UCHAR: 821s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 821s # break; 821s # case G_TYPE_INT: 821s # ret = (g_value_get_int (a) == g_value_get_int (b)); 821s # break; 821s # case G_TYPE_UINT: 821s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 821s # break; 821s # case G_TYPE_INT64: 821s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 821s # break; 821s # case G_TYPE_UINT64: 821s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 821s # break; 821s # case G_TYPE_DOUBLE: 821s # { 821s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 821s # gdouble da = g_value_get_double (a); 821s # gdouble db = g_value_get_double (b); 821s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 821s # } 821s # break; 821s # case G_TYPE_STRING: 821s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 821s # break; 821s # case G_TYPE_VARIANT: 821s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 821s # break; 821s # default: 821s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 821s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 821s # else 821s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 821s # break; 821s # } 821s # return ret; 821s # } 821s # 821s # /* ------------------------------------------------------------------------ 821s # * Code for interface org.project.SignalingIface 821s # * ------------------------------------------------------------------------ 821s # */ 821s # 821s # /** 821s # * SECTION:OrgProjectSignalingIface 821s # * @title: OrgProjectSignalingIface 821s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 821s # * 821s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 821s # */ 821s # 821s # enum 821s # { 821s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 821s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 821s # }; 821s # 821s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 821s # 821s # /* ---- Introspection data for org.project.SignalingIface ---- */ 821s # 821s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 821s # { 821s # { 821s # -1, 821s # (gchar *) "SimpleSignal", 821s # NULL, 821s # NULL 821s # }, 821s # "simple-signal" 821s # }; 821s # 821s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 821s # { 821s # { 821s # -1, 821s # (gchar *) "arg_asv", 821s # (gchar *) "a{sv}", 821s # NULL 821s # }, 821s # FALSE 821s # }; 821s # 821s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 821s # { 821s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 821s # NULL 821s # }; 821s # 821s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 821s # { 821s # { 821s # -1, 821s # (gchar *) "SingleArgSignalAsv", 821s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 821s # NULL 821s # }, 821s # "single-arg-signal-asv" 821s # }; 821s # 821s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 821s # { 821s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 821s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 821s # NULL 821s # }; 821s # 821s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 821s # { 821s # { 821s # -1, 821s # (gchar *) "org.project.SignalingIface", 821s # NULL, 821s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 821s # NULL, 821s # NULL 821s # }, 821s # "org-project-signaling-iface", 821s # }; 821s # 821s # 821s # /** 821s # * org_project_signaling_iface_interface_info: 821s # * 821s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 821s # * 821s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 821s # */ 821s # GDBusInterfaceInfo * 821s # org_project_signaling_iface_interface_info (void) 821s # { 821s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_override_properties: 821s # * @klass: The class structure for a #GObject derived class. 821s # * @property_id_begin: The property id to assign to the first overridden property. 821s # * 821s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 821s # * The properties are overridden in the order they are defined. 821s # * 821s # * Returns: The last property id. 821s # */ 821s # guint 821s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 821s # { 821s # return property_id_begin - 1; 821s # } 821s # 821s # 821s # inline static void 821s # org_project_signaling_iface_signal_marshal_simple_signal ( 821s # GClosure *closure, 821s # GValue *return_value, 821s # unsigned int n_param_values, 821s # const GValue *param_values, 821s # void *invocation_hint, 821s # void *marshal_data) 821s # { 821s # g_cclosure_marshal_VOID__VOID (closure, 821s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 821s # } 821s # 821s # inline static void 821s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 821s # GClosure *closure, 821s # GValue *return_value, 821s # unsigned int n_param_values, 821s # const GValue *param_values, 821s # void *invocation_hint, 821s # void *marshal_data) 821s # { 821s # g_cclosure_marshal_VOID__VARIANT (closure, 821s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 821s # } 821s # 821s # 821s # /** 821s # * OrgProjectSignalingIface: 821s # * 821s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 821s # */ 821s # 821s # /** 821s # * OrgProjectSignalingIfaceIface: 821s # * @parent_iface: The parent interface. 821s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 821s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 821s # * 821s # * Virtual table for the D-Bus interface org.project.SignalingIface. 821s # */ 821s # 821s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 821s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 821s # 821s # static void 821s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 821s # { 821s # /* GObject signals for received D-Bus signals: */ 821s # /** 821s # * OrgProjectSignalingIface::simple-signal: 821s # * @object: A #OrgProjectSignalingIface. 821s # * 821s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 821s # * 821s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 821s # */ 821s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 821s # g_signal_new ("simple-signal", 821s # G_TYPE_FROM_INTERFACE (iface), 821s # G_SIGNAL_RUN_LAST, 821s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 821s # NULL, 821s # NULL, 821s # org_project_signaling_iface_signal_marshal_simple_signal, 821s # G_TYPE_NONE, 821s # 0); 821s # 821s # /** 821s # * OrgProjectSignalingIface::single-arg-signal-asv: 821s # * @object: A #OrgProjectSignalingIface. 821s # * @arg_arg_asv: Argument. 821s # * 821s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 821s # * 821s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 821s # */ 821s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 821s # g_signal_new ("single-arg-signal-asv", 821s # G_TYPE_FROM_INTERFACE (iface), 821s # G_SIGNAL_RUN_LAST, 821s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 821s # NULL, 821s # NULL, 821s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 821s # G_TYPE_NONE, 821s # 1, G_TYPE_VARIANT); 821s # 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_emit_simple_signal: 821s # * @object: A #OrgProjectSignalingIface. 821s # * 821s # * Emits the "SimpleSignal" D-Bus signal. 821s # */ 821s # void 821s # org_project_signaling_iface_emit_simple_signal ( 821s # OrgProjectSignalingIface *object) 821s # { 821s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_emit_single_arg_signal_asv: 821s # * @object: A #OrgProjectSignalingIface. 821s # * @arg_arg_asv: Argument to pass with the signal. 821s # * 821s # * Emits the "SingleArgSignalAsv" D-Bus signal. 821s # */ 821s # void 821s # org_project_signaling_iface_emit_single_arg_signal_asv ( 821s # OrgProjectSignalingIface *object, 821s # GVariant *arg_arg_asv) 821s # { 821s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 821s # } 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # 821s # /** 821s # * OrgProjectSignalingIfaceProxy: 821s # * 821s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 821s # */ 821s # 821s # /** 821s # * OrgProjectSignalingIfaceProxyClass: 821s # * @parent_class: The parent class. 821s # * 821s # * Class structure for #OrgProjectSignalingIfaceProxy. 821s # */ 821s # 821s # struct _OrgProjectSignalingIfaceProxyPrivate 821s # { 821s # GData *qdata; 821s # }; 821s # 821s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 821s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 821s # 821s # #else 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 821s # 821s # #endif 821s # static void 821s # org_project_signaling_iface_proxy_finalize (GObject *object) 821s # { 821s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 821s # g_datalist_clear (&proxy->priv->qdata); 821s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 821s # guint prop_id G_GNUC_UNUSED, 821s # GValue *value G_GNUC_UNUSED, 821s # GParamSpec *pspec G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 821s # guint prop_id G_GNUC_UNUSED, 821s # const GValue *value G_GNUC_UNUSED, 821s # GParamSpec *pspec G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 821s # const gchar *sender_name G_GNUC_UNUSED, 821s # const gchar *signal_name, 821s # GVariant *parameters) 821s # { 821s # _ExtendedGDBusSignalInfo *info; 821s # GVariantIter iter; 821s # GVariant *child; 821s # GValue *paramv; 821s # gsize num_params; 821s # gsize n; 821s # guint signal_id; 821s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 821s # if (info == NULL) 821s # return; 821s # num_params = g_variant_n_children (parameters); 821s # paramv = g_new0 (GValue, num_params + 1); 821s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 821s # g_value_set_object (¶mv[0], proxy); 821s # g_variant_iter_init (&iter, parameters); 821s # n = 1; 821s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 821s # { 821s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 821s # if (arg_info->use_gvariant) 821s # { 821s # g_value_init (¶mv[n], G_TYPE_VARIANT); 821s # g_value_set_variant (¶mv[n], child); 821s # n++; 821s # } 821s # else 821s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 821s # g_variant_unref (child); 821s # } 821s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 821s # g_signal_emitv (paramv, signal_id, 0, NULL); 821s # for (n = 0; n < num_params + 1; n++) 821s # g_value_unset (¶mv[n]); 821s # g_free (paramv); 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 821s # GVariant *changed_properties, 821s # const gchar *const *invalidated_properties) 821s # { 821s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 821s # guint n; 821s # const gchar *key; 821s # GVariantIter *iter; 821s # _ExtendedGDBusPropertyInfo *info; 821s # g_variant_get (changed_properties, "a{sv}", &iter); 821s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 821s # { 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 821s # g_datalist_remove_data (&proxy->priv->qdata, key); 821s # if (info != NULL) 821s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 821s # } 821s # g_variant_iter_free (iter); 821s # for (n = 0; invalidated_properties[n] != NULL; n++) 821s # { 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 821s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 821s # if (info != NULL) 821s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 821s # } 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 821s # { 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 821s # #else 821s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 821s # #endif 821s # 821s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 821s # { 821s # GObjectClass *gobject_class; 821s # GDBusProxyClass *proxy_class; 821s # 821s # gobject_class = G_OBJECT_CLASS (klass); 821s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 821s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 821s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 821s # 821s # proxy_class = G_DBUS_PROXY_CLASS (klass); 821s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 821s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 821s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 821s # #endif 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new: 821s # * @connection: A #GDBusConnection. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 821s # * 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 821s # * 821s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 821s # */ 821s # void 821s # org_project_signaling_iface_proxy_new ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # 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); 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new_finish: 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 821s # * @error: Return location for error or %NULL 821s # * 821s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 821s # * 821s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectSignalingIface * 821s # org_project_signaling_iface_proxy_new_finish ( 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GObject *ret; 821s # GObject *source_object; 821s # source_object = g_async_result_get_source_object (res); 821s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 821s # g_object_unref (source_object); 821s # if (ret != NULL) 821s # return ORG_PROJECT_SIGNALING_IFACE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new_sync: 821s # * @connection: A #GDBusConnection. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL 821s # * 821s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 821s # * 821s # * The calling thread is blocked until a reply is received. 821s # * 821s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 821s # * 821s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectSignalingIface * 821s # org_project_signaling_iface_proxy_new_sync ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GInitable *ret; 821s # 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); 821s # if (ret != NULL) 821s # return ORG_PROJECT_SIGNALING_IFACE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new_for_bus: 821s # * @bus_type: A #GBusType. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: A bus name (well-known or unique). 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 821s # * 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 821s # * 821s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 821s # */ 821s # void 821s # org_project_signaling_iface_proxy_new_for_bus ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # 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); 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new_for_bus_finish: 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 821s # * @error: Return location for error or %NULL 821s # * 821s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 821s # * 821s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectSignalingIface * 821s # org_project_signaling_iface_proxy_new_for_bus_finish ( 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GObject *ret; 821s # GObject *source_object; 821s # source_object = g_async_result_get_source_object (res); 821s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 821s # g_object_unref (source_object); 821s # if (ret != NULL) 821s # return ORG_PROJECT_SIGNALING_IFACE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new_for_bus_sync: 821s # * @bus_type: A #GBusType. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: A bus name (well-known or unique). 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL 821s # * 821s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 821s # * 821s # * The calling thread is blocked until a reply is received. 821s # * 821s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 821s # * 821s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectSignalingIface * 821s # org_project_signaling_iface_proxy_new_for_bus_sync ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GInitable *ret; 821s # 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); 821s # if (ret != NULL) 821s # return ORG_PROJECT_SIGNALING_IFACE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # 821s # /** 821s # * OrgProjectSignalingIfaceSkeleton: 821s # * 821s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 821s # */ 821s # 821s # /** 821s # * OrgProjectSignalingIfaceSkeletonClass: 821s # * @parent_class: The parent class. 821s # * 821s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 821s # */ 821s # 821s # struct _OrgProjectSignalingIfaceSkeletonPrivate 821s # { 821s # GValue *properties; 821s # GList *changed_properties; 821s # GSource *changed_properties_idle_source; 821s # GMainContext *context; 821s # GMutex lock; 821s # }; 821s # 821s # static void 821s # _org_project_signaling_iface_skeleton_handle_method_call ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name, 821s # const gchar *method_name, 821s # GVariant *parameters, 821s # GDBusMethodInvocation *invocation, 821s # gpointer user_data) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 821s # _ExtendedGDBusMethodInfo *info; 821s # GVariantIter iter; 821s # GVariant *child; 821s # GValue *paramv; 821s # gsize num_params; 821s # guint num_extra; 821s # gsize n; 821s # guint signal_id; 821s # GValue return_value = G_VALUE_INIT; 821s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 821s # g_assert (info != NULL); 821s # num_params = g_variant_n_children (parameters); 821s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 821s # n = 0; 821s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 821s # g_value_set_object (¶mv[n++], skeleton); 821s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 821s # g_value_set_object (¶mv[n++], invocation); 821s # if (info->pass_fdlist) 821s # { 821s # #ifdef G_OS_UNIX 821s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 821s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 821s # #else 821s # g_assert_not_reached (); 821s # #endif 821s # } 821s # g_variant_iter_init (&iter, parameters); 821s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 821s # { 821s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 821s # if (arg_info->use_gvariant) 821s # { 821s # g_value_init (¶mv[n], G_TYPE_VARIANT); 821s # g_value_set_variant (¶mv[n], child); 821s # n++; 821s # } 821s # else 821s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 821s # g_variant_unref (child); 821s # } 821s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 821s # g_value_init (&return_value, G_TYPE_BOOLEAN); 821s # g_signal_emitv (paramv, signal_id, 0, &return_value); 821s # if (!g_value_get_boolean (&return_value)) 821s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 821s # g_value_unset (&return_value); 821s # for (n = 0; n < num_params + num_extra; n++) 821s # g_value_unset (¶mv[n]); 821s # g_free (paramv); 821s # } 821s # 821s # static GVariant * 821s # _org_project_signaling_iface_skeleton_handle_get_property ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name G_GNUC_UNUSED, 821s # const gchar *property_name, 821s # GError **error, 821s # gpointer user_data) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 821s # GValue value = G_VALUE_INIT; 821s # GParamSpec *pspec; 821s # _ExtendedGDBusPropertyInfo *info; 821s # GVariant *ret; 821s # ret = NULL; 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 821s # g_assert (info != NULL); 821s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 821s # if (pspec == NULL) 821s # { 821s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 821s # } 821s # else 821s # { 821s # g_value_init (&value, pspec->value_type); 821s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 821s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 821s # g_value_unset (&value); 821s # } 821s # return ret; 821s # } 821s # 821s # static gboolean 821s # _org_project_signaling_iface_skeleton_handle_set_property ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name G_GNUC_UNUSED, 821s # const gchar *property_name, 821s # GVariant *variant, 821s # GError **error, 821s # gpointer user_data) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 821s # GValue value = G_VALUE_INIT; 821s # GParamSpec *pspec; 821s # _ExtendedGDBusPropertyInfo *info; 821s # gboolean ret; 821s # ret = FALSE; 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 821s # g_assert (info != NULL); 821s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 821s # if (pspec == NULL) 821s # { 821s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 821s # } 821s # else 821s # { 821s # if (info->use_gvariant) 821s # g_value_set_variant (&value, variant); 821s # else 821s # g_dbus_gvariant_to_gvalue (variant, &value); 821s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 821s # g_value_unset (&value); 821s # ret = TRUE; 821s # } 821s # return ret; 821s # } 821s # 821s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 821s # { 821s # _org_project_signaling_iface_skeleton_handle_method_call, 821s # _org_project_signaling_iface_skeleton_handle_get_property, 821s # _org_project_signaling_iface_skeleton_handle_set_property, 821s # {NULL} 821s # }; 821s # 821s # static GDBusInterfaceInfo * 821s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 821s # { 821s # return org_project_signaling_iface_interface_info (); 821s # } 821s # 821s # static GDBusInterfaceVTable * 821s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 821s # { 821s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 821s # } 821s # 821s # static GVariant * 821s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 821s # 821s # GVariantBuilder builder; 821s # guint n; 821s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 821s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 821s # goto out; 821s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 821s # { 821s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 821s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 821s # { 821s # GVariant *value; 821s # 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); 821s # if (value != NULL) 821s # { 821s # g_variant_take_ref (value); 821s # g_variant_builder_add (&builder, "{sv}", info->name, value); 821s # g_variant_unref (value); 821s # } 821s # } 821s # } 821s # out: 821s # return g_variant_builder_end (&builder); 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # static void 821s # _org_project_signaling_iface_on_signal_simple_signal ( 821s # OrgProjectSignalingIface *object) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 821s # 821s # GList *connections, *l; 821s # GVariant *signal_variant; 821s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 821s # 821s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 821s # for (l = connections; l != NULL; l = l->next) 821s # { 821s # GDBusConnection *connection = l->data; 821s # g_dbus_connection_emit_signal (connection, 821s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 821s # signal_variant, NULL); 821s # } 821s # g_variant_unref (signal_variant); 821s # g_list_free_full (connections, g_object_unref); 821s # } 821s # 821s # static void 821s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 821s # OrgProjectSignalingIface *object, 821s # GVariant *arg_arg_asv) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 821s # 821s # GList *connections, *l; 821s # GVariant *signal_variant; 821s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 821s # 821s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 821s # arg_arg_asv)); 821s # for (l = connections; l != NULL; l = l->next) 821s # { 821s # GDBusConnection *connection = l->data; 821s # g_dbus_connection_emit_signal (connection, 821s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 821s # signal_variant, NULL); 821s # } 821s # g_variant_unref (signal_variant); 821s # g_list_free_full (connections, g_object_unref); 821s # } 821s # 821s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 821s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 821s # 821s # #else 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 821s # 821s # #endif 821s # static void 821s # org_project_signaling_iface_skeleton_finalize (GObject *object) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 821s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 821s # if (skeleton->priv->changed_properties_idle_source != NULL) 821s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 821s # g_main_context_unref (skeleton->priv->context); 821s # g_mutex_clear (&skeleton->priv->lock); 821s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 821s # { 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 821s # #else 821s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 821s # #endif 821s # 821s # g_mutex_init (&skeleton->priv->lock); 821s # skeleton->priv->context = g_main_context_ref_thread_default (); 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 821s # { 821s # GObjectClass *gobject_class; 821s # GDBusInterfaceSkeletonClass *skeleton_class; 821s # 821s # gobject_class = G_OBJECT_CLASS (klass); 821s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 821s # 821s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 821s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 821s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 821s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 821s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 821s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 821s # #endif 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 821s # { 821s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 821s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_skeleton_new: 821s # * 821s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 821s # * 821s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 821s # */ 821s # OrgProjectSignalingIface * 821s # org_project_signaling_iface_skeleton_new (void) 821s # { 821s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 821s # } 821s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 821s # tmpdir: /tmp/tmpnzj8nbyh 821s # codegen: /usr/bin/gdbus-codegen 821s # /tmp/tmpnzj8nbyh/tmpokuuwbiv.xml: 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnzj8nbyh/tmpokuuwbiv.xml', '--output', '-', '--body'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: /* 821s # * This file is generated by gdbus-codegen, do not modify it. 821s # * 821s # * The license of this code is the same as for the D-Bus interface description 821s # * it was derived from. Note that it links to GLib, so must comply with the 821s # * LGPL linking clauses. 821s # */ 821s # 821s # #ifdef HAVE_CONFIG_H 821s # # include "config.h" 821s # #endif 821s # 821s # #include 821s # #ifdef G_OS_UNIX 821s # # include 821s # #endif 821s # 821s # #ifdef G_ENABLE_DEBUG 821s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 821s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 821s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 821s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 821s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 821s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 821s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 821s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 821s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 821s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 821s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 821s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 821s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 821s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 821s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 821s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 821s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 821s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 821s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 821s # #else /* !G_ENABLE_DEBUG */ 821s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 821s # * Do not access GValues directly in your code. Instead, use the 821s # * g_value_get_*() functions 821s # */ 821s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 821s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 821s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 821s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 821s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 821s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 821s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 821s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 821s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 821s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 821s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 821s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 821s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 821s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 821s # #endif /* !G_ENABLE_DEBUG */ 821s # 821s # typedef struct 821s # { 821s # GDBusArgInfo parent_struct; 821s # gboolean use_gvariant; 821s # } _ExtendedGDBusArgInfo; 821s # 821s # typedef struct 821s # { 821s # GDBusMethodInfo parent_struct; 821s # const gchar *signal_name; 821s # gboolean pass_fdlist; 821s # } _ExtendedGDBusMethodInfo; 821s # 821s # typedef struct 821s # { 821s # GDBusSignalInfo parent_struct; 821s # const gchar *signal_name; 821s # } _ExtendedGDBusSignalInfo; 821s # 821s # typedef struct 821s # { 821s # GDBusPropertyInfo parent_struct; 821s # const gchar *hyphen_name; 821s # guint use_gvariant : 1; 821s # guint emits_changed_signal : 1; 821s # } _ExtendedGDBusPropertyInfo; 821s # 821s # typedef struct 821s # { 821s # GDBusInterfaceInfo parent_struct; 821s # const gchar *hyphen_name; 821s # } _ExtendedGDBusInterfaceInfo; 821s # 821s # typedef struct 821s # { 821s # const _ExtendedGDBusPropertyInfo *info; 821s # guint prop_id; 821s # GValue orig_value; /* the value before the change */ 821s # } ChangedProperty; 821s # 821s # static void 821s # _changed_property_free (ChangedProperty *data) 821s # { 821s # g_value_unset (&data->orig_value); 821s # g_free (data); 821s # } 821s # 821s # static gboolean 821s # _g_strv_equal0 (gchar **a, gchar **b) 821s # { 821s # gboolean ret = FALSE; 821s # guint n; 821s # if (a == NULL && b == NULL) 821s # { 821s # ret = TRUE; 821s # goto out; 821s # } 821s # if (a == NULL || b == NULL) 821s # goto out; 821s # if (g_strv_length (a) != g_strv_length (b)) 821s # goto out; 821s # for (n = 0; a[n] != NULL; n++) 821s # if (g_strcmp0 (a[n], b[n]) != 0) 821s # goto out; 821s # ret = TRUE; 821s # out: 821s # return ret; 821s # } 821s # 821s # static gboolean 821s # _g_variant_equal0 (GVariant *a, GVariant *b) 821s # { 821s # gboolean ret = FALSE; 821s # if (a == NULL && b == NULL) 821s # { 821s # ret = TRUE; 821s # goto out; 821s # } 821s # if (a == NULL || b == NULL) 821s # goto out; 821s # ret = g_variant_equal (a, b); 821s # out: 821s # return ret; 821s # } 821s # 821s # G_GNUC_UNUSED static gboolean 821s # _g_value_equal (const GValue *a, const GValue *b) 821s # { 821s # gboolean ret = FALSE; 821s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 821s # switch (G_VALUE_TYPE (a)) 821s # { 821s # case G_TYPE_BOOLEAN: 821s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 821s # break; 821s # case G_TYPE_UCHAR: 821s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 821s # break; 821s # case G_TYPE_INT: 821s # ret = (g_value_get_int (a) == g_value_get_int (b)); 821s # break; 821s # case G_TYPE_UINT: 821s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 821s # break; 821s # case G_TYPE_INT64: 821s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 821s # break; 821s # case G_TYPE_UINT64: 821s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 821s # break; 821s # case G_TYPE_DOUBLE: 821s # { 821s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 821s # gdouble da = g_value_get_double (a); 821s # gdouble db = g_value_get_double (b); 821s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 821s # } 821s # break; 821s # case G_TYPE_STRING: 821s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 821s # break; 821s # case G_TYPE_VARIANT: 821s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 821s # break; 821s # default: 821s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 821s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 821s # else 821s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 821s # break; 821s # } 821s # return ret; 821s # } 821s # 821s # static void 821s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 821s # GClosure *closure, 821s # GValue *return_value G_GNUC_UNUSED, 821s # unsigned int n_param_values, 821s # const GValue *param_values, 821s # void *invocation_hint G_GNUC_UNUSED, 821s # void *marshal_data) 821s # { 821s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 821s # (void *data1, 821s # gboolean arg_an_b, 821s # guchar arg_an_y, 821s # gint16 arg_an_n, 821s # guint16 arg_an_q, 821s # gint arg_an_i, 821s # guint arg_an_u, 821s # gint64 arg_an_x, 821s # guint64 arg_an_t, 821s # gdouble arg_an_d, 821s # const gchar *arg_an_s, 821s # const gchar *arg_an_o, 821s # const gchar *arg_an_g, 821s # GVariant *arg_an_h, 821s # const gchar *arg_an_ay, 821s # const gchar *const *arg_an_as, 821s # const gchar *const *arg_an_ao, 821s # const gchar *const *arg_an_aay, 821s # GVariant *arg_an_asv, 821s # void *data2); 821s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 821s # GCClosure *cc = (GCClosure*) closure; 821s # void *data1, *data2; 821s # 821s # g_return_if_fail (n_param_values == 19); 821s # 821s # if (G_CCLOSURE_SWAP_DATA (closure)) 821s # { 821s # data1 = closure->data; 821s # data2 = g_value_peek_pointer (param_values + 0); 821s # } 821s # else 821s # { 821s # data1 = g_value_peek_pointer (param_values + 0); 821s # data2 = closure->data; 821s # } 821s # 821s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 821s # (marshal_data ? marshal_data : cc->callback); 821s # 821s # callback (data1, 821s # g_marshal_value_peek_boolean (param_values + 1), 821s # g_marshal_value_peek_uchar (param_values + 2), 821s # g_marshal_value_peek_int (param_values + 3), 821s # g_marshal_value_peek_uint (param_values + 4), 821s # g_marshal_value_peek_int (param_values + 5), 821s # g_marshal_value_peek_uint (param_values + 6), 821s # g_marshal_value_peek_int64 (param_values + 7), 821s # g_marshal_value_peek_uint64 (param_values + 8), 821s # g_marshal_value_peek_double (param_values + 9), 821s # g_marshal_value_peek_string (param_values + 10), 821s # g_marshal_value_peek_string (param_values + 11), 821s # g_marshal_value_peek_string (param_values + 12), 821s # g_marshal_value_peek_variant (param_values + 13), 821s # g_marshal_value_peek_string (param_values + 14), 821s # g_marshal_value_peek_boxed (param_values + 15), 821s # g_marshal_value_peek_boxed (param_values + 16), 821s # g_marshal_value_peek_boxed (param_values + 17), 821s # g_marshal_value_peek_variant (param_values + 18), 821s # data2); 821s # } 821s # 821s # /* ------------------------------------------------------------------------ 821s # * Code for interface org.project.SignalingIface 821s # * ------------------------------------------------------------------------ 821s # */ 821s # 821s # /** 821s # * SECTION:OrgProjectSignalingIface 821s # * @title: OrgProjectSignalingIface 821s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 821s # * 821s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 821s # */ 821s # 821s # enum 821s # { 821s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 821s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 821s # }; 821s # 821s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 821s # 821s # /* ---- Introspection data for org.project.SignalingIface ---- */ 821s # 821s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 821s # { 821s # { 821s # -1, 821s # (gchar *) "SimpleSignal", 821s # NULL, 821s # NULL 821s # }, 821s # "simple-signal" 821s # }; 821s # 821s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 821s # { 821s # { 821s # -1, 821s # (gchar *) "an_b", 821s # (gchar *) "b", 821s # NULL 821s # }, 821s # FALSE 821s # }; 821s # 821s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 821s # { 821s # { 821s # -1, 821s # (gchar *) "an_y", 821s # (gchar *) "y", 821s # NULL 821s # }, 821s # FALSE 821s # }; 821s # 821s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 821s # { 821s # { 821s # -1, 821s # (gchar *) "an_n", 821s # (gchar *) "n", 821s # NULL 821s # }, 821s # FALSE 821s # }; 821s # 821s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 821s # { 821s # { 821s # -1, 821s # (gchar *) "an_q", 821s # (gchar *) "q", 821s # NULL 821s # }, 821s # FALSE 821s # }; 821s # 821s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 821s # { 821s # { 821s # -1, 821s # (gchar *) "an_i", 821s # (gchar *) "i", 821s # NULL 821s # }, 821s # FALSE 821s # }; 821s # 821s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 821s # { 821s # { 821s # -1, 821s # (gchar *) "an_u", 821s # (gchar *) "u", 821s # NULL 821s # }, 821s # FALSE 821s # }; 821s # 821s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 821s # { 821s # { 821s # -1, 821s # (gchar *) "an_x", 821s # (gchar *) "x", 821s # NULL 821s # }, 821s # FALSE 821s # }; 821s # 821s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 821s # { 821s # { 821s # -1, 821s # (gchar *) "an_t", 821s # (gchar *) "t", 821s # NULL 821s # }, 821s # FALSE 821s # }; 821s # 821s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 821s # { 821s # { 821s # -1, 821s # (gchar *) "an_d", 821s # (gchar *) "d", 821s # NULL 821s # }, 821s # FALSE 821s # }; 821s # 821s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 821s # { 821s # { 821s # -1, 821s # (gchar *) "an_s", 821s # (gchar *) "s", 821s # NULL 821s # }, 821s # FALSE 821s # }; 821s # 821s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 821s # { 821s # { 821s # -1, 821s # (gchar *) "an_o", 821s # (gchar *) "o", 821s # NULL 821s # }, 821s # FALSE 821s # }; 821s # 821s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 821s # { 821s # { 821s # -1, 821s # (gchar *) "an_g", 821s # (gchar *) "g", 821s # NULL 821s # }, 821s # FALSE 821s # }; 821s # 821s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 821s # { 821s # { 821s # -1, 821s # (gchar *) "an_h", 821s # (gchar *) "h", 821s # NULL 821s # }, 821s # FALSE 821s # }; 821s # 821s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 821s # { 821s # { 821s # -1, 821s # (gchar *) "an_ay", 821s # (gchar *) "ay", 821s # NULL 821s # }, 821s # FALSE 821s # }; 821s # 821s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 821s # { 821s # { 821s # -1, 821s # (gchar *) "an_as", 821s # (gchar *) "as", 821s # NULL 821s # }, 821s # FALSE 821s # }; 821s # 821s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 821s # { 821s # { 821s # -1, 821s # (gchar *) "an_ao", 821s # (gchar *) "ao", 821s # NULL 821s # }, 821s # FALSE 821s # }; 821s # 821s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 821s # { 821s # { 821s # -1, 821s # (gchar *) "an_aay", 821s # (gchar *) "aay", 821s # NULL 821s # }, 821s # FALSE 821s # }; 821s # 821s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 821s # { 821s # { 821s # -1, 821s # (gchar *) "an_asv", 821s # (gchar *) "a{sv}", 821s # NULL 821s # }, 821s # FALSE 821s # }; 821s # 821s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 821s # { 821s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 821s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 821s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 821s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 821s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 821s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 821s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 821s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 821s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 821s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 821s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 821s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 821s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 821s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 821s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 821s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 821s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 821s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 821s # NULL 821s # }; 821s # 821s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 821s # { 821s # { 821s # -1, 821s # (gchar *) "SignalWithManyArgs", 821s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 821s # NULL 821s # }, 821s # "signal-with-many-args" 821s # }; 821s # 821s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 821s # { 821s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 821s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 821s # NULL 821s # }; 821s # 821s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 821s # { 821s # { 821s # -1, 821s # (gchar *) "org.project.SignalingIface", 821s # NULL, 821s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 821s # NULL, 821s # NULL 821s # }, 821s # "org-project-signaling-iface", 821s # }; 821s # 821s # 821s # /** 821s # * org_project_signaling_iface_interface_info: 821s # * 821s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 821s # * 821s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 821s # */ 821s # GDBusInterfaceInfo * 821s # org_project_signaling_iface_interface_info (void) 821s # { 821s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_override_properties: 821s # * @klass: The class structure for a #GObject derived class. 821s # * @property_id_begin: The property id to assign to the first overridden property. 821s # * 821s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 821s # * The properties are overridden in the order they are defined. 821s # * 821s # * Returns: The last property id. 821s # */ 821s # guint 821s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 821s # { 821s # return property_id_begin - 1; 821s # } 821s # 821s # 821s # inline static void 821s # org_project_signaling_iface_signal_marshal_simple_signal ( 821s # GClosure *closure, 821s # GValue *return_value, 821s # unsigned int n_param_values, 821s # const GValue *param_values, 821s # void *invocation_hint, 821s # void *marshal_data) 821s # { 821s # g_cclosure_marshal_VOID__VOID (closure, 821s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 821s # } 821s # 821s # inline static void 821s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 821s # GClosure *closure, 821s # GValue *return_value, 821s # unsigned int n_param_values, 821s # const GValue *param_values, 821s # void *invocation_hint, 821s # void *marshal_data) 821s # { 821s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 821s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 821s # } 821s # 821s # 821s # /** 821s # * OrgProjectSignalingIface: 821s # * 821s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 821s # */ 821s # 821s # /** 821s # * OrgProjectSignalingIfaceIface: 821s # * @parent_iface: The parent interface. 821s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 821s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 821s # * 821s # * Virtual table for the D-Bus interface org.project.SignalingIface. 821s # */ 821s # 821s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 821s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 821s # 821s # static void 821s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 821s # { 821s # /* GObject signals for received D-Bus signals: */ 821s # /** 821s # * OrgProjectSignalingIface::simple-signal: 821s # * @object: A #OrgProjectSignalingIface. 821s # * 821s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 821s # * 821s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 821s # */ 821s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 821s # g_signal_new ("simple-signal", 821s # G_TYPE_FROM_INTERFACE (iface), 821s # G_SIGNAL_RUN_LAST, 821s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 821s # NULL, 821s # NULL, 821s # org_project_signaling_iface_signal_marshal_simple_signal, 821s # G_TYPE_NONE, 821s # 0); 821s # 821s # /** 821s # * OrgProjectSignalingIface::signal-with-many-args: 821s # * @object: A #OrgProjectSignalingIface. 821s # * @arg_an_b: Argument. 821s # * @arg_an_y: Argument. 821s # * @arg_an_n: Argument. 821s # * @arg_an_q: Argument. 821s # * @arg_an_i: Argument. 821s # * @arg_an_u: Argument. 821s # * @arg_an_x: Argument. 821s # * @arg_an_t: Argument. 821s # * @arg_an_d: Argument. 821s # * @arg_an_s: Argument. 821s # * @arg_an_o: Argument. 821s # * @arg_an_g: Argument. 821s # * @arg_an_h: Argument. 821s # * @arg_an_ay: Argument. 821s # * @arg_an_as: Argument. 821s # * @arg_an_ao: Argument. 821s # * @arg_an_aay: Argument. 821s # * @arg_an_asv: Argument. 821s # * 821s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 821s # * 821s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 821s # */ 821s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 821s # g_signal_new ("signal-with-many-args", 821s # G_TYPE_FROM_INTERFACE (iface), 821s # G_SIGNAL_RUN_LAST, 821s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 821s # NULL, 821s # NULL, 821s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 821s # G_TYPE_NONE, 821s # 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); 821s # 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_emit_simple_signal: 821s # * @object: A #OrgProjectSignalingIface. 821s # * 821s # * Emits the "SimpleSignal" D-Bus signal. 821s # */ 821s # void 821s # org_project_signaling_iface_emit_simple_signal ( 821s # OrgProjectSignalingIface *object) 821s # { 821s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_emit_signal_with_many_args: 821s # * @object: A #OrgProjectSignalingIface. 821s # * @arg_an_b: Argument to pass with the signal. 821s # * @arg_an_y: Argument to pass with the signal. 821s # * @arg_an_n: Argument to pass with the signal. 821s # * @arg_an_q: Argument to pass with the signal. 821s # * @arg_an_i: Argument to pass with the signal. 821s # * @arg_an_u: Argument to pass with the signal. 821s # * @arg_an_x: Argument to pass with the signal. 821s # * @arg_an_t: Argument to pass with the signal. 821s # * @arg_an_d: Argument to pass with the signal. 821s # * @arg_an_s: Argument to pass with the signal. 821s # * @arg_an_o: Argument to pass with the signal. 821s # * @arg_an_g: Argument to pass with the signal. 821s # * @arg_an_h: Argument to pass with the signal. 821s # * @arg_an_ay: Argument to pass with the signal. 821s # * @arg_an_as: Argument to pass with the signal. 821s # * @arg_an_ao: Argument to pass with the signal. 821s # * @arg_an_aay: Argument to pass with the signal. 821s # * @arg_an_asv: Argument to pass with the signal. 821s # * 821s # * Emits the "SignalWithManyArgs" D-Bus signal. 821s # */ 821s # void 821s # org_project_signaling_iface_emit_signal_with_many_args ( 821s # OrgProjectSignalingIface *object, 821s # gboolean arg_an_b, 821s # guchar arg_an_y, 821s # gint16 arg_an_n, 821s # guint16 arg_an_q, 821s # gint arg_an_i, 821s # guint arg_an_u, 821s # gint64 arg_an_x, 821s # guint64 arg_an_t, 821s # gdouble arg_an_d, 821s # const gchar *arg_an_s, 821s # const gchar *arg_an_o, 821s # const gchar *arg_an_g, 821s # GVariant *arg_an_h, 821s # const gchar *arg_an_ay, 821s # const gchar *const *arg_an_as, 821s # const gchar *const *arg_an_ao, 821s # const gchar *const *arg_an_aay, 821s # GVariant *arg_an_asv) 821s # { 821s # 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); 821s # } 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # 821s # /** 821s # * OrgProjectSignalingIfaceProxy: 821s # * 821s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 821s # */ 821s # 821s # /** 821s # * OrgProjectSignalingIfaceProxyClass: 821s # * @parent_class: The parent class. 821s # * 821s # * Class structure for #OrgProjectSignalingIfaceProxy. 821s # */ 821s # 821s # struct _OrgProjectSignalingIfaceProxyPrivate 821s # { 821s # GData *qdata; 821s # }; 821s # 821s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 821s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 821s # 821s # #else 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 821s # 821s # #endif 821s # static void 821s # org_project_signaling_iface_proxy_finalize (GObject *object) 821s # { 821s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 821s # g_datalist_clear (&proxy->priv->qdata); 821s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 821s # guint prop_id G_GNUC_UNUSED, 821s # GValue *value G_GNUC_UNUSED, 821s # GParamSpec *pspec G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 821s # guint prop_id G_GNUC_UNUSED, 821s # const GValue *value G_GNUC_UNUSED, 821s # GParamSpec *pspec G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 821s # const gchar *sender_name G_GNUC_UNUSED, 821s # const gchar *signal_name, 821s # GVariant *parameters) 821s # { 821s # _ExtendedGDBusSignalInfo *info; 821s # GVariantIter iter; 821s # GVariant *child; 821s # GValue *paramv; 821s # gsize num_params; 821s # gsize n; 821s # guint signal_id; 821s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 821s # if (info == NULL) 821s # return; 821s # num_params = g_variant_n_children (parameters); 821s # paramv = g_new0 (GValue, num_params + 1); 821s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 821s # g_value_set_object (¶mv[0], proxy); 821s # g_variant_iter_init (&iter, parameters); 821s # n = 1; 821s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 821s # { 821s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 821s # if (arg_info->use_gvariant) 821s # { 821s # g_value_init (¶mv[n], G_TYPE_VARIANT); 821s # g_value_set_variant (¶mv[n], child); 821s # n++; 821s # } 821s # else 821s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 821s # g_variant_unref (child); 821s # } 821s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 821s # g_signal_emitv (paramv, signal_id, 0, NULL); 821s # for (n = 0; n < num_params + 1; n++) 821s # g_value_unset (¶mv[n]); 821s # g_free (paramv); 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 821s # GVariant *changed_properties, 821s # const gchar *const *invalidated_properties) 821s # { 821s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 821s # guint n; 821s # const gchar *key; 821s # GVariantIter *iter; 821s # _ExtendedGDBusPropertyInfo *info; 821s # g_variant_get (changed_properties, "a{sv}", &iter); 821s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 821s # { 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 821s # g_datalist_remove_data (&proxy->priv->qdata, key); 821s # if (info != NULL) 821s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 821s # } 821s # g_variant_iter_free (iter); 821s # for (n = 0; invalidated_properties[n] != NULL; n++) 821s # { 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 821s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 821s # if (info != NULL) 821s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 821s # } 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 821s # { 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 821s # #else 821s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 821s # #endif 821s # 821s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 821s # { 821s # GObjectClass *gobject_class; 821s # GDBusProxyClass *proxy_class; 821s # 821s # gobject_class = G_OBJECT_CLASS (klass); 821s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 821s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 821s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 821s # 821s # proxy_class = G_DBUS_PROXY_CLASS (klass); 821s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 821s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 821s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 821s # #endif 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new: 821s # * @connection: A #GDBusConnection. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 821s # * 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 821s # * 821s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 821s # */ 821s # void 821s # org_project_signaling_iface_proxy_new ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # 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); 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new_finish: 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 821s # * @error: Return location for error or %NULL 821s # * 821s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 821s # * 821s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectSignalingIface * 821s # org_project_signaling_iface_proxy_new_finish ( 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GObject *ret; 821s # GObject *source_object; 821s # source_object = g_async_result_get_source_object (res); 821s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 821s # g_object_unref (source_object); 821s # if (ret != NULL) 821s # return ORG_PROJECT_SIGNALING_IFACE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new_sync: 821s # * @connection: A #GDBusConnection. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL 821s # * 821s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 821s # * 821s # * The calling thread is blocked until a reply is received. 821s # * 821s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 821s # * 821s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectSignalingIface * 821s # org_project_signaling_iface_proxy_new_sync ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GInitable *ret; 821s # 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); 821s # if (ret != NULL) 821s # return ORG_PROJECT_SIGNALING_IFACE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new_for_bus: 821s # * @bus_type: A #GBusType. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: A bus name (well-known or unique). 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 821s # * 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 821s # * 821s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 821s # */ 821s # void 821s # org_project_signaling_iface_proxy_new_for_bus ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # 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); 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new_for_bus_finish: 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 821s # * @error: Return location for error or %NULL 821s # * 821s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 821s # * 821s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectSignalingIface * 821s # org_project_signaling_iface_proxy_new_for_bus_finish ( 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GObject *ret; 821s # GObject *source_object; 821s # source_object = g_async_result_get_source_object (res); 821s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 821s # g_object_unref (source_object); 821s # if (ret != NULL) 821s # return ORG_PROJECT_SIGNALING_IFACE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_proxy_new_for_bus_sync: 821s # * @bus_type: A #GBusType. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: A bus name (well-known or unique). 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL 821s # * 821s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 821s # * 821s # * The calling thread is blocked until a reply is received. 821s # * 821s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 821s # * 821s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectSignalingIface * 821s # org_project_signaling_iface_proxy_new_for_bus_sync ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GInitable *ret; 821s # 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); 821s # if (ret != NULL) 821s # return ORG_PROJECT_SIGNALING_IFACE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # 821s # /** 821s # * OrgProjectSignalingIfaceSkeleton: 821s # * 821s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 821s # */ 821s # 821s # /** 821s # * OrgProjectSignalingIfaceSkeletonClass: 821s # * @parent_class: The parent class. 821s # * 821s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 821s # */ 821s # 821s # struct _OrgProjectSignalingIfaceSkeletonPrivate 821s # { 821s # GValue *properties; 821s # GList *changed_properties; 821s # GSource *changed_properties_idle_source; 821s # GMainContext *context; 821s # GMutex lock; 821s # }; 821s # 821s # static void 821s # _org_project_signaling_iface_skeleton_handle_method_call ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name, 821s # const gchar *method_name, 821s # GVariant *parameters, 821s # GDBusMethodInvocation *invocation, 821s # gpointer user_data) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 821s # _ExtendedGDBusMethodInfo *info; 821s # GVariantIter iter; 821s # GVariant *child; 821s # GValue *paramv; 821s # gsize num_params; 821s # guint num_extra; 821s # gsize n; 821s # guint signal_id; 821s # GValue return_value = G_VALUE_INIT; 821s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 821s # g_assert (info != NULL); 821s # num_params = g_variant_n_children (parameters); 821s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 821s # n = 0; 821s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 821s # g_value_set_object (¶mv[n++], skeleton); 821s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 821s # g_value_set_object (¶mv[n++], invocation); 821s # if (info->pass_fdlist) 821s # { 821s # #ifdef G_OS_UNIX 821s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 821s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 821s # #else 821s # g_assert_not_reached (); 821s # #endif 821s # } 821s # g_variant_iter_init (&iter, parameters); 821s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 821s # { 821s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 821s # if (arg_info->use_gvariant) 821s # { 821s # g_value_init (¶mv[n], G_TYPE_VARIANT); 821s # g_value_set_variant (¶mv[n], child); 821s # n++; 821s # } 821s # else 821s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 821s # g_variant_unref (child); 821s # } 821s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 821s # g_value_init (&return_value, G_TYPE_BOOLEAN); 821s # g_signal_emitv (paramv, signal_id, 0, &return_value); 821s # if (!g_value_get_boolean (&return_value)) 821s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 821s # g_value_unset (&return_value); 821s # for (n = 0; n < num_params + num_extra; n++) 821s # g_value_unset (¶mv[n]); 821s # g_free (paramv); 821s # } 821s # 821s # static GVariant * 821s # _org_project_signaling_iface_skeleton_handle_get_property ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name G_GNUC_UNUSED, 821s # const gchar *property_name, 821s # GError **error, 821s # gpointer user_data) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 821s # GValue value = G_VALUE_INIT; 821s # GParamSpec *pspec; 821s # _ExtendedGDBusPropertyInfo *info; 821s # GVariant *ret; 821s # ret = NULL; 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 821s # g_assert (info != NULL); 821s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 821s # if (pspec == NULL) 821s # { 821s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 821s # } 821s # else 821s # { 821s # g_value_init (&value, pspec->value_type); 821s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 821s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 821s # g_value_unset (&value); 821s # } 821s # return ret; 821s # } 821s # 821s # static gboolean 821s # _org_project_signaling_iface_skeleton_handle_set_property ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name G_GNUC_UNUSED, 821s # const gchar *property_name, 821s # GVariant *variant, 821s # GError **error, 821s # gpointer user_data) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 821s # GValue value = G_VALUE_INIT; 821s # GParamSpec *pspec; 821s # _ExtendedGDBusPropertyInfo *info; 821s # gboolean ret; 821s # ret = FALSE; 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 821s # g_assert (info != NULL); 821s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 821s # if (pspec == NULL) 821s # { 821s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 821s # } 821s # else 821s # { 821s # if (info->use_gvariant) 821s # g_value_set_variant (&value, variant); 821s # else 821s # g_dbus_gvariant_to_gvalue (variant, &value); 821s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 821s # g_value_unset (&value); 821s # ret = TRUE; 821s # } 821s # return ret; 821s # } 821s # 821s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 821s # { 821s # _org_project_signaling_iface_skeleton_handle_method_call, 821s # _org_project_signaling_iface_skeleton_handle_get_property, 821s # _org_project_signaling_iface_skeleton_handle_set_property, 821s # {NULL} 821s # }; 821s # 821s # static GDBusInterfaceInfo * 821s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 821s # { 821s # return org_project_signaling_iface_interface_info (); 821s # } 821s # 821s # static GDBusInterfaceVTable * 821s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 821s # { 821s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 821s # } 821s # 821s # static GVariant * 821s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 821s # 821s # GVariantBuilder builder; 821s # guint n; 821s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 821s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 821s # goto out; 821s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 821s # { 821s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 821s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 821s # { 821s # GVariant *value; 821s # 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); 821s # if (value != NULL) 821s # { 821s # g_variant_take_ref (value); 821s # g_variant_builder_add (&builder, "{sv}", info->name, value); 821s # g_variant_unref (value); 821s # } 821s # } 821s # } 821s # out: 821s # return g_variant_builder_end (&builder); 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # static void 821s # _org_project_signaling_iface_on_signal_simple_signal ( 821s # OrgProjectSignalingIface *object) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 821s # 821s # GList *connections, *l; 821s # GVariant *signal_variant; 821s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 821s # 821s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 821s # for (l = connections; l != NULL; l = l->next) 821s # { 821s # GDBusConnection *connection = l->data; 821s # g_dbus_connection_emit_signal (connection, 821s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 821s # signal_variant, NULL); 821s # } 821s # g_variant_unref (signal_variant); 821s # g_list_free_full (connections, g_object_unref); 821s # } 821s # 821s # static void 821s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 821s # OrgProjectSignalingIface *object, 821s # gboolean arg_an_b, 821s # guchar arg_an_y, 821s # gint16 arg_an_n, 821s # guint16 arg_an_q, 821s # gint arg_an_i, 821s # guint arg_an_u, 821s # gint64 arg_an_x, 821s # guint64 arg_an_t, 821s # gdouble arg_an_d, 821s # const gchar *arg_an_s, 821s # const gchar *arg_an_o, 821s # const gchar *arg_an_g, 821s # GVariant *arg_an_h, 821s # const gchar *arg_an_ay, 821s # const gchar *const *arg_an_as, 821s # const gchar *const *arg_an_ao, 821s # const gchar *const *arg_an_aay, 821s # GVariant *arg_an_asv) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 821s # 821s # GList *connections, *l; 821s # GVariant *signal_variant; 821s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 821s # 821s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 821s # arg_an_b, 821s # arg_an_y, 821s # arg_an_n, 821s # arg_an_q, 821s # arg_an_i, 821s # arg_an_u, 821s # arg_an_x, 821s # arg_an_t, 821s # arg_an_d, 821s # arg_an_s, 821s # arg_an_o, 821s # arg_an_g, 821s # arg_an_h, 821s # arg_an_ay, 821s # arg_an_as, 821s # arg_an_ao, 821s # arg_an_aay, 821s # arg_an_asv)); 821s # for (l = connections; l != NULL; l = l->next) 821s # { 821s # GDBusConnection *connection = l->data; 821s # g_dbus_connection_emit_signal (connection, 821s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 821s # signal_variant, NULL); 821s # } 821s # g_variant_unref (signal_variant); 821s # g_list_free_full (connections, g_object_unref); 821s # } 821s # 821s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 821s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 821s # 821s # #else 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 821s # 821s # #endif 821s # static void 821s # org_project_signaling_iface_skeleton_finalize (GObject *object) 821s # { 821s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 821s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 821s # if (skeleton->priv->changed_properties_idle_source != NULL) 821s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 821s # g_main_context_unref (skeleton->priv->context); 821s # g_mutex_clear (&skeleton->priv->lock); 821s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 821s # { 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 821s # #else 821s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 821s # #endif 821s # 821s # g_mutex_init (&skeleton->priv->lock); 821s # skeleton->priv->context = g_main_context_ref_thread_default (); 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 821s # { 821s # GObjectClass *gobject_class; 821s # GDBusInterfaceSkeletonClass *skeleton_class; 821s # 821s # gobject_class = G_OBJECT_CLASS (klass); 821s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 821s # 821s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 821s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 821s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 821s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 821s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 821s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 821s # #endif 821s # } 821s # 821s # static void 821s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 821s # { 821s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 821s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 821s # } 821s # 821s # /** 821s # * org_project_signaling_iface_skeleton_new: 821s # * 821s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 821s # * 821s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 821s # */ 821s # OrgProjectSignalingIface * 821s # org_project_signaling_iface_skeleton_new (void) 821s # { 821s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 821s # } 821s ok 25 __main__.TestCodegen.test_generate_valid_docbook 821s # tmpdir: /tmp/tmp686_f4qj 821s # codegen: /usr/bin/gdbus-codegen 821s # /tmp/tmp686_f4qj/tmpsth7bh98.xml: 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp686_f4qj/tmpsth7bh98.xml', '--generate-docbook', 'test'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: 821s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 821s # tmpdir: /tmp/tmpug3d0v4a 821s # codegen: /usr/bin/gdbus-codegen 821s # /tmp/tmpug3d0v4a/tmpp56ccjio.xml: 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpug3d0v4a/tmpp56ccjio.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 821s # tmpdir: /tmp/tmpn4_6vwx6 821s # codegen: /usr/bin/gdbus-codegen 821s # /tmp/tmpn4_6vwx6/tmp1qg9r9oc.xml: 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn4_6vwx6/tmp1qg9r9oc.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: /* 821s # * This file is generated by gdbus-codegen, do not modify it. 821s # * 821s # * The license of this code is the same as for the D-Bus interface description 821s # * it was derived from. Note that it links to GLib, so must comply with the 821s # * LGPL linking clauses. 821s # */ 821s # 821s # #ifndef __STDOUT__ 821s # #define __STDOUT__ 821s # 821s # #include 821s # 821s # G_BEGIN_DECLS 821s # 821s # 821s # G_END_DECLS 821s # 821s # #endif /* __STDOUT__ */ 821s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 821s # tmpdir: /tmp/tmpnyxoeayn 821s # codegen: /usr/bin/gdbus-codegen 821s # /tmp/tmpnyxoeayn/tmp_nyx9frl.xml: 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnyxoeayn/tmp_nyx9frl.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 821s # tmpdir: /tmp/tmpksd3gdli 821s # codegen: /usr/bin/gdbus-codegen 821s # /tmp/tmpksd3gdli/tmptdn7869l.xml: 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpksd3gdli/tmptdn7869l.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: /* 821s # * This file is generated by gdbus-codegen, do not modify it. 821s # * 821s # * The license of this code is the same as for the D-Bus interface description 821s # * it was derived from. Note that it links to GLib, so must comply with the 821s # * LGPL linking clauses. 821s # */ 821s # 821s # #ifndef __STDOUT__ 821s # #define __STDOUT__ 821s # 821s # #include 821s # 821s # G_BEGIN_DECLS 821s # 821s # 821s # G_END_DECLS 821s # 821s # #endif /* __STDOUT__ */ 821s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 821s # tmpdir: /tmp/tmpiu6mrhec 821s # codegen: /usr/bin/gdbus-codegen 821s # /tmp/tmpiu6mrhec/tmpqqxy0myq.xml: 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpiu6mrhec/tmpqqxy0myq.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: /* 821s # * This file is generated by gdbus-codegen, do not modify it. 821s # * 821s # * The license of this code is the same as for the D-Bus interface description 821s # * it was derived from. Note that it links to GLib, so must comply with the 821s # * LGPL linking clauses. 821s # */ 821s # 821s # #ifndef __STDOUT__ 821s # #define __STDOUT__ 821s # 821s # #include 821s # 821s # G_BEGIN_DECLS 821s # 821s # 821s # G_END_DECLS 821s # 821s # #endif /* __STDOUT__ */ 821s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 821s # tmpdir: /tmp/tmpy4qbq5we 821s # codegen: /usr/bin/gdbus-codegen 821s # /tmp/tmpy4qbq5we/tmpgdxway6l.xml: 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy4qbq5we/tmpgdxway6l.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 821s # tmpdir: /tmp/tmp3bnh3wbs 821s # codegen: /usr/bin/gdbus-codegen 821s # /tmp/tmp3bnh3wbs/tmp2_g3sg92.xml: 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3bnh3wbs/tmp2_g3sg92.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: /* 821s # * This file is generated by gdbus-codegen, do not modify it. 821s # * 821s # * The license of this code is the same as for the D-Bus interface description 821s # * it was derived from. Note that it links to GLib, so must comply with the 821s # * LGPL linking clauses. 821s # */ 821s # 821s # #ifndef __STDOUT__ 821s # #define __STDOUT__ 821s # 821s # #include 821s # 821s # G_BEGIN_DECLS 821s # 821s # 821s # G_END_DECLS 821s # 821s # #endif /* __STDOUT__ */ 821s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 821s # tmpdir: /tmp/tmpebj7t736 821s # codegen: /usr/bin/gdbus-codegen 821s # /tmp/tmpebj7t736/tmp0e6q5i1d.xml: 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpebj7t736/tmp0e6q5i1d.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 821s # tmpdir: /tmp/tmpja50z5ga 821s # codegen: /usr/bin/gdbus-codegen 821s # /tmp/tmpja50z5ga/tmpq23g845w.xml: 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpja50z5ga/tmpq23g845w.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: /* 821s # * This file is generated by gdbus-codegen, do not modify it. 821s # * 821s # * The license of this code is the same as for the D-Bus interface description 821s # * it was derived from. Note that it links to GLib, so must comply with the 821s # * LGPL linking clauses. 821s # */ 821s # 821s # #ifndef __STDOUT__ 821s # #define __STDOUT__ 821s # 821s # #include 821s # 821s # G_BEGIN_DECLS 821s # 821s # 821s # G_END_DECLS 821s # 821s # #endif /* __STDOUT__ */ 821s ok 35 __main__.TestCodegen.test_help 821s # tmpdir: /tmp/tmpxr9u8i1t 821s # codegen: /usr/bin/gdbus-codegen 821s # Running: ['/usr/bin/gdbus-codegen', '--help'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 821s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 821s # [--c-generate-autocleanup {none,objects,all}] 821s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 821s # [--generate-rst OUTFILES] [--pragma-once] 821s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 821s # [--glib-min-required VERSION] 821s # [--glib-max-allowed VERSION] 821s # [--symbol-decorator SYMBOL_DECORATOR] 821s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 821s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 821s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 821s # [--output FILE | --output-directory OUTDIR] 821s # FILE [FILE ...] 821s # 821s # D-Bus code and documentation generator 821s # 821s # positional arguments: 821s # FILE D-Bus introspection XML file 821s # 821s # options: 821s # -h, --help show this help message and exit 821s # --interface-prefix PREFIX 821s # String to strip from D-Bus interface names for code 821s # and docs 821s # --c-namespace NAMESPACE 821s # The namespace to use for generated C code 821s # --c-generate-object-manager 821s # Generate a GDBusObjectManagerClient subclass when 821s # generating C code 821s # --c-generate-autocleanup {none,objects,all} 821s # Generate autocleanup support 821s # --generate-docbook OUTFILES 821s # Generate Docbook in OUTFILES-org.Project.IFace.xml 821s # --generate-md OUTFILES 821s # Generate Markdown in OUTFILES-org.Project.IFace.md 821s # --generate-rst OUTFILES 821s # Generate reStructuredText in OUTFILES- 821s # org.Project.IFace.rst 821s # --pragma-once Use "pragma once" as the inclusion guard 821s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 821s # Add annotation (may be used several times) 821s # --glib-min-required VERSION 821s # Minimum version of GLib to be supported by the 821s # outputted code (default: 2.30) 821s # --glib-max-allowed VERSION 821s # Maximum version of GLib to be used by the outputted 821s # code (default: current GLib version) 821s # --symbol-decorator SYMBOL_DECORATOR 821s # Macro used to decorate a symbol in the outputted 821s # header, possibly to export symbols 821s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 821s # Additional header required for decorator specified by 821s # --symbol-decorator 821s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 821s # Additional define required for decorator specified by 821s # --symbol-decorator 821s # --generate-c-code OUTFILES 821s # Generate C code in OUTFILES.[ch] 821s # --header Generate C headers 821s # --body Generate C code 821s # --interface-info-header 821s # Generate GDBusInterfaceInfo C header 821s # --interface-info-body 821s # Generate GDBusInterfaceInfo C code 821s # --output FILE Write output into the specified file 821s # --output-directory OUTDIR 821s # Location to output generated files 821s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 821s # tmpdir: /tmp/tmppt6oiaza 821s # codegen: /usr/bin/gdbus-codegen 821s # /tmp/tmppt6oiaza/tmpudagvecu.xml: 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppt6oiaza/tmpudagvecu.xml', '--generate-rst', 'test'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: 821s # /tmp/tmppt6oiaza/tmphhls1tqy.xml: 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppt6oiaza/tmphhls1tqy.xml', '--generate-md', 'test'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: 821s # /tmp/tmppt6oiaza/tmpfcegocdn.xml: 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppt6oiaza/tmpfcegocdn.xml', '--generate-docbook', 'test'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: 821s ok 37 __main__.TestCodegen.test_no_args 821s # tmpdir: /tmp/tmpc980p0q0 821s # codegen: /usr/bin/gdbus-codegen 821s # Running: ['/usr/bin/gdbus-codegen'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s ok 38 __main__.TestCodegen.test_reproducible 821s # tmpdir: /tmp/tmp64xw24c0 821s # codegen: /usr/bin/gdbus-codegen 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp64xw24c0/tmpxj833m8q1.xml', '/tmp/tmp64xw24c0/tmpanr5rxck2.xml', '--output', '-', '--header'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: /* 821s # * This file is generated by gdbus-codegen, do not modify it. 821s # * 821s # * The license of this code is the same as for the D-Bus interface description 821s # * it was derived from. Note that it links to GLib, so must comply with the 821s # * LGPL linking clauses. 821s # */ 821s # 821s # #ifndef __STDOUT__ 821s # #define __STDOUT__ 821s # 821s # #include 821s # 821s # G_BEGIN_DECLS 821s # 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # /* Declarations for org.project.Bar.Frobnicator */ 821s # 821s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 821s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 821s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 821s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 821s # 821s # struct _OrgProjectBarFrobnicator; 821s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 821s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 821s # 821s # struct _OrgProjectBarFrobnicatorIface 821s # { 821s # GTypeInterface parent_iface; 821s # 821s # gboolean (*handle_random_method) ( 821s # OrgProjectBarFrobnicator *object, 821s # GDBusMethodInvocation *invocation); 821s # 821s # }; 821s # 821s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 821s # 821s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 821s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 821s # 821s # 821s # /* D-Bus method call completion functions: */ 821s # void org_project_bar_frobnicator_complete_random_method ( 821s # OrgProjectBarFrobnicator *object, 821s # GDBusMethodInvocation *invocation); 821s # 821s # 821s # 821s # /* D-Bus method calls: */ 821s # void org_project_bar_frobnicator_call_random_method ( 821s # OrgProjectBarFrobnicator *proxy, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # 821s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 821s # OrgProjectBarFrobnicator *proxy, 821s # GAsyncResult *res, 821s # GError **error); 821s # 821s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 821s # OrgProjectBarFrobnicator *proxy, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # 821s # 821s # /* ---- */ 821s # 821s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 821s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 821s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 821s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 821s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 821s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 821s # 821s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 821s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 821s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 821s # 821s # struct _OrgProjectBarFrobnicatorProxy 821s # { 821s # /*< private >*/ 821s # GDBusProxy parent_instance; 821s # OrgProjectBarFrobnicatorProxyPrivate *priv; 821s # }; 821s # 821s # struct _OrgProjectBarFrobnicatorProxyClass 821s # { 821s # GDBusProxyClass parent_class; 821s # }; 821s # 821s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 821s # 821s # #if GLIB_CHECK_VERSION(2, 44, 0) 821s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 821s # #endif 821s # 821s # void org_project_bar_frobnicator_proxy_new ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 821s # GAsyncResult *res, 821s # GError **error); 821s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # void org_project_bar_frobnicator_proxy_new_for_bus ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 821s # GAsyncResult *res, 821s # GError **error); 821s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # 821s # /* ---- */ 821s # 821s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 821s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 821s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 821s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 821s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 821s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 821s # 821s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 821s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 821s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 821s # 821s # struct _OrgProjectBarFrobnicatorSkeleton 821s # { 821s # /*< private >*/ 821s # GDBusInterfaceSkeleton parent_instance; 821s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 821s # }; 821s # 821s # struct _OrgProjectBarFrobnicatorSkeletonClass 821s # { 821s # GDBusInterfaceSkeletonClass parent_class; 821s # }; 821s # 821s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 821s # 821s # #if GLIB_CHECK_VERSION(2, 44, 0) 821s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 821s # #endif 821s # 821s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 821s # 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # /* Declarations for com.acme.Coyote */ 821s # 821s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 821s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 821s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 821s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 821s # 821s # struct _ComAcmeCoyote; 821s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 821s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 821s # 821s # struct _ComAcmeCoyoteIface 821s # { 821s # GTypeInterface parent_iface; 821s # 821s # 821s # 821s # gboolean (*handle_attack) ( 821s # ComAcmeCoyote *object, 821s # GDBusMethodInvocation *invocation); 821s # 821s # gboolean (*handle_run) ( 821s # ComAcmeCoyote *object, 821s # GDBusMethodInvocation *invocation); 821s # 821s # gboolean (*handle_sleep) ( 821s # ComAcmeCoyote *object, 821s # GDBusMethodInvocation *invocation); 821s # 821s # const gchar * (*get_mood) (ComAcmeCoyote *object); 821s # 821s # void (*surprised) ( 821s # ComAcmeCoyote *object); 821s # 821s # }; 821s # 821s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 821s # 821s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 821s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 821s # 821s # 821s # /* D-Bus method call completion functions: */ 821s # void com_acme_coyote_complete_run ( 821s # ComAcmeCoyote *object, 821s # GDBusMethodInvocation *invocation); 821s # 821s # void com_acme_coyote_complete_sleep ( 821s # ComAcmeCoyote *object, 821s # GDBusMethodInvocation *invocation); 821s # 821s # void com_acme_coyote_complete_attack ( 821s # ComAcmeCoyote *object, 821s # GDBusMethodInvocation *invocation); 821s # 821s # 821s # 821s # /* D-Bus signal emissions functions: */ 821s # void com_acme_coyote_emit_surprised ( 821s # ComAcmeCoyote *object); 821s # 821s # 821s # 821s # /* D-Bus method calls: */ 821s # void com_acme_coyote_call_run ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # 821s # gboolean com_acme_coyote_call_run_finish ( 821s # ComAcmeCoyote *proxy, 821s # GAsyncResult *res, 821s # GError **error); 821s # 821s # gboolean com_acme_coyote_call_run_sync ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # void com_acme_coyote_call_sleep ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # 821s # gboolean com_acme_coyote_call_sleep_finish ( 821s # ComAcmeCoyote *proxy, 821s # GAsyncResult *res, 821s # GError **error); 821s # 821s # gboolean com_acme_coyote_call_sleep_sync ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # void com_acme_coyote_call_attack ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # 821s # gboolean com_acme_coyote_call_attack_finish ( 821s # ComAcmeCoyote *proxy, 821s # GAsyncResult *res, 821s # GError **error); 821s # 821s # gboolean com_acme_coyote_call_attack_sync ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # 821s # 821s # /* D-Bus property accessors: */ 821s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 821s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 821s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 821s # 821s # 821s # /* ---- */ 821s # 821s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 821s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 821s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 821s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 821s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 821s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 821s # 821s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 821s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 821s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 821s # 821s # struct _ComAcmeCoyoteProxy 821s # { 821s # /*< private >*/ 821s # GDBusProxy parent_instance; 821s # ComAcmeCoyoteProxyPrivate *priv; 821s # }; 821s # 821s # struct _ComAcmeCoyoteProxyClass 821s # { 821s # GDBusProxyClass parent_class; 821s # }; 821s # 821s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 821s # 821s # #if GLIB_CHECK_VERSION(2, 44, 0) 821s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 821s # #endif 821s # 821s # void com_acme_coyote_proxy_new ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 821s # GAsyncResult *res, 821s # GError **error); 821s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # void com_acme_coyote_proxy_new_for_bus ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 821s # GAsyncResult *res, 821s # GError **error); 821s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # 821s # /* ---- */ 821s # 821s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 821s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 821s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 821s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 821s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 821s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 821s # 821s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 821s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 821s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 821s # 821s # struct _ComAcmeCoyoteSkeleton 821s # { 821s # /*< private >*/ 821s # GDBusInterfaceSkeleton parent_instance; 821s # ComAcmeCoyoteSkeletonPrivate *priv; 821s # }; 821s # 821s # struct _ComAcmeCoyoteSkeletonClass 821s # { 821s # GDBusInterfaceSkeletonClass parent_class; 821s # }; 821s # 821s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 821s # 821s # #if GLIB_CHECK_VERSION(2, 44, 0) 821s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 821s # #endif 821s # 821s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 821s # 821s # 821s # G_END_DECLS 821s # 821s # #endif /* __STDOUT__ */ 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp64xw24c0/tmpanr5rxck2.xml', '/tmp/tmp64xw24c0/tmpxj833m8q1.xml', '--output', '-', '--header'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: /* 821s # * This file is generated by gdbus-codegen, do not modify it. 821s # * 821s # * The license of this code is the same as for the D-Bus interface description 821s # * it was derived from. Note that it links to GLib, so must comply with the 821s # * LGPL linking clauses. 821s # */ 821s # 821s # #ifndef __STDOUT__ 821s # #define __STDOUT__ 821s # 821s # #include 821s # 821s # G_BEGIN_DECLS 821s # 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # /* Declarations for org.project.Bar.Frobnicator */ 821s # 821s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 821s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 821s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 821s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 821s # 821s # struct _OrgProjectBarFrobnicator; 821s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 821s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 821s # 821s # struct _OrgProjectBarFrobnicatorIface 821s # { 821s # GTypeInterface parent_iface; 821s # 821s # gboolean (*handle_random_method) ( 821s # OrgProjectBarFrobnicator *object, 821s # GDBusMethodInvocation *invocation); 821s # 821s # }; 821s # 821s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 821s # 821s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 821s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 821s # 821s # 821s # /* D-Bus method call completion functions: */ 821s # void org_project_bar_frobnicator_complete_random_method ( 821s # OrgProjectBarFrobnicator *object, 821s # GDBusMethodInvocation *invocation); 821s # 821s # 821s # 821s # /* D-Bus method calls: */ 821s # void org_project_bar_frobnicator_call_random_method ( 821s # OrgProjectBarFrobnicator *proxy, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # 821s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 821s # OrgProjectBarFrobnicator *proxy, 821s # GAsyncResult *res, 821s # GError **error); 821s # 821s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 821s # OrgProjectBarFrobnicator *proxy, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # 821s # 821s # /* ---- */ 821s # 821s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 821s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 821s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 821s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 821s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 821s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 821s # 821s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 821s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 821s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 821s # 821s # struct _OrgProjectBarFrobnicatorProxy 821s # { 821s # /*< private >*/ 821s # GDBusProxy parent_instance; 821s # OrgProjectBarFrobnicatorProxyPrivate *priv; 821s # }; 821s # 821s # struct _OrgProjectBarFrobnicatorProxyClass 821s # { 821s # GDBusProxyClass parent_class; 821s # }; 821s # 821s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 821s # 821s # #if GLIB_CHECK_VERSION(2, 44, 0) 821s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 821s # #endif 821s # 821s # void org_project_bar_frobnicator_proxy_new ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 821s # GAsyncResult *res, 821s # GError **error); 821s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # void org_project_bar_frobnicator_proxy_new_for_bus ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 821s # GAsyncResult *res, 821s # GError **error); 821s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # 821s # /* ---- */ 821s # 821s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 821s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 821s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 821s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 821s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 821s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 821s # 821s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 821s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 821s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 821s # 821s # struct _OrgProjectBarFrobnicatorSkeleton 821s # { 821s # /*< private >*/ 821s # GDBusInterfaceSkeleton parent_instance; 821s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 821s # }; 821s # 821s # struct _OrgProjectBarFrobnicatorSkeletonClass 821s # { 821s # GDBusInterfaceSkeletonClass parent_class; 821s # }; 821s # 821s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 821s # 821s # #if GLIB_CHECK_VERSION(2, 44, 0) 821s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 821s # #endif 821s # 821s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 821s # 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # /* Declarations for com.acme.Coyote */ 821s # 821s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 821s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 821s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 821s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 821s # 821s # struct _ComAcmeCoyote; 821s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 821s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 821s # 821s # struct _ComAcmeCoyoteIface 821s # { 821s # GTypeInterface parent_iface; 821s # 821s # 821s # 821s # gboolean (*handle_attack) ( 821s # ComAcmeCoyote *object, 821s # GDBusMethodInvocation *invocation); 821s # 821s # gboolean (*handle_run) ( 821s # ComAcmeCoyote *object, 821s # GDBusMethodInvocation *invocation); 821s # 821s # gboolean (*handle_sleep) ( 821s # ComAcmeCoyote *object, 821s # GDBusMethodInvocation *invocation); 821s # 821s # const gchar * (*get_mood) (ComAcmeCoyote *object); 821s # 821s # void (*surprised) ( 821s # ComAcmeCoyote *object); 821s # 821s # }; 821s # 821s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 821s # 821s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 821s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 821s # 821s # 821s # /* D-Bus method call completion functions: */ 821s # void com_acme_coyote_complete_run ( 821s # ComAcmeCoyote *object, 821s # GDBusMethodInvocation *invocation); 821s # 821s # void com_acme_coyote_complete_sleep ( 821s # ComAcmeCoyote *object, 821s # GDBusMethodInvocation *invocation); 821s # 821s # void com_acme_coyote_complete_attack ( 821s # ComAcmeCoyote *object, 821s # GDBusMethodInvocation *invocation); 821s # 821s # 821s # 821s # /* D-Bus signal emissions functions: */ 821s # void com_acme_coyote_emit_surprised ( 821s # ComAcmeCoyote *object); 821s # 821s # 821s # 821s # /* D-Bus method calls: */ 821s # void com_acme_coyote_call_run ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # 821s # gboolean com_acme_coyote_call_run_finish ( 821s # ComAcmeCoyote *proxy, 821s # GAsyncResult *res, 821s # GError **error); 821s # 821s # gboolean com_acme_coyote_call_run_sync ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # void com_acme_coyote_call_sleep ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # 821s # gboolean com_acme_coyote_call_sleep_finish ( 821s # ComAcmeCoyote *proxy, 821s # GAsyncResult *res, 821s # GError **error); 821s # 821s # gboolean com_acme_coyote_call_sleep_sync ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # void com_acme_coyote_call_attack ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # 821s # gboolean com_acme_coyote_call_attack_finish ( 821s # ComAcmeCoyote *proxy, 821s # GAsyncResult *res, 821s # GError **error); 821s # 821s # gboolean com_acme_coyote_call_attack_sync ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # 821s # 821s # /* D-Bus property accessors: */ 821s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 821s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 821s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 821s # 821s # 821s # /* ---- */ 821s # 821s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 821s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 821s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 821s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 821s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 821s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 821s # 821s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 821s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 821s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 821s # 821s # struct _ComAcmeCoyoteProxy 821s # { 821s # /*< private >*/ 821s # GDBusProxy parent_instance; 821s # ComAcmeCoyoteProxyPrivate *priv; 821s # }; 821s # 821s # struct _ComAcmeCoyoteProxyClass 821s # { 821s # GDBusProxyClass parent_class; 821s # }; 821s # 821s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 821s # 821s # #if GLIB_CHECK_VERSION(2, 44, 0) 821s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 821s # #endif 821s # 821s # void com_acme_coyote_proxy_new ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 821s # GAsyncResult *res, 821s # GError **error); 821s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # void com_acme_coyote_proxy_new_for_bus ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 821s # GAsyncResult *res, 821s # GError **error); 821s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # 821s # /* ---- */ 821s # 821s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 821s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 821s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 821s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 821s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 821s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 821s # 821s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 821s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 821s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 821s # 821s # struct _ComAcmeCoyoteSkeleton 821s # { 821s # /*< private >*/ 821s # GDBusInterfaceSkeleton parent_instance; 821s # ComAcmeCoyoteSkeletonPrivate *priv; 821s # }; 821s # 821s # struct _ComAcmeCoyoteSkeletonClass 821s # { 821s # GDBusInterfaceSkeletonClass parent_class; 821s # }; 821s # 821s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 821s # 821s # #if GLIB_CHECK_VERSION(2, 44, 0) 821s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 821s # #endif 821s # 821s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 821s # 821s # 821s # G_END_DECLS 821s # 821s # #endif /* __STDOUT__ */ 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp64xw24c0/tmpxj833m8q1.xml', '/tmp/tmp64xw24c0/tmpanr5rxck2.xml', '--output', '-', '--body'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: /* 821s # * This file is generated by gdbus-codegen, do not modify it. 821s # * 821s # * The license of this code is the same as for the D-Bus interface description 821s # * it was derived from. Note that it links to GLib, so must comply with the 821s # * LGPL linking clauses. 821s # */ 821s # 821s # #ifdef HAVE_CONFIG_H 821s # # include "config.h" 821s # #endif 821s # 821s # #include 821s # #ifdef G_OS_UNIX 821s # # include 821s # #endif 821s # 821s # #ifdef G_ENABLE_DEBUG 821s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 821s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 821s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 821s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 821s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 821s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 821s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 821s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 821s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 821s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 821s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 821s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 821s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 821s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 821s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 821s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 821s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 821s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 821s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 821s # #else /* !G_ENABLE_DEBUG */ 821s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 821s # * Do not access GValues directly in your code. Instead, use the 821s # * g_value_get_*() functions 821s # */ 821s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 821s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 821s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 821s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 821s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 821s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 821s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 821s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 821s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 821s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 821s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 821s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 821s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 821s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 821s # #endif /* !G_ENABLE_DEBUG */ 821s # 821s # typedef struct 821s # { 821s # GDBusArgInfo parent_struct; 821s # gboolean use_gvariant; 821s # } _ExtendedGDBusArgInfo; 821s # 821s # typedef struct 821s # { 821s # GDBusMethodInfo parent_struct; 821s # const gchar *signal_name; 821s # gboolean pass_fdlist; 821s # } _ExtendedGDBusMethodInfo; 821s # 821s # typedef struct 821s # { 821s # GDBusSignalInfo parent_struct; 821s # const gchar *signal_name; 821s # } _ExtendedGDBusSignalInfo; 821s # 821s # typedef struct 821s # { 821s # GDBusPropertyInfo parent_struct; 821s # const gchar *hyphen_name; 821s # guint use_gvariant : 1; 821s # guint emits_changed_signal : 1; 821s # } _ExtendedGDBusPropertyInfo; 821s # 821s # typedef struct 821s # { 821s # GDBusInterfaceInfo parent_struct; 821s # const gchar *hyphen_name; 821s # } _ExtendedGDBusInterfaceInfo; 821s # 821s # typedef struct 821s # { 821s # const _ExtendedGDBusPropertyInfo *info; 821s # guint prop_id; 821s # GValue orig_value; /* the value before the change */ 821s # } ChangedProperty; 821s # 821s # static void 821s # _changed_property_free (ChangedProperty *data) 821s # { 821s # g_value_unset (&data->orig_value); 821s # g_free (data); 821s # } 821s # 821s # static gboolean 821s # _g_strv_equal0 (gchar **a, gchar **b) 821s # { 821s # gboolean ret = FALSE; 821s # guint n; 821s # if (a == NULL && b == NULL) 821s # { 821s # ret = TRUE; 821s # goto out; 821s # } 821s # if (a == NULL || b == NULL) 821s # goto out; 821s # if (g_strv_length (a) != g_strv_length (b)) 821s # goto out; 821s # for (n = 0; a[n] != NULL; n++) 821s # if (g_strcmp0 (a[n], b[n]) != 0) 821s # goto out; 821s # ret = TRUE; 821s # out: 821s # return ret; 821s # } 821s # 821s # static gboolean 821s # _g_variant_equal0 (GVariant *a, GVariant *b) 821s # { 821s # gboolean ret = FALSE; 821s # if (a == NULL && b == NULL) 821s # { 821s # ret = TRUE; 821s # goto out; 821s # } 821s # if (a == NULL || b == NULL) 821s # goto out; 821s # ret = g_variant_equal (a, b); 821s # out: 821s # return ret; 821s # } 821s # 821s # G_GNUC_UNUSED static gboolean 821s # _g_value_equal (const GValue *a, const GValue *b) 821s # { 821s # gboolean ret = FALSE; 821s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 821s # switch (G_VALUE_TYPE (a)) 821s # { 821s # case G_TYPE_BOOLEAN: 821s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 821s # break; 821s # case G_TYPE_UCHAR: 821s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 821s # break; 821s # case G_TYPE_INT: 821s # ret = (g_value_get_int (a) == g_value_get_int (b)); 821s # break; 821s # case G_TYPE_UINT: 821s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 821s # break; 821s # case G_TYPE_INT64: 821s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 821s # break; 821s # case G_TYPE_UINT64: 821s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 821s # break; 821s # case G_TYPE_DOUBLE: 821s # { 821s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 821s # gdouble da = g_value_get_double (a); 821s # gdouble db = g_value_get_double (b); 821s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 821s # } 821s # break; 821s # case G_TYPE_STRING: 821s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 821s # break; 821s # case G_TYPE_VARIANT: 821s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 821s # break; 821s # default: 821s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 821s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 821s # else 821s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 821s # break; 821s # } 821s # return ret; 821s # } 821s # 821s # static void 821s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 821s # GClosure *closure, 821s # GValue *return_value, 821s # unsigned int n_param_values, 821s # const GValue *param_values, 821s # void *invocation_hint G_GNUC_UNUSED, 821s # void *marshal_data) 821s # { 821s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 821s # (void *data1, 821s # GDBusMethodInvocation *arg_method_invocation, 821s # void *data2); 821s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 821s # GCClosure *cc = (GCClosure*) closure; 821s # void *data1, *data2; 821s # gboolean v_return; 821s # 821s # g_return_if_fail (return_value != NULL); 821s # g_return_if_fail (n_param_values == 2); 821s # 821s # if (G_CCLOSURE_SWAP_DATA (closure)) 821s # { 821s # data1 = closure->data; 821s # data2 = g_value_peek_pointer (param_values + 0); 821s # } 821s # else 821s # { 821s # data1 = g_value_peek_pointer (param_values + 0); 821s # data2 = closure->data; 821s # } 821s # 821s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 821s # (marshal_data ? marshal_data : cc->callback); 821s # 821s # v_return = 821s # callback (data1, 821s # g_marshal_value_peek_object (param_values + 1), 821s # data2); 821s # 821s # g_value_set_boolean (return_value, v_return); 821s # } 821s # 821s # /* ------------------------------------------------------------------------ 821s # * Code for interface org.project.Bar.Frobnicator 821s # * ------------------------------------------------------------------------ 821s # */ 821s # 821s # /** 821s # * SECTION:OrgProjectBarFrobnicator 821s # * @title: OrgProjectBarFrobnicator 821s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 821s # * 821s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 821s # */ 821s # 821s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 821s # 821s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 821s # { 821s # { 821s # -1, 821s # (gchar *) "RandomMethod", 821s # NULL, 821s # NULL, 821s # NULL 821s # }, 821s # "handle-random-method", 821s # FALSE 821s # }; 821s # 821s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 821s # { 821s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 821s # NULL 821s # }; 821s # 821s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 821s # { 821s # { 821s # -1, 821s # (gchar *) "org.project.Bar.Frobnicator", 821s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 821s # NULL, 821s # NULL, 821s # NULL 821s # }, 821s # "org-project-bar-frobnicator", 821s # }; 821s # 821s # 821s # /** 821s # * org_project_bar_frobnicator_interface_info: 821s # * 821s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 821s # * 821s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 821s # */ 821s # GDBusInterfaceInfo * 821s # org_project_bar_frobnicator_interface_info (void) 821s # { 821s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_override_properties: 821s # * @klass: The class structure for a #GObject derived class. 821s # * @property_id_begin: The property id to assign to the first overridden property. 821s # * 821s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 821s # * The properties are overridden in the order they are defined. 821s # * 821s # * Returns: The last property id. 821s # */ 821s # guint 821s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 821s # { 821s # return property_id_begin - 1; 821s # } 821s # 821s # 821s # inline static void 821s # org_project_bar_frobnicator_method_marshal_random_method ( 821s # GClosure *closure, 821s # GValue *return_value, 821s # unsigned int n_param_values, 821s # const GValue *param_values, 821s # void *invocation_hint, 821s # void *marshal_data) 821s # { 821s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 821s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 821s # } 821s # 821s # 821s # /** 821s # * OrgProjectBarFrobnicator: 821s # * 821s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 821s # */ 821s # 821s # /** 821s # * OrgProjectBarFrobnicatorIface: 821s # * @parent_iface: The parent interface. 821s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 821s # * 821s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 821s # */ 821s # 821s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 821s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 821s # 821s # static void 821s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 821s # { 821s # /* GObject signals for incoming D-Bus method calls: */ 821s # /** 821s # * OrgProjectBarFrobnicator::handle-random-method: 821s # * @object: A #OrgProjectBarFrobnicator. 821s # * @invocation: A #GDBusMethodInvocation. 821s # * 821s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 821s # * 821s # * 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. 821s # * 821s # * 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. 821s # */ 821s # g_signal_new ("handle-random-method", 821s # G_TYPE_FROM_INTERFACE (iface), 821s # G_SIGNAL_RUN_LAST, 821s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 821s # g_signal_accumulator_true_handled, 821s # NULL, 821s # org_project_bar_frobnicator_method_marshal_random_method, 821s # G_TYPE_BOOLEAN, 821s # 1, 821s # G_TYPE_DBUS_METHOD_INVOCATION); 821s # 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_call_random_method: 821s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 821s # * 821s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 821s # */ 821s # void 821s # org_project_bar_frobnicator_call_random_method ( 821s # OrgProjectBarFrobnicator *proxy, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 821s # "RandomMethod", 821s # g_variant_new ("()"), 821s # G_DBUS_CALL_FLAGS_NONE, 821s # -1, 821s # cancellable, 821s # callback, 821s # user_data); 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_call_random_method_finish: 821s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 821s # * @error: Return location for error or %NULL. 821s # * 821s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 821s # * 821s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 821s # */ 821s # gboolean 821s # org_project_bar_frobnicator_call_random_method_finish ( 821s # OrgProjectBarFrobnicator *proxy, 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GVariant *_ret; 821s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 821s # if (_ret == NULL) 821s # goto _out; 821s # g_variant_get (_ret, 821s # "()"); 821s # g_variant_unref (_ret); 821s # _out: 821s # return _ret != NULL; 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_call_random_method_sync: 821s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL. 821s # * 821s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 821s # * 821s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 821s # * 821s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 821s # */ 821s # gboolean 821s # org_project_bar_frobnicator_call_random_method_sync ( 821s # OrgProjectBarFrobnicator *proxy, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GVariant *_ret; 821s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 821s # "RandomMethod", 821s # g_variant_new ("()"), 821s # G_DBUS_CALL_FLAGS_NONE, 821s # -1, 821s # cancellable, 821s # error); 821s # if (_ret == NULL) 821s # goto _out; 821s # g_variant_get (_ret, 821s # "()"); 821s # g_variant_unref (_ret); 821s # _out: 821s # return _ret != NULL; 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_complete_random_method: 821s # * @object: A #OrgProjectBarFrobnicator. 821s # * @invocation: (transfer full): A #GDBusMethodInvocation. 821s # * 821s # * 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. 821s # * 821s # * This method will free @invocation, you cannot use it afterwards. 821s # */ 821s # void 821s # org_project_bar_frobnicator_complete_random_method ( 821s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 821s # GDBusMethodInvocation *invocation) 821s # { 821s # g_dbus_method_invocation_return_value (invocation, 821s # g_variant_new ("()")); 821s # } 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # 821s # /** 821s # * OrgProjectBarFrobnicatorProxy: 821s # * 821s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 821s # */ 821s # 821s # /** 821s # * OrgProjectBarFrobnicatorProxyClass: 821s # * @parent_class: The parent class. 821s # * 821s # * Class structure for #OrgProjectBarFrobnicatorProxy. 821s # */ 821s # 821s # struct _OrgProjectBarFrobnicatorProxyPrivate 821s # { 821s # GData *qdata; 821s # }; 821s # 821s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 821s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 821s # 821s # #else 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 821s # 821s # #endif 821s # static void 821s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 821s # { 821s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 821s # g_datalist_clear (&proxy->priv->qdata); 821s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 821s # guint prop_id G_GNUC_UNUSED, 821s # GValue *value G_GNUC_UNUSED, 821s # GParamSpec *pspec G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 821s # guint prop_id G_GNUC_UNUSED, 821s # const GValue *value G_GNUC_UNUSED, 821s # GParamSpec *pspec G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 821s # const gchar *sender_name G_GNUC_UNUSED, 821s # const gchar *signal_name, 821s # GVariant *parameters) 821s # { 821s # _ExtendedGDBusSignalInfo *info; 821s # GVariantIter iter; 821s # GVariant *child; 821s # GValue *paramv; 821s # gsize num_params; 821s # gsize n; 821s # guint signal_id; 821s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 821s # if (info == NULL) 821s # return; 821s # num_params = g_variant_n_children (parameters); 821s # paramv = g_new0 (GValue, num_params + 1); 821s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 821s # g_value_set_object (¶mv[0], proxy); 821s # g_variant_iter_init (&iter, parameters); 821s # n = 1; 821s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 821s # { 821s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 821s # if (arg_info->use_gvariant) 821s # { 821s # g_value_init (¶mv[n], G_TYPE_VARIANT); 821s # g_value_set_variant (¶mv[n], child); 821s # n++; 821s # } 821s # else 821s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 821s # g_variant_unref (child); 821s # } 821s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 821s # g_signal_emitv (paramv, signal_id, 0, NULL); 821s # for (n = 0; n < num_params + 1; n++) 821s # g_value_unset (¶mv[n]); 821s # g_free (paramv); 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 821s # GVariant *changed_properties, 821s # const gchar *const *invalidated_properties) 821s # { 821s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 821s # guint n; 821s # const gchar *key; 821s # GVariantIter *iter; 821s # _ExtendedGDBusPropertyInfo *info; 821s # g_variant_get (changed_properties, "a{sv}", &iter); 821s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 821s # { 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 821s # g_datalist_remove_data (&proxy->priv->qdata, key); 821s # if (info != NULL) 821s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 821s # } 821s # g_variant_iter_free (iter); 821s # for (n = 0; invalidated_properties[n] != NULL; n++) 821s # { 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 821s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 821s # if (info != NULL) 821s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 821s # } 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 821s # { 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 821s # #else 821s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 821s # #endif 821s # 821s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 821s # { 821s # GObjectClass *gobject_class; 821s # GDBusProxyClass *proxy_class; 821s # 821s # gobject_class = G_OBJECT_CLASS (klass); 821s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 821s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 821s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 821s # 821s # proxy_class = G_DBUS_PROXY_CLASS (klass); 821s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 821s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 821s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 821s # #endif 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_proxy_new: 821s # * @connection: A #GDBusConnection. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 821s # * 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 821s # * 821s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 821s # */ 821s # void 821s # org_project_bar_frobnicator_proxy_new ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # 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); 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_proxy_new_finish: 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 821s # * @error: Return location for error or %NULL 821s # * 821s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 821s # * 821s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectBarFrobnicator * 821s # org_project_bar_frobnicator_proxy_new_finish ( 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GObject *ret; 821s # GObject *source_object; 821s # source_object = g_async_result_get_source_object (res); 821s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 821s # g_object_unref (source_object); 821s # if (ret != NULL) 821s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_proxy_new_sync: 821s # * @connection: A #GDBusConnection. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL 821s # * 821s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 821s # * 821s # * The calling thread is blocked until a reply is received. 821s # * 821s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 821s # * 821s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectBarFrobnicator * 821s # org_project_bar_frobnicator_proxy_new_sync ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GInitable *ret; 821s # 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); 821s # if (ret != NULL) 821s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # 821s # /** 821s # * org_project_bar_frobnicator_proxy_new_for_bus: 821s # * @bus_type: A #GBusType. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: A bus name (well-known or unique). 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 821s # * 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 821s # * 821s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 821s # */ 821s # void 821s # org_project_bar_frobnicator_proxy_new_for_bus ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # 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); 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 821s # * @error: Return location for error or %NULL 821s # * 821s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 821s # * 821s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectBarFrobnicator * 821s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GObject *ret; 821s # GObject *source_object; 821s # source_object = g_async_result_get_source_object (res); 821s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 821s # g_object_unref (source_object); 821s # if (ret != NULL) 821s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 821s # * @bus_type: A #GBusType. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: A bus name (well-known or unique). 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL 821s # * 821s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 821s # * 821s # * The calling thread is blocked until a reply is received. 821s # * 821s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 821s # * 821s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectBarFrobnicator * 821s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GInitable *ret; 821s # 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); 821s # if (ret != NULL) 821s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # 821s # /** 821s # * OrgProjectBarFrobnicatorSkeleton: 821s # * 821s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 821s # */ 821s # 821s # /** 821s # * OrgProjectBarFrobnicatorSkeletonClass: 821s # * @parent_class: The parent class. 821s # * 821s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 821s # */ 821s # 821s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 821s # { 821s # GValue *properties; 821s # GList *changed_properties; 821s # GSource *changed_properties_idle_source; 821s # GMainContext *context; 821s # GMutex lock; 821s # }; 821s # 821s # static void 821s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name, 821s # const gchar *method_name, 821s # GVariant *parameters, 821s # GDBusMethodInvocation *invocation, 821s # gpointer user_data) 821s # { 821s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 821s # _ExtendedGDBusMethodInfo *info; 821s # GVariantIter iter; 821s # GVariant *child; 821s # GValue *paramv; 821s # gsize num_params; 821s # guint num_extra; 821s # gsize n; 821s # guint signal_id; 821s # GValue return_value = G_VALUE_INIT; 821s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 821s # g_assert (info != NULL); 821s # num_params = g_variant_n_children (parameters); 821s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 821s # n = 0; 821s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 821s # g_value_set_object (¶mv[n++], skeleton); 821s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 821s # g_value_set_object (¶mv[n++], invocation); 821s # if (info->pass_fdlist) 821s # { 821s # #ifdef G_OS_UNIX 821s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 821s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 821s # #else 821s # g_assert_not_reached (); 821s # #endif 821s # } 821s # g_variant_iter_init (&iter, parameters); 821s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 821s # { 821s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 821s # if (arg_info->use_gvariant) 821s # { 821s # g_value_init (¶mv[n], G_TYPE_VARIANT); 821s # g_value_set_variant (¶mv[n], child); 821s # n++; 821s # } 821s # else 821s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 821s # g_variant_unref (child); 821s # } 821s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 821s # g_value_init (&return_value, G_TYPE_BOOLEAN); 821s # g_signal_emitv (paramv, signal_id, 0, &return_value); 821s # if (!g_value_get_boolean (&return_value)) 821s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 821s # g_value_unset (&return_value); 821s # for (n = 0; n < num_params + num_extra; n++) 821s # g_value_unset (¶mv[n]); 821s # g_free (paramv); 821s # } 821s # 821s # static GVariant * 821s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name G_GNUC_UNUSED, 821s # const gchar *property_name, 821s # GError **error, 821s # gpointer user_data) 821s # { 821s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 821s # GValue value = G_VALUE_INIT; 821s # GParamSpec *pspec; 821s # _ExtendedGDBusPropertyInfo *info; 821s # GVariant *ret; 821s # ret = NULL; 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 821s # g_assert (info != NULL); 821s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 821s # if (pspec == NULL) 821s # { 821s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 821s # } 821s # else 821s # { 821s # g_value_init (&value, pspec->value_type); 821s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 821s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 821s # g_value_unset (&value); 821s # } 821s # return ret; 821s # } 821s # 821s # static gboolean 821s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name G_GNUC_UNUSED, 821s # const gchar *property_name, 821s # GVariant *variant, 821s # GError **error, 821s # gpointer user_data) 821s # { 821s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 821s # GValue value = G_VALUE_INIT; 821s # GParamSpec *pspec; 821s # _ExtendedGDBusPropertyInfo *info; 821s # gboolean ret; 821s # ret = FALSE; 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 821s # g_assert (info != NULL); 821s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 821s # if (pspec == NULL) 821s # { 821s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 821s # } 821s # else 821s # { 821s # if (info->use_gvariant) 821s # g_value_set_variant (&value, variant); 821s # else 821s # g_dbus_gvariant_to_gvalue (variant, &value); 821s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 821s # g_value_unset (&value); 821s # ret = TRUE; 821s # } 821s # return ret; 821s # } 821s # 821s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 821s # { 821s # _org_project_bar_frobnicator_skeleton_handle_method_call, 821s # _org_project_bar_frobnicator_skeleton_handle_get_property, 821s # _org_project_bar_frobnicator_skeleton_handle_set_property, 821s # {NULL} 821s # }; 821s # 821s # static GDBusInterfaceInfo * 821s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 821s # { 821s # return org_project_bar_frobnicator_interface_info (); 821s # } 821s # 821s # static GDBusInterfaceVTable * 821s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 821s # { 821s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 821s # } 821s # 821s # static GVariant * 821s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 821s # { 821s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 821s # 821s # GVariantBuilder builder; 821s # guint n; 821s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 821s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 821s # goto out; 821s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 821s # { 821s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 821s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 821s # { 821s # GVariant *value; 821s # 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); 821s # if (value != NULL) 821s # { 821s # g_variant_take_ref (value); 821s # g_variant_builder_add (&builder, "{sv}", info->name, value); 821s # g_variant_unref (value); 821s # } 821s # } 821s # } 821s # out: 821s # return g_variant_builder_end (&builder); 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 821s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 821s # 821s # #else 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 821s # 821s # #endif 821s # static void 821s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 821s # { 821s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 821s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 821s # if (skeleton->priv->changed_properties_idle_source != NULL) 821s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 821s # g_main_context_unref (skeleton->priv->context); 821s # g_mutex_clear (&skeleton->priv->lock); 821s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 821s # { 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 821s # #else 821s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 821s # #endif 821s # 821s # g_mutex_init (&skeleton->priv->lock); 821s # skeleton->priv->context = g_main_context_ref_thread_default (); 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 821s # { 821s # GObjectClass *gobject_class; 821s # GDBusInterfaceSkeletonClass *skeleton_class; 821s # 821s # gobject_class = G_OBJECT_CLASS (klass); 821s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 821s # 821s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 821s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 821s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 821s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 821s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 821s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 821s # #endif 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_skeleton_new: 821s # * 821s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 821s # * 821s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 821s # */ 821s # OrgProjectBarFrobnicator * 821s # org_project_bar_frobnicator_skeleton_new (void) 821s # { 821s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 821s # } 821s # 821s # /* ------------------------------------------------------------------------ 821s # * Code for interface com.acme.Coyote 821s # * ------------------------------------------------------------------------ 821s # */ 821s # 821s # /** 821s # * SECTION:ComAcmeCoyote 821s # * @title: ComAcmeCoyote 821s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 821s # * 821s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 821s # */ 821s # 821s # enum 821s # { 821s # _COM_ACME_COYOTE_SURPRISED, 821s # }; 821s # 821s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 821s # 821s # /* ---- Introspection data for com.acme.Coyote ---- */ 821s # 821s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 821s # { 821s # { 821s # -1, 821s # (gchar *) "Run", 821s # NULL, 821s # NULL, 821s # NULL 821s # }, 821s # "handle-run", 821s # FALSE 821s # }; 821s # 821s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 821s # { 821s # { 821s # -1, 821s # (gchar *) "Sleep", 821s # NULL, 821s # NULL, 821s # NULL 821s # }, 821s # "handle-sleep", 821s # FALSE 821s # }; 821s # 821s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 821s # { 821s # { 821s # -1, 821s # (gchar *) "Attack", 821s # NULL, 821s # NULL, 821s # NULL 821s # }, 821s # "handle-attack", 821s # FALSE 821s # }; 821s # 821s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 821s # { 821s # &_com_acme_coyote_method_info_run.parent_struct, 821s # &_com_acme_coyote_method_info_sleep.parent_struct, 821s # &_com_acme_coyote_method_info_attack.parent_struct, 821s # NULL 821s # }; 821s # 821s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 821s # { 821s # { 821s # -1, 821s # (gchar *) "Surprised", 821s # NULL, 821s # NULL 821s # }, 821s # "surprised" 821s # }; 821s # 821s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 821s # { 821s # &_com_acme_coyote_signal_info_surprised.parent_struct, 821s # NULL 821s # }; 821s # 821s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 821s # { 821s # { 821s # -1, 821s # (gchar *) "Mood", 821s # (gchar *) "s", 821s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 821s # NULL 821s # }, 821s # "mood", 821s # FALSE, 821s # TRUE 821s # }; 821s # 821s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 821s # { 821s # &_com_acme_coyote_property_info_mood.parent_struct, 821s # NULL 821s # }; 821s # 821s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 821s # { 821s # { 821s # -1, 821s # (gchar *) "com.acme.Coyote", 821s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 821s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 821s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 821s # NULL 821s # }, 821s # "com-acme-coyote", 821s # }; 821s # 821s # 821s # /** 821s # * com_acme_coyote_interface_info: 821s # * 821s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 821s # * 821s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 821s # */ 821s # GDBusInterfaceInfo * 821s # com_acme_coyote_interface_info (void) 821s # { 821s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_override_properties: 821s # * @klass: The class structure for a #GObject derived class. 821s # * @property_id_begin: The property id to assign to the first overridden property. 821s # * 821s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 821s # * The properties are overridden in the order they are defined. 821s # * 821s # * Returns: The last property id. 821s # */ 821s # guint 821s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 821s # { 821s # g_object_class_override_property (klass, property_id_begin++, "mood"); 821s # return property_id_begin - 1; 821s # } 821s # 821s # 821s # inline static void 821s # com_acme_coyote_signal_marshal_surprised ( 821s # GClosure *closure, 821s # GValue *return_value, 821s # unsigned int n_param_values, 821s # const GValue *param_values, 821s # void *invocation_hint, 821s # void *marshal_data) 821s # { 821s # g_cclosure_marshal_VOID__VOID (closure, 821s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 821s # } 821s # 821s # inline static void 821s # com_acme_coyote_method_marshal_run ( 821s # GClosure *closure, 821s # GValue *return_value, 821s # unsigned int n_param_values, 821s # const GValue *param_values, 821s # void *invocation_hint, 821s # void *marshal_data) 821s # { 821s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 821s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 821s # } 821s # 821s # inline static void 821s # com_acme_coyote_method_marshal_sleep ( 821s # GClosure *closure, 821s # GValue *return_value, 821s # unsigned int n_param_values, 821s # const GValue *param_values, 821s # void *invocation_hint, 821s # void *marshal_data) 821s # { 821s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 821s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 821s # } 821s # 821s # inline static void 821s # com_acme_coyote_method_marshal_attack ( 821s # GClosure *closure, 821s # GValue *return_value, 821s # unsigned int n_param_values, 821s # const GValue *param_values, 821s # void *invocation_hint, 821s # void *marshal_data) 821s # { 821s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 821s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 821s # } 821s # 821s # 821s # /** 821s # * ComAcmeCoyote: 821s # * 821s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 821s # */ 821s # 821s # /** 821s # * ComAcmeCoyoteIface: 821s # * @parent_iface: The parent interface. 821s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 821s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 821s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 821s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 821s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 821s # * 821s # * Virtual table for the D-Bus interface com.acme.Coyote. 821s # */ 821s # 821s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 821s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 821s # 821s # static void 821s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 821s # { 821s # /* GObject signals for incoming D-Bus method calls: */ 821s # /** 821s # * ComAcmeCoyote::handle-run: 821s # * @object: A #ComAcmeCoyote. 821s # * @invocation: A #GDBusMethodInvocation. 821s # * 821s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 821s # * 821s # * 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. 821s # * 821s # * 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. 821s # */ 821s # g_signal_new ("handle-run", 821s # G_TYPE_FROM_INTERFACE (iface), 821s # G_SIGNAL_RUN_LAST, 821s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 821s # g_signal_accumulator_true_handled, 821s # NULL, 821s # com_acme_coyote_method_marshal_run, 821s # G_TYPE_BOOLEAN, 821s # 1, 821s # G_TYPE_DBUS_METHOD_INVOCATION); 821s # 821s # /** 821s # * ComAcmeCoyote::handle-sleep: 821s # * @object: A #ComAcmeCoyote. 821s # * @invocation: A #GDBusMethodInvocation. 821s # * 821s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 821s # * 821s # * 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. 821s # * 821s # * 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. 821s # */ 821s # g_signal_new ("handle-sleep", 821s # G_TYPE_FROM_INTERFACE (iface), 821s # G_SIGNAL_RUN_LAST, 821s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 821s # g_signal_accumulator_true_handled, 821s # NULL, 821s # com_acme_coyote_method_marshal_sleep, 821s # G_TYPE_BOOLEAN, 821s # 1, 821s # G_TYPE_DBUS_METHOD_INVOCATION); 821s # 821s # /** 821s # * ComAcmeCoyote::handle-attack: 821s # * @object: A #ComAcmeCoyote. 821s # * @invocation: A #GDBusMethodInvocation. 821s # * 821s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 821s # * 821s # * 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. 821s # * 821s # * 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. 821s # */ 821s # g_signal_new ("handle-attack", 821s # G_TYPE_FROM_INTERFACE (iface), 821s # G_SIGNAL_RUN_LAST, 821s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 821s # g_signal_accumulator_true_handled, 821s # NULL, 821s # com_acme_coyote_method_marshal_attack, 821s # G_TYPE_BOOLEAN, 821s # 1, 821s # G_TYPE_DBUS_METHOD_INVOCATION); 821s # 821s # /* GObject signals for received D-Bus signals: */ 821s # /** 821s # * ComAcmeCoyote::surprised: 821s # * @object: A #ComAcmeCoyote. 821s # * 821s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 821s # * 821s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 821s # */ 821s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 821s # g_signal_new ("surprised", 821s # G_TYPE_FROM_INTERFACE (iface), 821s # G_SIGNAL_RUN_LAST, 821s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 821s # NULL, 821s # NULL, 821s # com_acme_coyote_signal_marshal_surprised, 821s # G_TYPE_NONE, 821s # 0); 821s # 821s # /* GObject properties for D-Bus properties: */ 821s # /** 821s # * ComAcmeCoyote:mood: 821s # * 821s # * Represents the D-Bus property "Mood". 821s # * 821s # * 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. 821s # */ 821s # g_object_interface_install_property (iface, 821s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_get_mood: (skip) 821s # * @object: A #ComAcmeCoyote. 821s # * 821s # * Gets the value of the "Mood" D-Bus property. 821s # * 821s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 821s # * 821s # * 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. 821s # * 821s # * 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. 821s # */ 821s # const gchar * 821s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 821s # { 821s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 821s # 821s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_dup_mood: (skip) 821s # * @object: A #ComAcmeCoyote. 821s # * 821s # * Gets a copy of the "Mood" D-Bus property. 821s # * 821s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 821s # * 821s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 821s # */ 821s # gchar * 821s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 821s # { 821s # gchar *value; 821s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 821s # return value; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_set_mood: (skip) 821s # * @object: A #ComAcmeCoyote. 821s # * @value: The value to set. 821s # * 821s # * Sets the "Mood" D-Bus property to @value. 821s # * 821s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 821s # */ 821s # void 821s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 821s # { 821s # g_object_set (G_OBJECT (object), "mood", value, NULL); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_emit_surprised: 821s # * @object: A #ComAcmeCoyote. 821s # * 821s # * Emits the "Surprised" D-Bus signal. 821s # */ 821s # void 821s # com_acme_coyote_emit_surprised ( 821s # ComAcmeCoyote *object) 821s # { 821s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_call_run: 821s # * @proxy: A #ComAcmeCoyoteProxy. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Asynchronously invokes the Run() D-Bus method on @proxy. 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 821s # * 821s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 821s # */ 821s # void 821s # com_acme_coyote_call_run ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 821s # "Run", 821s # g_variant_new ("()"), 821s # G_DBUS_CALL_FLAGS_NONE, 821s # -1, 821s # cancellable, 821s # callback, 821s # user_data); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_call_run_finish: 821s # * @proxy: A #ComAcmeCoyoteProxy. 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 821s # * @error: Return location for error or %NULL. 821s # * 821s # * Finishes an operation started with com_acme_coyote_call_run(). 821s # * 821s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 821s # */ 821s # gboolean 821s # com_acme_coyote_call_run_finish ( 821s # ComAcmeCoyote *proxy, 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GVariant *_ret; 821s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 821s # if (_ret == NULL) 821s # goto _out; 821s # g_variant_get (_ret, 821s # "()"); 821s # g_variant_unref (_ret); 821s # _out: 821s # return _ret != NULL; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_call_run_sync: 821s # * @proxy: A #ComAcmeCoyoteProxy. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL. 821s # * 821s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 821s # * 821s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 821s # * 821s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 821s # */ 821s # gboolean 821s # com_acme_coyote_call_run_sync ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GVariant *_ret; 821s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 821s # "Run", 821s # g_variant_new ("()"), 821s # G_DBUS_CALL_FLAGS_NONE, 821s # -1, 821s # cancellable, 821s # error); 821s # if (_ret == NULL) 821s # goto _out; 821s # g_variant_get (_ret, 821s # "()"); 821s # g_variant_unref (_ret); 821s # _out: 821s # return _ret != NULL; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_call_sleep: 821s # * @proxy: A #ComAcmeCoyoteProxy. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 821s # * 821s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 821s # */ 821s # void 821s # com_acme_coyote_call_sleep ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 821s # "Sleep", 821s # g_variant_new ("()"), 821s # G_DBUS_CALL_FLAGS_NONE, 821s # -1, 821s # cancellable, 821s # callback, 821s # user_data); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_call_sleep_finish: 821s # * @proxy: A #ComAcmeCoyoteProxy. 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 821s # * @error: Return location for error or %NULL. 821s # * 821s # * Finishes an operation started with com_acme_coyote_call_sleep(). 821s # * 821s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 821s # */ 821s # gboolean 821s # com_acme_coyote_call_sleep_finish ( 821s # ComAcmeCoyote *proxy, 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GVariant *_ret; 821s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 821s # if (_ret == NULL) 821s # goto _out; 821s # g_variant_get (_ret, 821s # "()"); 821s # g_variant_unref (_ret); 821s # _out: 821s # return _ret != NULL; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_call_sleep_sync: 821s # * @proxy: A #ComAcmeCoyoteProxy. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL. 821s # * 821s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 821s # * 821s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 821s # * 821s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 821s # */ 821s # gboolean 821s # com_acme_coyote_call_sleep_sync ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GVariant *_ret; 821s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 821s # "Sleep", 821s # g_variant_new ("()"), 821s # G_DBUS_CALL_FLAGS_NONE, 821s # -1, 821s # cancellable, 821s # error); 821s # if (_ret == NULL) 821s # goto _out; 821s # g_variant_get (_ret, 821s # "()"); 821s # g_variant_unref (_ret); 821s # _out: 821s # return _ret != NULL; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_call_attack: 821s # * @proxy: A #ComAcmeCoyoteProxy. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 821s # * 821s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 821s # */ 821s # void 821s # com_acme_coyote_call_attack ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 821s # "Attack", 821s # g_variant_new ("()"), 821s # G_DBUS_CALL_FLAGS_NONE, 821s # -1, 821s # cancellable, 821s # callback, 821s # user_data); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_call_attack_finish: 821s # * @proxy: A #ComAcmeCoyoteProxy. 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 821s # * @error: Return location for error or %NULL. 821s # * 821s # * Finishes an operation started with com_acme_coyote_call_attack(). 821s # * 821s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 821s # */ 821s # gboolean 821s # com_acme_coyote_call_attack_finish ( 821s # ComAcmeCoyote *proxy, 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GVariant *_ret; 821s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 821s # if (_ret == NULL) 821s # goto _out; 821s # g_variant_get (_ret, 821s # "()"); 821s # g_variant_unref (_ret); 821s # _out: 821s # return _ret != NULL; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_call_attack_sync: 821s # * @proxy: A #ComAcmeCoyoteProxy. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL. 821s # * 821s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 821s # * 821s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 821s # * 821s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 821s # */ 821s # gboolean 821s # com_acme_coyote_call_attack_sync ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GVariant *_ret; 821s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 821s # "Attack", 821s # g_variant_new ("()"), 821s # G_DBUS_CALL_FLAGS_NONE, 821s # -1, 821s # cancellable, 821s # error); 821s # if (_ret == NULL) 821s # goto _out; 821s # g_variant_get (_ret, 821s # "()"); 821s # g_variant_unref (_ret); 821s # _out: 821s # return _ret != NULL; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_complete_run: 821s # * @object: A #ComAcmeCoyote. 821s # * @invocation: (transfer full): A #GDBusMethodInvocation. 821s # * 821s # * 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. 821s # * 821s # * This method will free @invocation, you cannot use it afterwards. 821s # */ 821s # void 821s # com_acme_coyote_complete_run ( 821s # ComAcmeCoyote *object G_GNUC_UNUSED, 821s # GDBusMethodInvocation *invocation) 821s # { 821s # g_dbus_method_invocation_return_value (invocation, 821s # g_variant_new ("()")); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_complete_sleep: 821s # * @object: A #ComAcmeCoyote. 821s # * @invocation: (transfer full): A #GDBusMethodInvocation. 821s # * 821s # * 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. 821s # * 821s # * This method will free @invocation, you cannot use it afterwards. 821s # */ 821s # void 821s # com_acme_coyote_complete_sleep ( 821s # ComAcmeCoyote *object G_GNUC_UNUSED, 821s # GDBusMethodInvocation *invocation) 821s # { 821s # g_dbus_method_invocation_return_value (invocation, 821s # g_variant_new ("()")); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_complete_attack: 821s # * @object: A #ComAcmeCoyote. 821s # * @invocation: (transfer full): A #GDBusMethodInvocation. 821s # * 821s # * 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. 821s # * 821s # * This method will free @invocation, you cannot use it afterwards. 821s # */ 821s # void 821s # com_acme_coyote_complete_attack ( 821s # ComAcmeCoyote *object G_GNUC_UNUSED, 821s # GDBusMethodInvocation *invocation) 821s # { 821s # g_dbus_method_invocation_return_value (invocation, 821s # g_variant_new ("()")); 821s # } 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # 821s # /** 821s # * ComAcmeCoyoteProxy: 821s # * 821s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 821s # */ 821s # 821s # /** 821s # * ComAcmeCoyoteProxyClass: 821s # * @parent_class: The parent class. 821s # * 821s # * Class structure for #ComAcmeCoyoteProxy. 821s # */ 821s # 821s # struct _ComAcmeCoyoteProxyPrivate 821s # { 821s # GData *qdata; 821s # }; 821s # 821s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 821s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 821s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 821s # 821s # #else 821s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 821s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 821s # 821s # #endif 821s # static void 821s # com_acme_coyote_proxy_finalize (GObject *object) 821s # { 821s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 821s # g_datalist_clear (&proxy->priv->qdata); 821s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 821s # } 821s # 821s # static void 821s # com_acme_coyote_proxy_get_property (GObject *object, 821s # guint prop_id, 821s # GValue *value, 821s # GParamSpec *pspec G_GNUC_UNUSED) 821s # { 821s # const _ExtendedGDBusPropertyInfo *info; 821s # GVariant *variant; 821s # g_assert (prop_id != 0 && prop_id - 1 < 1); 821s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 821s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 821s # if (info->use_gvariant) 821s # { 821s # g_value_set_variant (value, variant); 821s # } 821s # else 821s # { 821s # if (variant != NULL) 821s # g_dbus_gvariant_to_gvalue (variant, value); 821s # } 821s # if (variant != NULL) 821s # g_variant_unref (variant); 821s # } 821s # 821s # static void 821s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 821s # GAsyncResult *res, 821s # gpointer user_data) 821s # { 821s # const _ExtendedGDBusPropertyInfo *info = user_data; 821s # GError *error; 821s # GVariant *_ret; 821s # error = NULL; 821s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 821s # if (!_ret) 821s # { 821s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 821s # info->parent_struct.name, 821s # error->message, g_quark_to_string (error->domain), error->code); 821s # g_error_free (error); 821s # } 821s # else 821s # { 821s # g_variant_unref (_ret); 821s # } 821s # } 821s # 821s # static void 821s # com_acme_coyote_proxy_set_property (GObject *object, 821s # guint prop_id, 821s # const GValue *value, 821s # GParamSpec *pspec G_GNUC_UNUSED) 821s # { 821s # const _ExtendedGDBusPropertyInfo *info; 821s # GVariant *variant; 821s # g_assert (prop_id != 0 && prop_id - 1 < 1); 821s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 821s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 821s # g_dbus_proxy_call (G_DBUS_PROXY (object), 821s # "org.freedesktop.DBus.Properties.Set", 821s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 821s # G_DBUS_CALL_FLAGS_NONE, 821s # -1, 821s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 821s # g_variant_unref (variant); 821s # } 821s # 821s # static void 821s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 821s # const gchar *sender_name G_GNUC_UNUSED, 821s # const gchar *signal_name, 821s # GVariant *parameters) 821s # { 821s # _ExtendedGDBusSignalInfo *info; 821s # GVariantIter iter; 821s # GVariant *child; 821s # GValue *paramv; 821s # gsize num_params; 821s # gsize n; 821s # guint signal_id; 821s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 821s # if (info == NULL) 821s # return; 821s # num_params = g_variant_n_children (parameters); 821s # paramv = g_new0 (GValue, num_params + 1); 821s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 821s # g_value_set_object (¶mv[0], proxy); 821s # g_variant_iter_init (&iter, parameters); 821s # n = 1; 821s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 821s # { 821s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 821s # if (arg_info->use_gvariant) 821s # { 821s # g_value_init (¶mv[n], G_TYPE_VARIANT); 821s # g_value_set_variant (¶mv[n], child); 821s # n++; 821s # } 821s # else 821s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 821s # g_variant_unref (child); 821s # } 821s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 821s # g_signal_emitv (paramv, signal_id, 0, NULL); 821s # for (n = 0; n < num_params + 1; n++) 821s # g_value_unset (¶mv[n]); 821s # g_free (paramv); 821s # } 821s # 821s # static void 821s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 821s # GVariant *changed_properties, 821s # const gchar *const *invalidated_properties) 821s # { 821s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 821s # guint n; 821s # const gchar *key; 821s # GVariantIter *iter; 821s # _ExtendedGDBusPropertyInfo *info; 821s # g_variant_get (changed_properties, "a{sv}", &iter); 821s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 821s # { 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 821s # g_datalist_remove_data (&proxy->priv->qdata, key); 821s # if (info != NULL) 821s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 821s # } 821s # g_variant_iter_free (iter); 821s # for (n = 0; invalidated_properties[n] != NULL; n++) 821s # { 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 821s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 821s # if (info != NULL) 821s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 821s # } 821s # } 821s # 821s # static const gchar * 821s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 821s # { 821s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 821s # GVariant *variant; 821s # const gchar *value = NULL; 821s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 821s # if (variant != NULL) 821s # { 821s # value = g_variant_get_string (variant, NULL); 821s # g_variant_unref (variant); 821s # } 821s # return value; 821s # } 821s # 821s # static void 821s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 821s # { 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 821s # #else 821s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 821s # #endif 821s # 821s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 821s # } 821s # 821s # static void 821s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 821s # { 821s # GObjectClass *gobject_class; 821s # GDBusProxyClass *proxy_class; 821s # 821s # gobject_class = G_OBJECT_CLASS (klass); 821s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 821s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 821s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 821s # 821s # proxy_class = G_DBUS_PROXY_CLASS (klass); 821s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 821s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 821s # 821s # com_acme_coyote_override_properties (gobject_class, 1); 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 821s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 821s # #endif 821s # } 821s # 821s # static void 821s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 821s # { 821s # iface->get_mood = com_acme_coyote_proxy_get_mood; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_proxy_new: 821s # * @connection: A #GDBusConnection. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 821s # * 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 821s # * 821s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 821s # */ 821s # void 821s # com_acme_coyote_proxy_new ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # 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); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_proxy_new_finish: 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 821s # * @error: Return location for error or %NULL 821s # * 821s # * Finishes an operation started with com_acme_coyote_proxy_new(). 821s # * 821s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # ComAcmeCoyote * 821s # com_acme_coyote_proxy_new_finish ( 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GObject *ret; 821s # GObject *source_object; 821s # source_object = g_async_result_get_source_object (res); 821s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 821s # g_object_unref (source_object); 821s # if (ret != NULL) 821s # return COM_ACME_COYOTE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_proxy_new_sync: 821s # * @connection: A #GDBusConnection. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL 821s # * 821s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 821s # * 821s # * The calling thread is blocked until a reply is received. 821s # * 821s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 821s # * 821s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # ComAcmeCoyote * 821s # com_acme_coyote_proxy_new_sync ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GInitable *ret; 821s # 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); 821s # if (ret != NULL) 821s # return COM_ACME_COYOTE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # 821s # /** 821s # * com_acme_coyote_proxy_new_for_bus: 821s # * @bus_type: A #GBusType. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: A bus name (well-known or unique). 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 821s # * 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 821s # * 821s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 821s # */ 821s # void 821s # com_acme_coyote_proxy_new_for_bus ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # 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); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_proxy_new_for_bus_finish: 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 821s # * @error: Return location for error or %NULL 821s # * 821s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 821s # * 821s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # ComAcmeCoyote * 821s # com_acme_coyote_proxy_new_for_bus_finish ( 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GObject *ret; 821s # GObject *source_object; 821s # source_object = g_async_result_get_source_object (res); 821s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 821s # g_object_unref (source_object); 821s # if (ret != NULL) 821s # return COM_ACME_COYOTE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_proxy_new_for_bus_sync: 821s # * @bus_type: A #GBusType. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: A bus name (well-known or unique). 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL 821s # * 821s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 821s # * 821s # * The calling thread is blocked until a reply is received. 821s # * 821s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 821s # * 821s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # ComAcmeCoyote * 821s # com_acme_coyote_proxy_new_for_bus_sync ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GInitable *ret; 821s # 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); 821s # if (ret != NULL) 821s # return COM_ACME_COYOTE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # 821s # /** 821s # * ComAcmeCoyoteSkeleton: 821s # * 821s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 821s # */ 821s # 821s # /** 821s # * ComAcmeCoyoteSkeletonClass: 821s # * @parent_class: The parent class. 821s # * 821s # * Class structure for #ComAcmeCoyoteSkeleton. 821s # */ 821s # 821s # struct _ComAcmeCoyoteSkeletonPrivate 821s # { 821s # GValue *properties; 821s # GList *changed_properties; 821s # GSource *changed_properties_idle_source; 821s # GMainContext *context; 821s # GMutex lock; 821s # }; 821s # 821s # static void 821s # _com_acme_coyote_skeleton_handle_method_call ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name, 821s # const gchar *method_name, 821s # GVariant *parameters, 821s # GDBusMethodInvocation *invocation, 821s # gpointer user_data) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 821s # _ExtendedGDBusMethodInfo *info; 821s # GVariantIter iter; 821s # GVariant *child; 821s # GValue *paramv; 821s # gsize num_params; 821s # guint num_extra; 821s # gsize n; 821s # guint signal_id; 821s # GValue return_value = G_VALUE_INIT; 821s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 821s # g_assert (info != NULL); 821s # num_params = g_variant_n_children (parameters); 821s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 821s # n = 0; 821s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 821s # g_value_set_object (¶mv[n++], skeleton); 821s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 821s # g_value_set_object (¶mv[n++], invocation); 821s # if (info->pass_fdlist) 821s # { 821s # #ifdef G_OS_UNIX 821s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 821s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 821s # #else 821s # g_assert_not_reached (); 821s # #endif 821s # } 821s # g_variant_iter_init (&iter, parameters); 821s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 821s # { 821s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 821s # if (arg_info->use_gvariant) 821s # { 821s # g_value_init (¶mv[n], G_TYPE_VARIANT); 821s # g_value_set_variant (¶mv[n], child); 821s # n++; 821s # } 821s # else 821s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 821s # g_variant_unref (child); 821s # } 821s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 821s # g_value_init (&return_value, G_TYPE_BOOLEAN); 821s # g_signal_emitv (paramv, signal_id, 0, &return_value); 821s # if (!g_value_get_boolean (&return_value)) 821s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 821s # g_value_unset (&return_value); 821s # for (n = 0; n < num_params + num_extra; n++) 821s # g_value_unset (¶mv[n]); 821s # g_free (paramv); 821s # } 821s # 821s # static GVariant * 821s # _com_acme_coyote_skeleton_handle_get_property ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name G_GNUC_UNUSED, 821s # const gchar *property_name, 821s # GError **error, 821s # gpointer user_data) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 821s # GValue value = G_VALUE_INIT; 821s # GParamSpec *pspec; 821s # _ExtendedGDBusPropertyInfo *info; 821s # GVariant *ret; 821s # ret = NULL; 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 821s # g_assert (info != NULL); 821s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 821s # if (pspec == NULL) 821s # { 821s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 821s # } 821s # else 821s # { 821s # g_value_init (&value, pspec->value_type); 821s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 821s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 821s # g_value_unset (&value); 821s # } 821s # return ret; 821s # } 821s # 821s # static gboolean 821s # _com_acme_coyote_skeleton_handle_set_property ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name G_GNUC_UNUSED, 821s # const gchar *property_name, 821s # GVariant *variant, 821s # GError **error, 821s # gpointer user_data) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 821s # GValue value = G_VALUE_INIT; 821s # GParamSpec *pspec; 821s # _ExtendedGDBusPropertyInfo *info; 821s # gboolean ret; 821s # ret = FALSE; 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 821s # g_assert (info != NULL); 821s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 821s # if (pspec == NULL) 821s # { 821s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 821s # } 821s # else 821s # { 821s # if (info->use_gvariant) 821s # g_value_set_variant (&value, variant); 821s # else 821s # g_dbus_gvariant_to_gvalue (variant, &value); 821s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 821s # g_value_unset (&value); 821s # ret = TRUE; 821s # } 821s # return ret; 821s # } 821s # 821s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 821s # { 821s # _com_acme_coyote_skeleton_handle_method_call, 821s # _com_acme_coyote_skeleton_handle_get_property, 821s # _com_acme_coyote_skeleton_handle_set_property, 821s # {NULL} 821s # }; 821s # 821s # static GDBusInterfaceInfo * 821s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 821s # { 821s # return com_acme_coyote_interface_info (); 821s # } 821s # 821s # static GDBusInterfaceVTable * 821s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 821s # { 821s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 821s # } 821s # 821s # static GVariant * 821s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 821s # 821s # GVariantBuilder builder; 821s # guint n; 821s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 821s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 821s # goto out; 821s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 821s # { 821s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 821s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 821s # { 821s # GVariant *value; 821s # 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); 821s # if (value != NULL) 821s # { 821s # g_variant_take_ref (value); 821s # g_variant_builder_add (&builder, "{sv}", info->name, value); 821s # g_variant_unref (value); 821s # } 821s # } 821s # } 821s # out: 821s # return g_variant_builder_end (&builder); 821s # } 821s # 821s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 821s # 821s # static void 821s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 821s # gboolean emit_changed = FALSE; 821s # 821s # g_mutex_lock (&skeleton->priv->lock); 821s # if (skeleton->priv->changed_properties_idle_source != NULL) 821s # { 821s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 821s # skeleton->priv->changed_properties_idle_source = NULL; 821s # emit_changed = TRUE; 821s # } 821s # g_mutex_unlock (&skeleton->priv->lock); 821s # 821s # if (emit_changed) 821s # _com_acme_coyote_emit_changed (skeleton); 821s # } 821s # 821s # static void 821s # _com_acme_coyote_on_signal_surprised ( 821s # ComAcmeCoyote *object) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 821s # 821s # GList *connections, *l; 821s # GVariant *signal_variant; 821s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 821s # 821s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 821s # for (l = connections; l != NULL; l = l->next) 821s # { 821s # GDBusConnection *connection = l->data; 821s # g_dbus_connection_emit_signal (connection, 821s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 821s # signal_variant, NULL); 821s # } 821s # g_variant_unref (signal_variant); 821s # g_list_free_full (connections, g_object_unref); 821s # } 821s # 821s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 821s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 821s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 821s # 821s # #else 821s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 821s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 821s # 821s # #endif 821s # static void 821s # com_acme_coyote_skeleton_finalize (GObject *object) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 821s # guint n; 821s # for (n = 0; n < 1; n++) 821s # g_value_unset (&skeleton->priv->properties[n]); 821s # g_free (skeleton->priv->properties); 821s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 821s # if (skeleton->priv->changed_properties_idle_source != NULL) 821s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 821s # g_main_context_unref (skeleton->priv->context); 821s # g_mutex_clear (&skeleton->priv->lock); 821s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 821s # } 821s # 821s # static void 821s # com_acme_coyote_skeleton_get_property (GObject *object, 821s # guint prop_id, 821s # GValue *value, 821s # GParamSpec *pspec G_GNUC_UNUSED) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 821s # g_assert (prop_id != 0 && prop_id - 1 < 1); 821s # g_mutex_lock (&skeleton->priv->lock); 821s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 821s # g_mutex_unlock (&skeleton->priv->lock); 821s # } 821s # 821s # static gboolean 821s # _com_acme_coyote_emit_changed (gpointer user_data) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 821s # GList *l; 821s # GVariantBuilder builder; 821s # GVariantBuilder invalidated_builder; 821s # guint num_changes; 821s # 821s # g_mutex_lock (&skeleton->priv->lock); 821s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 821s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 821s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 821s # { 821s # ChangedProperty *cp = l->data; 821s # GVariant *variant; 821s # const GValue *cur_value; 821s # 821s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 821s # if (!_g_value_equal (cur_value, &cp->orig_value)) 821s # { 821s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 821s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 821s # g_variant_unref (variant); 821s # num_changes++; 821s # } 821s # } 821s # if (num_changes > 0) 821s # { 821s # GList *connections, *ll; 821s # GVariant *signal_variant; 821s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 821s # &builder, &invalidated_builder)); 821s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 821s # for (ll = connections; ll != NULL; ll = ll->next) 821s # { 821s # GDBusConnection *connection = ll->data; 821s # 821s # g_dbus_connection_emit_signal (connection, 821s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 821s # "org.freedesktop.DBus.Properties", 821s # "PropertiesChanged", 821s # signal_variant, 821s # NULL); 821s # } 821s # g_variant_unref (signal_variant); 821s # g_list_free_full (connections, g_object_unref); 821s # } 821s # else 821s # { 821s # g_variant_builder_clear (&builder); 821s # g_variant_builder_clear (&invalidated_builder); 821s # } 821s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 821s # skeleton->priv->changed_properties = NULL; 821s # skeleton->priv->changed_properties_idle_source = NULL; 821s # g_mutex_unlock (&skeleton->priv->lock); 821s # return FALSE; 821s # } 821s # 821s # static void 821s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 821s # { 821s # ChangedProperty *cp; 821s # GList *l; 821s # cp = NULL; 821s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 821s # { 821s # ChangedProperty *i_cp = l->data; 821s # if (i_cp->info == info) 821s # { 821s # cp = i_cp; 821s # break; 821s # } 821s # } 821s # if (cp == NULL) 821s # { 821s # cp = g_new0 (ChangedProperty, 1); 821s # cp->prop_id = prop_id; 821s # cp->info = info; 821s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 821s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 821s # g_value_copy (orig_value, &cp->orig_value); 821s # } 821s # } 821s # 821s # static void 821s # com_acme_coyote_skeleton_notify (GObject *object, 821s # GParamSpec *pspec G_GNUC_UNUSED) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 821s # g_mutex_lock (&skeleton->priv->lock); 821s # if (skeleton->priv->changed_properties != NULL && 821s # skeleton->priv->changed_properties_idle_source == NULL) 821s # { 821s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 821s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 821s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 821s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 821s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 821s # g_source_unref (skeleton->priv->changed_properties_idle_source); 821s # } 821s # g_mutex_unlock (&skeleton->priv->lock); 821s # } 821s # 821s # static void 821s # com_acme_coyote_skeleton_set_property (GObject *object, 821s # guint prop_id, 821s # const GValue *value, 821s # GParamSpec *pspec) 821s # { 821s # const _ExtendedGDBusPropertyInfo *info; 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 821s # g_assert (prop_id != 0 && prop_id - 1 < 1); 821s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 821s # g_mutex_lock (&skeleton->priv->lock); 821s # g_object_freeze_notify (object); 821s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 821s # { 821s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 821s # info->emits_changed_signal) 821s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 821s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 821s # g_object_notify_by_pspec (object, pspec); 821s # } 821s # g_mutex_unlock (&skeleton->priv->lock); 821s # g_object_thaw_notify (object); 821s # } 821s # 821s # static void 821s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 821s # { 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 821s # #else 821s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 821s # #endif 821s # 821s # g_mutex_init (&skeleton->priv->lock); 821s # skeleton->priv->context = g_main_context_ref_thread_default (); 821s # skeleton->priv->properties = g_new0 (GValue, 1); 821s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 821s # } 821s # 821s # static const gchar * 821s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 821s # const gchar *value; 821s # g_mutex_lock (&skeleton->priv->lock); 821s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 821s # g_mutex_unlock (&skeleton->priv->lock); 821s # return value; 821s # } 821s # 821s # static void 821s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 821s # { 821s # GObjectClass *gobject_class; 821s # GDBusInterfaceSkeletonClass *skeleton_class; 821s # 821s # gobject_class = G_OBJECT_CLASS (klass); 821s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 821s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 821s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 821s # gobject_class->notify = com_acme_coyote_skeleton_notify; 821s # 821s # 821s # com_acme_coyote_override_properties (gobject_class, 1); 821s # 821s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 821s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 821s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 821s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 821s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 821s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 821s # #endif 821s # } 821s # 821s # static void 821s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 821s # { 821s # iface->surprised = _com_acme_coyote_on_signal_surprised; 821s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_skeleton_new: 821s # * 821s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 821s # * 821s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 821s # */ 821s # ComAcmeCoyote * 821s # com_acme_coyote_skeleton_new (void) 821s # { 821s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 821s # } 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp64xw24c0/tmpanr5rxck2.xml', '/tmp/tmp64xw24c0/tmpxj833m8q1.xml', '--output', '-', '--body'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: /* 821s # * This file is generated by gdbus-codegen, do not modify it. 821s # * 821s # * The license of this code is the same as for the D-Bus interface description 821s # * it was derived from. Note that it links to GLib, so must comply with the 821s # * LGPL linking clauses. 821s # */ 821s # 821s # #ifdef HAVE_CONFIG_H 821s # # include "config.h" 821s # #endif 821s # 821s # #include 821s # #ifdef G_OS_UNIX 821s # # include 821s # #endif 821s # 821s # #ifdef G_ENABLE_DEBUG 821s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 821s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 821s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 821s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 821s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 821s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 821s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 821s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 821s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 821s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 821s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 821s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 821s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 821s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 821s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 821s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 821s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 821s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 821s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 821s # #else /* !G_ENABLE_DEBUG */ 821s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 821s # * Do not access GValues directly in your code. Instead, use the 821s # * g_value_get_*() functions 821s # */ 821s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 821s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 821s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 821s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 821s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 821s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 821s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 821s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 821s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 821s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 821s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 821s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 821s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 821s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 821s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 821s # #endif /* !G_ENABLE_DEBUG */ 821s # 821s # typedef struct 821s # { 821s # GDBusArgInfo parent_struct; 821s # gboolean use_gvariant; 821s # } _ExtendedGDBusArgInfo; 821s # 821s # typedef struct 821s # { 821s # GDBusMethodInfo parent_struct; 821s # const gchar *signal_name; 821s # gboolean pass_fdlist; 821s # } _ExtendedGDBusMethodInfo; 821s # 821s # typedef struct 821s # { 821s # GDBusSignalInfo parent_struct; 821s # const gchar *signal_name; 821s # } _ExtendedGDBusSignalInfo; 821s # 821s # typedef struct 821s # { 821s # GDBusPropertyInfo parent_struct; 821s # const gchar *hyphen_name; 821s # guint use_gvariant : 1; 821s # guint emits_changed_signal : 1; 821s # } _ExtendedGDBusPropertyInfo; 821s # 821s # typedef struct 821s # { 821s # GDBusInterfaceInfo parent_struct; 821s # const gchar *hyphen_name; 821s # } _ExtendedGDBusInterfaceInfo; 821s # 821s # typedef struct 821s # { 821s # const _ExtendedGDBusPropertyInfo *info; 821s # guint prop_id; 821s # GValue orig_value; /* the value before the change */ 821s # } ChangedProperty; 821s # 821s # static void 821s # _changed_property_free (ChangedProperty *data) 821s # { 821s # g_value_unset (&data->orig_value); 821s # g_free (data); 821s # } 821s # 821s # static gboolean 821s # _g_strv_equal0 (gchar **a, gchar **b) 821s # { 821s # gboolean ret = FALSE; 821s # guint n; 821s # if (a == NULL && b == NULL) 821s # { 821s # ret = TRUE; 821s # goto out; 821s # } 821s # if (a == NULL || b == NULL) 821s # goto out; 821s # if (g_strv_length (a) != g_strv_length (b)) 821s # goto out; 821s # for (n = 0; a[n] != NULL; n++) 821s # if (g_strcmp0 (a[n], b[n]) != 0) 821s # goto out; 821s # ret = TRUE; 821s # out: 821s # return ret; 821s # } 821s # 821s # static gboolean 821s # _g_variant_equal0 (GVariant *a, GVariant *b) 821s # { 821s # gboolean ret = FALSE; 821s # if (a == NULL && b == NULL) 821s # { 821s # ret = TRUE; 821s # goto out; 821s # } 821s # if (a == NULL || b == NULL) 821s # goto out; 821s # ret = g_variant_equal (a, b); 821s # out: 821s # return ret; 821s # } 821s # 821s # G_GNUC_UNUSED static gboolean 821s # _g_value_equal (const GValue *a, const GValue *b) 821s # { 821s # gboolean ret = FALSE; 821s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 821s # switch (G_VALUE_TYPE (a)) 821s # { 821s # case G_TYPE_BOOLEAN: 821s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 821s # break; 821s # case G_TYPE_UCHAR: 821s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 821s # break; 821s # case G_TYPE_INT: 821s # ret = (g_value_get_int (a) == g_value_get_int (b)); 821s # break; 821s # case G_TYPE_UINT: 821s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 821s # break; 821s # case G_TYPE_INT64: 821s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 821s # break; 821s # case G_TYPE_UINT64: 821s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 821s # break; 821s # case G_TYPE_DOUBLE: 821s # { 821s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 821s # gdouble da = g_value_get_double (a); 821s # gdouble db = g_value_get_double (b); 821s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 821s # } 821s # break; 821s # case G_TYPE_STRING: 821s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 821s # break; 821s # case G_TYPE_VARIANT: 821s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 821s # break; 821s # default: 821s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 821s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 821s # else 821s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 821s # break; 821s # } 821s # return ret; 821s # } 821s # 821s # static void 821s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 821s # GClosure *closure, 821s # GValue *return_value, 821s # unsigned int n_param_values, 821s # const GValue *param_values, 821s # void *invocation_hint G_GNUC_UNUSED, 821s # void *marshal_data) 821s # { 821s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 821s # (void *data1, 821s # GDBusMethodInvocation *arg_method_invocation, 821s # void *data2); 821s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 821s # GCClosure *cc = (GCClosure*) closure; 821s # void *data1, *data2; 821s # gboolean v_return; 821s # 821s # g_return_if_fail (return_value != NULL); 821s # g_return_if_fail (n_param_values == 2); 821s # 821s # if (G_CCLOSURE_SWAP_DATA (closure)) 821s # { 821s # data1 = closure->data; 821s # data2 = g_value_peek_pointer (param_values + 0); 821s # } 821s # else 821s # { 821s # data1 = g_value_peek_pointer (param_values + 0); 821s # data2 = closure->data; 821s # } 821s # 821s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 821s # (marshal_data ? marshal_data : cc->callback); 821s # 821s # v_return = 821s # callback (data1, 821s # g_marshal_value_peek_object (param_values + 1), 821s # data2); 821s # 821s # g_value_set_boolean (return_value, v_return); 821s # } 821s # 821s # /* ------------------------------------------------------------------------ 821s # * Code for interface org.project.Bar.Frobnicator 821s # * ------------------------------------------------------------------------ 821s # */ 821s # 821s # /** 821s # * SECTION:OrgProjectBarFrobnicator 821s # * @title: OrgProjectBarFrobnicator 821s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 821s # * 821s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 821s # */ 821s # 821s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 821s # 821s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 821s # { 821s # { 821s # -1, 821s # (gchar *) "RandomMethod", 821s # NULL, 821s # NULL, 821s # NULL 821s # }, 821s # "handle-random-method", 821s # FALSE 821s # }; 821s # 821s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 821s # { 821s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 821s # NULL 821s # }; 821s # 821s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 821s # { 821s # { 821s # -1, 821s # (gchar *) "org.project.Bar.Frobnicator", 821s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 821s # NULL, 821s # NULL, 821s # NULL 821s # }, 821s # "org-project-bar-frobnicator", 821s # }; 821s # 821s # 821s # /** 821s # * org_project_bar_frobnicator_interface_info: 821s # * 821s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 821s # * 821s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 821s # */ 821s # GDBusInterfaceInfo * 821s # org_project_bar_frobnicator_interface_info (void) 821s # { 821s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_override_properties: 821s # * @klass: The class structure for a #GObject derived class. 821s # * @property_id_begin: The property id to assign to the first overridden property. 821s # * 821s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 821s # * The properties are overridden in the order they are defined. 821s # * 821s # * Returns: The last property id. 821s # */ 821s # guint 821s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 821s # { 821s # return property_id_begin - 1; 821s # } 821s # 821s # 821s # inline static void 821s # org_project_bar_frobnicator_method_marshal_random_method ( 821s # GClosure *closure, 821s # GValue *return_value, 821s # unsigned int n_param_values, 821s # const GValue *param_values, 821s # void *invocation_hint, 821s # void *marshal_data) 821s # { 821s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 821s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 821s # } 821s # 821s # 821s # /** 821s # * OrgProjectBarFrobnicator: 821s # * 821s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 821s # */ 821s # 821s # /** 821s # * OrgProjectBarFrobnicatorIface: 821s # * @parent_iface: The parent interface. 821s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 821s # * 821s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 821s # */ 821s # 821s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 821s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 821s # 821s # static void 821s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 821s # { 821s # /* GObject signals for incoming D-Bus method calls: */ 821s # /** 821s # * OrgProjectBarFrobnicator::handle-random-method: 821s # * @object: A #OrgProjectBarFrobnicator. 821s # * @invocation: A #GDBusMethodInvocation. 821s # * 821s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 821s # * 821s # * 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. 821s # * 821s # * 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. 821s # */ 821s # g_signal_new ("handle-random-method", 821s # G_TYPE_FROM_INTERFACE (iface), 821s # G_SIGNAL_RUN_LAST, 821s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 821s # g_signal_accumulator_true_handled, 821s # NULL, 821s # org_project_bar_frobnicator_method_marshal_random_method, 821s # G_TYPE_BOOLEAN, 821s # 1, 821s # G_TYPE_DBUS_METHOD_INVOCATION); 821s # 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_call_random_method: 821s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 821s # * 821s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 821s # */ 821s # void 821s # org_project_bar_frobnicator_call_random_method ( 821s # OrgProjectBarFrobnicator *proxy, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 821s # "RandomMethod", 821s # g_variant_new ("()"), 821s # G_DBUS_CALL_FLAGS_NONE, 821s # -1, 821s # cancellable, 821s # callback, 821s # user_data); 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_call_random_method_finish: 821s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 821s # * @error: Return location for error or %NULL. 821s # * 821s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 821s # * 821s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 821s # */ 821s # gboolean 821s # org_project_bar_frobnicator_call_random_method_finish ( 821s # OrgProjectBarFrobnicator *proxy, 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GVariant *_ret; 821s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 821s # if (_ret == NULL) 821s # goto _out; 821s # g_variant_get (_ret, 821s # "()"); 821s # g_variant_unref (_ret); 821s # _out: 821s # return _ret != NULL; 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_call_random_method_sync: 821s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL. 821s # * 821s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 821s # * 821s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 821s # * 821s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 821s # */ 821s # gboolean 821s # org_project_bar_frobnicator_call_random_method_sync ( 821s # OrgProjectBarFrobnicator *proxy, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GVariant *_ret; 821s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 821s # "RandomMethod", 821s # g_variant_new ("()"), 821s # G_DBUS_CALL_FLAGS_NONE, 821s # -1, 821s # cancellable, 821s # error); 821s # if (_ret == NULL) 821s # goto _out; 821s # g_variant_get (_ret, 821s # "()"); 821s # g_variant_unref (_ret); 821s # _out: 821s # return _ret != NULL; 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_complete_random_method: 821s # * @object: A #OrgProjectBarFrobnicator. 821s # * @invocation: (transfer full): A #GDBusMethodInvocation. 821s # * 821s # * 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. 821s # * 821s # * This method will free @invocation, you cannot use it afterwards. 821s # */ 821s # void 821s # org_project_bar_frobnicator_complete_random_method ( 821s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 821s # GDBusMethodInvocation *invocation) 821s # { 821s # g_dbus_method_invocation_return_value (invocation, 821s # g_variant_new ("()")); 821s # } 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # 821s # /** 821s # * OrgProjectBarFrobnicatorProxy: 821s # * 821s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 821s # */ 821s # 821s # /** 821s # * OrgProjectBarFrobnicatorProxyClass: 821s # * @parent_class: The parent class. 821s # * 821s # * Class structure for #OrgProjectBarFrobnicatorProxy. 821s # */ 821s # 821s # struct _OrgProjectBarFrobnicatorProxyPrivate 821s # { 821s # GData *qdata; 821s # }; 821s # 821s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 821s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 821s # 821s # #else 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 821s # 821s # #endif 821s # static void 821s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 821s # { 821s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 821s # g_datalist_clear (&proxy->priv->qdata); 821s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 821s # guint prop_id G_GNUC_UNUSED, 821s # GValue *value G_GNUC_UNUSED, 821s # GParamSpec *pspec G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 821s # guint prop_id G_GNUC_UNUSED, 821s # const GValue *value G_GNUC_UNUSED, 821s # GParamSpec *pspec G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 821s # const gchar *sender_name G_GNUC_UNUSED, 821s # const gchar *signal_name, 821s # GVariant *parameters) 821s # { 821s # _ExtendedGDBusSignalInfo *info; 821s # GVariantIter iter; 821s # GVariant *child; 821s # GValue *paramv; 821s # gsize num_params; 821s # gsize n; 821s # guint signal_id; 821s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 821s # if (info == NULL) 821s # return; 821s # num_params = g_variant_n_children (parameters); 821s # paramv = g_new0 (GValue, num_params + 1); 821s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 821s # g_value_set_object (¶mv[0], proxy); 821s # g_variant_iter_init (&iter, parameters); 821s # n = 1; 821s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 821s # { 821s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 821s # if (arg_info->use_gvariant) 821s # { 821s # g_value_init (¶mv[n], G_TYPE_VARIANT); 821s # g_value_set_variant (¶mv[n], child); 821s # n++; 821s # } 821s # else 821s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 821s # g_variant_unref (child); 821s # } 821s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 821s # g_signal_emitv (paramv, signal_id, 0, NULL); 821s # for (n = 0; n < num_params + 1; n++) 821s # g_value_unset (¶mv[n]); 821s # g_free (paramv); 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 821s # GVariant *changed_properties, 821s # const gchar *const *invalidated_properties) 821s # { 821s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 821s # guint n; 821s # const gchar *key; 821s # GVariantIter *iter; 821s # _ExtendedGDBusPropertyInfo *info; 821s # g_variant_get (changed_properties, "a{sv}", &iter); 821s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 821s # { 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 821s # g_datalist_remove_data (&proxy->priv->qdata, key); 821s # if (info != NULL) 821s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 821s # } 821s # g_variant_iter_free (iter); 821s # for (n = 0; invalidated_properties[n] != NULL; n++) 821s # { 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 821s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 821s # if (info != NULL) 821s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 821s # } 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 821s # { 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 821s # #else 821s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 821s # #endif 821s # 821s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 821s # { 821s # GObjectClass *gobject_class; 821s # GDBusProxyClass *proxy_class; 821s # 821s # gobject_class = G_OBJECT_CLASS (klass); 821s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 821s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 821s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 821s # 821s # proxy_class = G_DBUS_PROXY_CLASS (klass); 821s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 821s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 821s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 821s # #endif 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_proxy_new: 821s # * @connection: A #GDBusConnection. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 821s # * 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 821s # * 821s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 821s # */ 821s # void 821s # org_project_bar_frobnicator_proxy_new ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # 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); 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_proxy_new_finish: 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 821s # * @error: Return location for error or %NULL 821s # * 821s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 821s # * 821s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectBarFrobnicator * 821s # org_project_bar_frobnicator_proxy_new_finish ( 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GObject *ret; 821s # GObject *source_object; 821s # source_object = g_async_result_get_source_object (res); 821s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 821s # g_object_unref (source_object); 821s # if (ret != NULL) 821s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_proxy_new_sync: 821s # * @connection: A #GDBusConnection. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL 821s # * 821s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 821s # * 821s # * The calling thread is blocked until a reply is received. 821s # * 821s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 821s # * 821s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectBarFrobnicator * 821s # org_project_bar_frobnicator_proxy_new_sync ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GInitable *ret; 821s # 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); 821s # if (ret != NULL) 821s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # 821s # /** 821s # * org_project_bar_frobnicator_proxy_new_for_bus: 821s # * @bus_type: A #GBusType. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: A bus name (well-known or unique). 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 821s # * 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 821s # * 821s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 821s # */ 821s # void 821s # org_project_bar_frobnicator_proxy_new_for_bus ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # 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); 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 821s # * @error: Return location for error or %NULL 821s # * 821s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 821s # * 821s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectBarFrobnicator * 821s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GObject *ret; 821s # GObject *source_object; 821s # source_object = g_async_result_get_source_object (res); 821s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 821s # g_object_unref (source_object); 821s # if (ret != NULL) 821s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 821s # * @bus_type: A #GBusType. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: A bus name (well-known or unique). 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL 821s # * 821s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 821s # * 821s # * The calling thread is blocked until a reply is received. 821s # * 821s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 821s # * 821s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # OrgProjectBarFrobnicator * 821s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GInitable *ret; 821s # 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); 821s # if (ret != NULL) 821s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # 821s # /** 821s # * OrgProjectBarFrobnicatorSkeleton: 821s # * 821s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 821s # */ 821s # 821s # /** 821s # * OrgProjectBarFrobnicatorSkeletonClass: 821s # * @parent_class: The parent class. 821s # * 821s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 821s # */ 821s # 821s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 821s # { 821s # GValue *properties; 821s # GList *changed_properties; 821s # GSource *changed_properties_idle_source; 821s # GMainContext *context; 821s # GMutex lock; 821s # }; 821s # 821s # static void 821s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name, 821s # const gchar *method_name, 821s # GVariant *parameters, 821s # GDBusMethodInvocation *invocation, 821s # gpointer user_data) 821s # { 821s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 821s # _ExtendedGDBusMethodInfo *info; 821s # GVariantIter iter; 821s # GVariant *child; 821s # GValue *paramv; 821s # gsize num_params; 821s # guint num_extra; 821s # gsize n; 821s # guint signal_id; 821s # GValue return_value = G_VALUE_INIT; 821s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 821s # g_assert (info != NULL); 821s # num_params = g_variant_n_children (parameters); 821s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 821s # n = 0; 821s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 821s # g_value_set_object (¶mv[n++], skeleton); 821s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 821s # g_value_set_object (¶mv[n++], invocation); 821s # if (info->pass_fdlist) 821s # { 821s # #ifdef G_OS_UNIX 821s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 821s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 821s # #else 821s # g_assert_not_reached (); 821s # #endif 821s # } 821s # g_variant_iter_init (&iter, parameters); 821s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 821s # { 821s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 821s # if (arg_info->use_gvariant) 821s # { 821s # g_value_init (¶mv[n], G_TYPE_VARIANT); 821s # g_value_set_variant (¶mv[n], child); 821s # n++; 821s # } 821s # else 821s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 821s # g_variant_unref (child); 821s # } 821s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 821s # g_value_init (&return_value, G_TYPE_BOOLEAN); 821s # g_signal_emitv (paramv, signal_id, 0, &return_value); 821s # if (!g_value_get_boolean (&return_value)) 821s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 821s # g_value_unset (&return_value); 821s # for (n = 0; n < num_params + num_extra; n++) 821s # g_value_unset (¶mv[n]); 821s # g_free (paramv); 821s # } 821s # 821s # static GVariant * 821s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name G_GNUC_UNUSED, 821s # const gchar *property_name, 821s # GError **error, 821s # gpointer user_data) 821s # { 821s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 821s # GValue value = G_VALUE_INIT; 821s # GParamSpec *pspec; 821s # _ExtendedGDBusPropertyInfo *info; 821s # GVariant *ret; 821s # ret = NULL; 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 821s # g_assert (info != NULL); 821s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 821s # if (pspec == NULL) 821s # { 821s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 821s # } 821s # else 821s # { 821s # g_value_init (&value, pspec->value_type); 821s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 821s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 821s # g_value_unset (&value); 821s # } 821s # return ret; 821s # } 821s # 821s # static gboolean 821s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name G_GNUC_UNUSED, 821s # const gchar *property_name, 821s # GVariant *variant, 821s # GError **error, 821s # gpointer user_data) 821s # { 821s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 821s # GValue value = G_VALUE_INIT; 821s # GParamSpec *pspec; 821s # _ExtendedGDBusPropertyInfo *info; 821s # gboolean ret; 821s # ret = FALSE; 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 821s # g_assert (info != NULL); 821s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 821s # if (pspec == NULL) 821s # { 821s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 821s # } 821s # else 821s # { 821s # if (info->use_gvariant) 821s # g_value_set_variant (&value, variant); 821s # else 821s # g_dbus_gvariant_to_gvalue (variant, &value); 821s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 821s # g_value_unset (&value); 821s # ret = TRUE; 821s # } 821s # return ret; 821s # } 821s # 821s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 821s # { 821s # _org_project_bar_frobnicator_skeleton_handle_method_call, 821s # _org_project_bar_frobnicator_skeleton_handle_get_property, 821s # _org_project_bar_frobnicator_skeleton_handle_set_property, 821s # {NULL} 821s # }; 821s # 821s # static GDBusInterfaceInfo * 821s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 821s # { 821s # return org_project_bar_frobnicator_interface_info (); 821s # } 821s # 821s # static GDBusInterfaceVTable * 821s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 821s # { 821s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 821s # } 821s # 821s # static GVariant * 821s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 821s # { 821s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 821s # 821s # GVariantBuilder builder; 821s # guint n; 821s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 821s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 821s # goto out; 821s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 821s # { 821s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 821s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 821s # { 821s # GVariant *value; 821s # 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); 821s # if (value != NULL) 821s # { 821s # g_variant_take_ref (value); 821s # g_variant_builder_add (&builder, "{sv}", info->name, value); 821s # g_variant_unref (value); 821s # } 821s # } 821s # } 821s # out: 821s # return g_variant_builder_end (&builder); 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 821s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 821s # 821s # #else 821s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 821s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 821s # 821s # #endif 821s # static void 821s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 821s # { 821s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 821s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 821s # if (skeleton->priv->changed_properties_idle_source != NULL) 821s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 821s # g_main_context_unref (skeleton->priv->context); 821s # g_mutex_clear (&skeleton->priv->lock); 821s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 821s # { 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 821s # #else 821s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 821s # #endif 821s # 821s # g_mutex_init (&skeleton->priv->lock); 821s # skeleton->priv->context = g_main_context_ref_thread_default (); 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 821s # { 821s # GObjectClass *gobject_class; 821s # GDBusInterfaceSkeletonClass *skeleton_class; 821s # 821s # gobject_class = G_OBJECT_CLASS (klass); 821s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 821s # 821s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 821s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 821s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 821s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 821s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 821s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 821s # #endif 821s # } 821s # 821s # static void 821s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 821s # { 821s # } 821s # 821s # /** 821s # * org_project_bar_frobnicator_skeleton_new: 821s # * 821s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 821s # * 821s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 821s # */ 821s # OrgProjectBarFrobnicator * 821s # org_project_bar_frobnicator_skeleton_new (void) 821s # { 821s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 821s # } 821s # 821s # /* ------------------------------------------------------------------------ 821s # * Code for interface com.acme.Coyote 821s # * ------------------------------------------------------------------------ 821s # */ 821s # 821s # /** 821s # * SECTION:ComAcmeCoyote 821s # * @title: ComAcmeCoyote 821s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 821s # * 821s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 821s # */ 821s # 821s # enum 821s # { 821s # _COM_ACME_COYOTE_SURPRISED, 821s # }; 821s # 821s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 821s # 821s # /* ---- Introspection data for com.acme.Coyote ---- */ 821s # 821s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 821s # { 821s # { 821s # -1, 821s # (gchar *) "Run", 821s # NULL, 821s # NULL, 821s # NULL 821s # }, 821s # "handle-run", 821s # FALSE 821s # }; 821s # 821s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 821s # { 821s # { 821s # -1, 821s # (gchar *) "Sleep", 821s # NULL, 821s # NULL, 821s # NULL 821s # }, 821s # "handle-sleep", 821s # FALSE 821s # }; 821s # 821s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 821s # { 821s # { 821s # -1, 821s # (gchar *) "Attack", 821s # NULL, 821s # NULL, 821s # NULL 821s # }, 821s # "handle-attack", 821s # FALSE 821s # }; 821s # 821s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 821s # { 821s # &_com_acme_coyote_method_info_run.parent_struct, 821s # &_com_acme_coyote_method_info_sleep.parent_struct, 821s # &_com_acme_coyote_method_info_attack.parent_struct, 821s # NULL 821s # }; 821s # 821s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 821s # { 821s # { 821s # -1, 821s # (gchar *) "Surprised", 821s # NULL, 821s # NULL 821s # }, 821s # "surprised" 821s # }; 821s # 821s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 821s # { 821s # &_com_acme_coyote_signal_info_surprised.parent_struct, 821s # NULL 821s # }; 821s # 821s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 821s # { 821s # { 821s # -1, 821s # (gchar *) "Mood", 821s # (gchar *) "s", 821s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 821s # NULL 821s # }, 821s # "mood", 821s # FALSE, 821s # TRUE 821s # }; 821s # 821s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 821s # { 821s # &_com_acme_coyote_property_info_mood.parent_struct, 821s # NULL 821s # }; 821s # 821s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 821s # { 821s # { 821s # -1, 821s # (gchar *) "com.acme.Coyote", 821s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 821s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 821s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 821s # NULL 821s # }, 821s # "com-acme-coyote", 821s # }; 821s # 821s # 821s # /** 821s # * com_acme_coyote_interface_info: 821s # * 821s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 821s # * 821s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 821s # */ 821s # GDBusInterfaceInfo * 821s # com_acme_coyote_interface_info (void) 821s # { 821s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_override_properties: 821s # * @klass: The class structure for a #GObject derived class. 821s # * @property_id_begin: The property id to assign to the first overridden property. 821s # * 821s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 821s # * The properties are overridden in the order they are defined. 821s # * 821s # * Returns: The last property id. 821s # */ 821s # guint 821s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 821s # { 821s # g_object_class_override_property (klass, property_id_begin++, "mood"); 821s # return property_id_begin - 1; 821s # } 821s # 821s # 821s # inline static void 821s # com_acme_coyote_signal_marshal_surprised ( 821s # GClosure *closure, 821s # GValue *return_value, 821s # unsigned int n_param_values, 821s # const GValue *param_values, 821s # void *invocation_hint, 821s # void *marshal_data) 821s # { 821s # g_cclosure_marshal_VOID__VOID (closure, 821s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 821s # } 821s # 821s # inline static void 821s # com_acme_coyote_method_marshal_run ( 821s # GClosure *closure, 821s # GValue *return_value, 821s # unsigned int n_param_values, 821s # const GValue *param_values, 821s # void *invocation_hint, 821s # void *marshal_data) 821s # { 821s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 821s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 821s # } 821s # 821s # inline static void 821s # com_acme_coyote_method_marshal_sleep ( 821s # GClosure *closure, 821s # GValue *return_value, 821s # unsigned int n_param_values, 821s # const GValue *param_values, 821s # void *invocation_hint, 821s # void *marshal_data) 821s # { 821s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 821s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 821s # } 821s # 821s # inline static void 821s # com_acme_coyote_method_marshal_attack ( 821s # GClosure *closure, 821s # GValue *return_value, 821s # unsigned int n_param_values, 821s # const GValue *param_values, 821s # void *invocation_hint, 821s # void *marshal_data) 821s # { 821s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 821s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 821s # } 821s # 821s # 821s # /** 821s # * ComAcmeCoyote: 821s # * 821s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 821s # */ 821s # 821s # /** 821s # * ComAcmeCoyoteIface: 821s # * @parent_iface: The parent interface. 821s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 821s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 821s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 821s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 821s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 821s # * 821s # * Virtual table for the D-Bus interface com.acme.Coyote. 821s # */ 821s # 821s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 821s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 821s # 821s # static void 821s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 821s # { 821s # /* GObject signals for incoming D-Bus method calls: */ 821s # /** 821s # * ComAcmeCoyote::handle-run: 821s # * @object: A #ComAcmeCoyote. 821s # * @invocation: A #GDBusMethodInvocation. 821s # * 821s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 821s # * 821s # * 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. 821s # * 821s # * 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. 821s # */ 821s # g_signal_new ("handle-run", 821s # G_TYPE_FROM_INTERFACE (iface), 821s # G_SIGNAL_RUN_LAST, 821s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 821s # g_signal_accumulator_true_handled, 821s # NULL, 821s # com_acme_coyote_method_marshal_run, 821s # G_TYPE_BOOLEAN, 821s # 1, 821s # G_TYPE_DBUS_METHOD_INVOCATION); 821s # 821s # /** 821s # * ComAcmeCoyote::handle-sleep: 821s # * @object: A #ComAcmeCoyote. 821s # * @invocation: A #GDBusMethodInvocation. 821s # * 821s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 821s # * 821s # * 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. 821s # * 821s # * 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. 821s # */ 821s # g_signal_new ("handle-sleep", 821s # G_TYPE_FROM_INTERFACE (iface), 821s # G_SIGNAL_RUN_LAST, 821s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 821s # g_signal_accumulator_true_handled, 821s # NULL, 821s # com_acme_coyote_method_marshal_sleep, 821s # G_TYPE_BOOLEAN, 821s # 1, 821s # G_TYPE_DBUS_METHOD_INVOCATION); 821s # 821s # /** 821s # * ComAcmeCoyote::handle-attack: 821s # * @object: A #ComAcmeCoyote. 821s # * @invocation: A #GDBusMethodInvocation. 821s # * 821s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 821s # * 821s # * 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. 821s # * 821s # * 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. 821s # */ 821s # g_signal_new ("handle-attack", 821s # G_TYPE_FROM_INTERFACE (iface), 821s # G_SIGNAL_RUN_LAST, 821s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 821s # g_signal_accumulator_true_handled, 821s # NULL, 821s # com_acme_coyote_method_marshal_attack, 821s # G_TYPE_BOOLEAN, 821s # 1, 821s # G_TYPE_DBUS_METHOD_INVOCATION); 821s # 821s # /* GObject signals for received D-Bus signals: */ 821s # /** 821s # * ComAcmeCoyote::surprised: 821s # * @object: A #ComAcmeCoyote. 821s # * 821s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 821s # * 821s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 821s # */ 821s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 821s # g_signal_new ("surprised", 821s # G_TYPE_FROM_INTERFACE (iface), 821s # G_SIGNAL_RUN_LAST, 821s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 821s # NULL, 821s # NULL, 821s # com_acme_coyote_signal_marshal_surprised, 821s # G_TYPE_NONE, 821s # 0); 821s # 821s # /* GObject properties for D-Bus properties: */ 821s # /** 821s # * ComAcmeCoyote:mood: 821s # * 821s # * Represents the D-Bus property "Mood". 821s # * 821s # * 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. 821s # */ 821s # g_object_interface_install_property (iface, 821s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_get_mood: (skip) 821s # * @object: A #ComAcmeCoyote. 821s # * 821s # * Gets the value of the "Mood" D-Bus property. 821s # * 821s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 821s # * 821s # * 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. 821s # * 821s # * 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. 821s # */ 821s # const gchar * 821s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 821s # { 821s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 821s # 821s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_dup_mood: (skip) 821s # * @object: A #ComAcmeCoyote. 821s # * 821s # * Gets a copy of the "Mood" D-Bus property. 821s # * 821s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 821s # * 821s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 821s # */ 821s # gchar * 821s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 821s # { 821s # gchar *value; 821s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 821s # return value; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_set_mood: (skip) 821s # * @object: A #ComAcmeCoyote. 821s # * @value: The value to set. 821s # * 821s # * Sets the "Mood" D-Bus property to @value. 821s # * 821s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 821s # */ 821s # void 821s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 821s # { 821s # g_object_set (G_OBJECT (object), "mood", value, NULL); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_emit_surprised: 821s # * @object: A #ComAcmeCoyote. 821s # * 821s # * Emits the "Surprised" D-Bus signal. 821s # */ 821s # void 821s # com_acme_coyote_emit_surprised ( 821s # ComAcmeCoyote *object) 821s # { 821s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_call_run: 821s # * @proxy: A #ComAcmeCoyoteProxy. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Asynchronously invokes the Run() D-Bus method on @proxy. 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 821s # * 821s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 821s # */ 821s # void 821s # com_acme_coyote_call_run ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 821s # "Run", 821s # g_variant_new ("()"), 821s # G_DBUS_CALL_FLAGS_NONE, 821s # -1, 821s # cancellable, 821s # callback, 821s # user_data); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_call_run_finish: 821s # * @proxy: A #ComAcmeCoyoteProxy. 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 821s # * @error: Return location for error or %NULL. 821s # * 821s # * Finishes an operation started with com_acme_coyote_call_run(). 821s # * 821s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 821s # */ 821s # gboolean 821s # com_acme_coyote_call_run_finish ( 821s # ComAcmeCoyote *proxy, 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GVariant *_ret; 821s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 821s # if (_ret == NULL) 821s # goto _out; 821s # g_variant_get (_ret, 821s # "()"); 821s # g_variant_unref (_ret); 821s # _out: 821s # return _ret != NULL; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_call_run_sync: 821s # * @proxy: A #ComAcmeCoyoteProxy. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL. 821s # * 821s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 821s # * 821s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 821s # * 821s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 821s # */ 821s # gboolean 821s # com_acme_coyote_call_run_sync ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GVariant *_ret; 821s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 821s # "Run", 821s # g_variant_new ("()"), 821s # G_DBUS_CALL_FLAGS_NONE, 821s # -1, 821s # cancellable, 821s # error); 821s # if (_ret == NULL) 821s # goto _out; 821s # g_variant_get (_ret, 821s # "()"); 821s # g_variant_unref (_ret); 821s # _out: 821s # return _ret != NULL; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_call_sleep: 821s # * @proxy: A #ComAcmeCoyoteProxy. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 821s # * 821s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 821s # */ 821s # void 821s # com_acme_coyote_call_sleep ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 821s # "Sleep", 821s # g_variant_new ("()"), 821s # G_DBUS_CALL_FLAGS_NONE, 821s # -1, 821s # cancellable, 821s # callback, 821s # user_data); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_call_sleep_finish: 821s # * @proxy: A #ComAcmeCoyoteProxy. 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 821s # * @error: Return location for error or %NULL. 821s # * 821s # * Finishes an operation started with com_acme_coyote_call_sleep(). 821s # * 821s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 821s # */ 821s # gboolean 821s # com_acme_coyote_call_sleep_finish ( 821s # ComAcmeCoyote *proxy, 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GVariant *_ret; 821s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 821s # if (_ret == NULL) 821s # goto _out; 821s # g_variant_get (_ret, 821s # "()"); 821s # g_variant_unref (_ret); 821s # _out: 821s # return _ret != NULL; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_call_sleep_sync: 821s # * @proxy: A #ComAcmeCoyoteProxy. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL. 821s # * 821s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 821s # * 821s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 821s # * 821s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 821s # */ 821s # gboolean 821s # com_acme_coyote_call_sleep_sync ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GVariant *_ret; 821s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 821s # "Sleep", 821s # g_variant_new ("()"), 821s # G_DBUS_CALL_FLAGS_NONE, 821s # -1, 821s # cancellable, 821s # error); 821s # if (_ret == NULL) 821s # goto _out; 821s # g_variant_get (_ret, 821s # "()"); 821s # g_variant_unref (_ret); 821s # _out: 821s # return _ret != NULL; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_call_attack: 821s # * @proxy: A #ComAcmeCoyoteProxy. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 821s # * 821s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 821s # */ 821s # void 821s # com_acme_coyote_call_attack ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 821s # "Attack", 821s # g_variant_new ("()"), 821s # G_DBUS_CALL_FLAGS_NONE, 821s # -1, 821s # cancellable, 821s # callback, 821s # user_data); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_call_attack_finish: 821s # * @proxy: A #ComAcmeCoyoteProxy. 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 821s # * @error: Return location for error or %NULL. 821s # * 821s # * Finishes an operation started with com_acme_coyote_call_attack(). 821s # * 821s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 821s # */ 821s # gboolean 821s # com_acme_coyote_call_attack_finish ( 821s # ComAcmeCoyote *proxy, 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GVariant *_ret; 821s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 821s # if (_ret == NULL) 821s # goto _out; 821s # g_variant_get (_ret, 821s # "()"); 821s # g_variant_unref (_ret); 821s # _out: 821s # return _ret != NULL; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_call_attack_sync: 821s # * @proxy: A #ComAcmeCoyoteProxy. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL. 821s # * 821s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 821s # * 821s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 821s # * 821s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 821s # */ 821s # gboolean 821s # com_acme_coyote_call_attack_sync ( 821s # ComAcmeCoyote *proxy, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GVariant *_ret; 821s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 821s # "Attack", 821s # g_variant_new ("()"), 821s # G_DBUS_CALL_FLAGS_NONE, 821s # -1, 821s # cancellable, 821s # error); 821s # if (_ret == NULL) 821s # goto _out; 821s # g_variant_get (_ret, 821s # "()"); 821s # g_variant_unref (_ret); 821s # _out: 821s # return _ret != NULL; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_complete_run: 821s # * @object: A #ComAcmeCoyote. 821s # * @invocation: (transfer full): A #GDBusMethodInvocation. 821s # * 821s # * 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. 821s # * 821s # * This method will free @invocation, you cannot use it afterwards. 821s # */ 821s # void 821s # com_acme_coyote_complete_run ( 821s # ComAcmeCoyote *object G_GNUC_UNUSED, 821s # GDBusMethodInvocation *invocation) 821s # { 821s # g_dbus_method_invocation_return_value (invocation, 821s # g_variant_new ("()")); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_complete_sleep: 821s # * @object: A #ComAcmeCoyote. 821s # * @invocation: (transfer full): A #GDBusMethodInvocation. 821s # * 821s # * 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. 821s # * 821s # * This method will free @invocation, you cannot use it afterwards. 821s # */ 821s # void 821s # com_acme_coyote_complete_sleep ( 821s # ComAcmeCoyote *object G_GNUC_UNUSED, 821s # GDBusMethodInvocation *invocation) 821s # { 821s # g_dbus_method_invocation_return_value (invocation, 821s # g_variant_new ("()")); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_complete_attack: 821s # * @object: A #ComAcmeCoyote. 821s # * @invocation: (transfer full): A #GDBusMethodInvocation. 821s # * 821s # * 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. 821s # * 821s # * This method will free @invocation, you cannot use it afterwards. 821s # */ 821s # void 821s # com_acme_coyote_complete_attack ( 821s # ComAcmeCoyote *object G_GNUC_UNUSED, 821s # GDBusMethodInvocation *invocation) 821s # { 821s # g_dbus_method_invocation_return_value (invocation, 821s # g_variant_new ("()")); 821s # } 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # 821s # /** 821s # * ComAcmeCoyoteProxy: 821s # * 821s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 821s # */ 821s # 821s # /** 821s # * ComAcmeCoyoteProxyClass: 821s # * @parent_class: The parent class. 821s # * 821s # * Class structure for #ComAcmeCoyoteProxy. 821s # */ 821s # 821s # struct _ComAcmeCoyoteProxyPrivate 821s # { 821s # GData *qdata; 821s # }; 821s # 821s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 821s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 821s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 821s # 821s # #else 821s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 821s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 821s # 821s # #endif 821s # static void 821s # com_acme_coyote_proxy_finalize (GObject *object) 821s # { 821s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 821s # g_datalist_clear (&proxy->priv->qdata); 821s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 821s # } 821s # 821s # static void 821s # com_acme_coyote_proxy_get_property (GObject *object, 821s # guint prop_id, 821s # GValue *value, 821s # GParamSpec *pspec G_GNUC_UNUSED) 821s # { 821s # const _ExtendedGDBusPropertyInfo *info; 821s # GVariant *variant; 821s # g_assert (prop_id != 0 && prop_id - 1 < 1); 821s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 821s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 821s # if (info->use_gvariant) 821s # { 821s # g_value_set_variant (value, variant); 821s # } 821s # else 821s # { 821s # if (variant != NULL) 821s # g_dbus_gvariant_to_gvalue (variant, value); 821s # } 821s # if (variant != NULL) 821s # g_variant_unref (variant); 821s # } 821s # 821s # static void 821s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 821s # GAsyncResult *res, 821s # gpointer user_data) 821s # { 821s # const _ExtendedGDBusPropertyInfo *info = user_data; 821s # GError *error; 821s # GVariant *_ret; 821s # error = NULL; 821s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 821s # if (!_ret) 821s # { 821s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 821s # info->parent_struct.name, 821s # error->message, g_quark_to_string (error->domain), error->code); 821s # g_error_free (error); 821s # } 821s # else 821s # { 821s # g_variant_unref (_ret); 821s # } 821s # } 821s # 821s # static void 821s # com_acme_coyote_proxy_set_property (GObject *object, 821s # guint prop_id, 821s # const GValue *value, 821s # GParamSpec *pspec G_GNUC_UNUSED) 821s # { 821s # const _ExtendedGDBusPropertyInfo *info; 821s # GVariant *variant; 821s # g_assert (prop_id != 0 && prop_id - 1 < 1); 821s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 821s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 821s # g_dbus_proxy_call (G_DBUS_PROXY (object), 821s # "org.freedesktop.DBus.Properties.Set", 821s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 821s # G_DBUS_CALL_FLAGS_NONE, 821s # -1, 821s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 821s # g_variant_unref (variant); 821s # } 821s # 821s # static void 821s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 821s # const gchar *sender_name G_GNUC_UNUSED, 821s # const gchar *signal_name, 821s # GVariant *parameters) 821s # { 821s # _ExtendedGDBusSignalInfo *info; 821s # GVariantIter iter; 821s # GVariant *child; 821s # GValue *paramv; 821s # gsize num_params; 821s # gsize n; 821s # guint signal_id; 821s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 821s # if (info == NULL) 821s # return; 821s # num_params = g_variant_n_children (parameters); 821s # paramv = g_new0 (GValue, num_params + 1); 821s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 821s # g_value_set_object (¶mv[0], proxy); 821s # g_variant_iter_init (&iter, parameters); 821s # n = 1; 821s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 821s # { 821s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 821s # if (arg_info->use_gvariant) 821s # { 821s # g_value_init (¶mv[n], G_TYPE_VARIANT); 821s # g_value_set_variant (¶mv[n], child); 821s # n++; 821s # } 821s # else 821s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 821s # g_variant_unref (child); 821s # } 821s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 821s # g_signal_emitv (paramv, signal_id, 0, NULL); 821s # for (n = 0; n < num_params + 1; n++) 821s # g_value_unset (¶mv[n]); 821s # g_free (paramv); 821s # } 821s # 821s # static void 821s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 821s # GVariant *changed_properties, 821s # const gchar *const *invalidated_properties) 821s # { 821s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 821s # guint n; 821s # const gchar *key; 821s # GVariantIter *iter; 821s # _ExtendedGDBusPropertyInfo *info; 821s # g_variant_get (changed_properties, "a{sv}", &iter); 821s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 821s # { 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 821s # g_datalist_remove_data (&proxy->priv->qdata, key); 821s # if (info != NULL) 821s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 821s # } 821s # g_variant_iter_free (iter); 821s # for (n = 0; invalidated_properties[n] != NULL; n++) 821s # { 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 821s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 821s # if (info != NULL) 821s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 821s # } 821s # } 821s # 821s # static const gchar * 821s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 821s # { 821s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 821s # GVariant *variant; 821s # const gchar *value = NULL; 821s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 821s # if (variant != NULL) 821s # { 821s # value = g_variant_get_string (variant, NULL); 821s # g_variant_unref (variant); 821s # } 821s # return value; 821s # } 821s # 821s # static void 821s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 821s # { 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 821s # #else 821s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 821s # #endif 821s # 821s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 821s # } 821s # 821s # static void 821s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 821s # { 821s # GObjectClass *gobject_class; 821s # GDBusProxyClass *proxy_class; 821s # 821s # gobject_class = G_OBJECT_CLASS (klass); 821s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 821s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 821s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 821s # 821s # proxy_class = G_DBUS_PROXY_CLASS (klass); 821s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 821s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 821s # 821s # com_acme_coyote_override_properties (gobject_class, 1); 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 821s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 821s # #endif 821s # } 821s # 821s # static void 821s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 821s # { 821s # iface->get_mood = com_acme_coyote_proxy_get_mood; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_proxy_new: 821s # * @connection: A #GDBusConnection. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 821s # * 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 821s # * 821s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 821s # */ 821s # void 821s # com_acme_coyote_proxy_new ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # 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); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_proxy_new_finish: 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 821s # * @error: Return location for error or %NULL 821s # * 821s # * Finishes an operation started with com_acme_coyote_proxy_new(). 821s # * 821s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # ComAcmeCoyote * 821s # com_acme_coyote_proxy_new_finish ( 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GObject *ret; 821s # GObject *source_object; 821s # source_object = g_async_result_get_source_object (res); 821s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 821s # g_object_unref (source_object); 821s # if (ret != NULL) 821s # return COM_ACME_COYOTE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_proxy_new_sync: 821s # * @connection: A #GDBusConnection. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL 821s # * 821s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 821s # * 821s # * The calling thread is blocked until a reply is received. 821s # * 821s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 821s # * 821s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # ComAcmeCoyote * 821s # com_acme_coyote_proxy_new_sync ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GInitable *ret; 821s # 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); 821s # if (ret != NULL) 821s # return COM_ACME_COYOTE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # 821s # /** 821s # * com_acme_coyote_proxy_new_for_bus: 821s # * @bus_type: A #GBusType. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: A bus name (well-known or unique). 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 821s # * @user_data: User data to pass to @callback. 821s # * 821s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 821s # * 821s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 821s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 821s # * 821s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 821s # */ 821s # void 821s # com_acme_coyote_proxy_new_for_bus ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data) 821s # { 821s # 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); 821s # } 821s # 821s # /** 821s # * com_acme_coyote_proxy_new_for_bus_finish: 821s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 821s # * @error: Return location for error or %NULL 821s # * 821s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 821s # * 821s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # ComAcmeCoyote * 821s # com_acme_coyote_proxy_new_for_bus_finish ( 821s # GAsyncResult *res, 821s # GError **error) 821s # { 821s # GObject *ret; 821s # GObject *source_object; 821s # source_object = g_async_result_get_source_object (res); 821s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 821s # g_object_unref (source_object); 821s # if (ret != NULL) 821s # return COM_ACME_COYOTE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_proxy_new_for_bus_sync: 821s # * @bus_type: A #GBusType. 821s # * @flags: Flags from the #GDBusProxyFlags enumeration. 821s # * @name: A bus name (well-known or unique). 821s # * @object_path: An object path. 821s # * @cancellable: (nullable): A #GCancellable or %NULL. 821s # * @error: Return location for error or %NULL 821s # * 821s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 821s # * 821s # * The calling thread is blocked until a reply is received. 821s # * 821s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 821s # * 821s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 821s # */ 821s # ComAcmeCoyote * 821s # com_acme_coyote_proxy_new_for_bus_sync ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error) 821s # { 821s # GInitable *ret; 821s # 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); 821s # if (ret != NULL) 821s # return COM_ACME_COYOTE (ret); 821s # else 821s # return NULL; 821s # } 821s # 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # 821s # /** 821s # * ComAcmeCoyoteSkeleton: 821s # * 821s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 821s # */ 821s # 821s # /** 821s # * ComAcmeCoyoteSkeletonClass: 821s # * @parent_class: The parent class. 821s # * 821s # * Class structure for #ComAcmeCoyoteSkeleton. 821s # */ 821s # 821s # struct _ComAcmeCoyoteSkeletonPrivate 821s # { 821s # GValue *properties; 821s # GList *changed_properties; 821s # GSource *changed_properties_idle_source; 821s # GMainContext *context; 821s # GMutex lock; 821s # }; 821s # 821s # static void 821s # _com_acme_coyote_skeleton_handle_method_call ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name, 821s # const gchar *method_name, 821s # GVariant *parameters, 821s # GDBusMethodInvocation *invocation, 821s # gpointer user_data) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 821s # _ExtendedGDBusMethodInfo *info; 821s # GVariantIter iter; 821s # GVariant *child; 821s # GValue *paramv; 821s # gsize num_params; 821s # guint num_extra; 821s # gsize n; 821s # guint signal_id; 821s # GValue return_value = G_VALUE_INIT; 821s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 821s # g_assert (info != NULL); 821s # num_params = g_variant_n_children (parameters); 821s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 821s # n = 0; 821s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 821s # g_value_set_object (¶mv[n++], skeleton); 821s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 821s # g_value_set_object (¶mv[n++], invocation); 821s # if (info->pass_fdlist) 821s # { 821s # #ifdef G_OS_UNIX 821s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 821s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 821s # #else 821s # g_assert_not_reached (); 821s # #endif 821s # } 821s # g_variant_iter_init (&iter, parameters); 821s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 821s # { 821s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 821s # if (arg_info->use_gvariant) 821s # { 821s # g_value_init (¶mv[n], G_TYPE_VARIANT); 821s # g_value_set_variant (¶mv[n], child); 821s # n++; 821s # } 821s # else 821s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 821s # g_variant_unref (child); 821s # } 821s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 821s # g_value_init (&return_value, G_TYPE_BOOLEAN); 821s # g_signal_emitv (paramv, signal_id, 0, &return_value); 821s # if (!g_value_get_boolean (&return_value)) 821s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 821s # g_value_unset (&return_value); 821s # for (n = 0; n < num_params + num_extra; n++) 821s # g_value_unset (¶mv[n]); 821s # g_free (paramv); 821s # } 821s # 821s # static GVariant * 821s # _com_acme_coyote_skeleton_handle_get_property ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name G_GNUC_UNUSED, 821s # const gchar *property_name, 821s # GError **error, 821s # gpointer user_data) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 821s # GValue value = G_VALUE_INIT; 821s # GParamSpec *pspec; 821s # _ExtendedGDBusPropertyInfo *info; 821s # GVariant *ret; 821s # ret = NULL; 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 821s # g_assert (info != NULL); 821s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 821s # if (pspec == NULL) 821s # { 821s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 821s # } 821s # else 821s # { 821s # g_value_init (&value, pspec->value_type); 821s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 821s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 821s # g_value_unset (&value); 821s # } 821s # return ret; 821s # } 821s # 821s # static gboolean 821s # _com_acme_coyote_skeleton_handle_set_property ( 821s # GDBusConnection *connection G_GNUC_UNUSED, 821s # const gchar *sender G_GNUC_UNUSED, 821s # const gchar *object_path G_GNUC_UNUSED, 821s # const gchar *interface_name G_GNUC_UNUSED, 821s # const gchar *property_name, 821s # GVariant *variant, 821s # GError **error, 821s # gpointer user_data) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 821s # GValue value = G_VALUE_INIT; 821s # GParamSpec *pspec; 821s # _ExtendedGDBusPropertyInfo *info; 821s # gboolean ret; 821s # ret = FALSE; 821s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 821s # g_assert (info != NULL); 821s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 821s # if (pspec == NULL) 821s # { 821s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 821s # } 821s # else 821s # { 821s # if (info->use_gvariant) 821s # g_value_set_variant (&value, variant); 821s # else 821s # g_dbus_gvariant_to_gvalue (variant, &value); 821s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 821s # g_value_unset (&value); 821s # ret = TRUE; 821s # } 821s # return ret; 821s # } 821s # 821s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 821s # { 821s # _com_acme_coyote_skeleton_handle_method_call, 821s # _com_acme_coyote_skeleton_handle_get_property, 821s # _com_acme_coyote_skeleton_handle_set_property, 821s # {NULL} 821s # }; 821s # 821s # static GDBusInterfaceInfo * 821s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 821s # { 821s # return com_acme_coyote_interface_info (); 821s # } 821s # 821s # static GDBusInterfaceVTable * 821s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 821s # { 821s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 821s # } 821s # 821s # static GVariant * 821s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 821s # 821s # GVariantBuilder builder; 821s # guint n; 821s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 821s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 821s # goto out; 821s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 821s # { 821s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 821s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 821s # { 821s # GVariant *value; 821s # 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); 821s # if (value != NULL) 821s # { 821s # g_variant_take_ref (value); 821s # g_variant_builder_add (&builder, "{sv}", info->name, value); 821s # g_variant_unref (value); 821s # } 821s # } 821s # } 821s # out: 821s # return g_variant_builder_end (&builder); 821s # } 821s # 821s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 821s # 821s # static void 821s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 821s # gboolean emit_changed = FALSE; 821s # 821s # g_mutex_lock (&skeleton->priv->lock); 821s # if (skeleton->priv->changed_properties_idle_source != NULL) 821s # { 821s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 821s # skeleton->priv->changed_properties_idle_source = NULL; 821s # emit_changed = TRUE; 821s # } 821s # g_mutex_unlock (&skeleton->priv->lock); 821s # 821s # if (emit_changed) 821s # _com_acme_coyote_emit_changed (skeleton); 821s # } 821s # 821s # static void 821s # _com_acme_coyote_on_signal_surprised ( 821s # ComAcmeCoyote *object) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 821s # 821s # GList *connections, *l; 821s # GVariant *signal_variant; 821s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 821s # 821s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 821s # for (l = connections; l != NULL; l = l->next) 821s # { 821s # GDBusConnection *connection = l->data; 821s # g_dbus_connection_emit_signal (connection, 821s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 821s # signal_variant, NULL); 821s # } 821s # g_variant_unref (signal_variant); 821s # g_list_free_full (connections, g_object_unref); 821s # } 821s # 821s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 821s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 821s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 821s # 821s # #else 821s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 821s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 821s # 821s # #endif 821s # static void 821s # com_acme_coyote_skeleton_finalize (GObject *object) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 821s # guint n; 821s # for (n = 0; n < 1; n++) 821s # g_value_unset (&skeleton->priv->properties[n]); 821s # g_free (skeleton->priv->properties); 821s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 821s # if (skeleton->priv->changed_properties_idle_source != NULL) 821s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 821s # g_main_context_unref (skeleton->priv->context); 821s # g_mutex_clear (&skeleton->priv->lock); 821s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 821s # } 821s # 821s # static void 821s # com_acme_coyote_skeleton_get_property (GObject *object, 821s # guint prop_id, 821s # GValue *value, 821s # GParamSpec *pspec G_GNUC_UNUSED) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 821s # g_assert (prop_id != 0 && prop_id - 1 < 1); 821s # g_mutex_lock (&skeleton->priv->lock); 821s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 821s # g_mutex_unlock (&skeleton->priv->lock); 821s # } 821s # 821s # static gboolean 821s # _com_acme_coyote_emit_changed (gpointer user_data) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 821s # GList *l; 821s # GVariantBuilder builder; 821s # GVariantBuilder invalidated_builder; 821s # guint num_changes; 821s # 821s # g_mutex_lock (&skeleton->priv->lock); 821s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 821s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 821s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 821s # { 821s # ChangedProperty *cp = l->data; 821s # GVariant *variant; 821s # const GValue *cur_value; 821s # 821s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 821s # if (!_g_value_equal (cur_value, &cp->orig_value)) 821s # { 821s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 821s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 821s # g_variant_unref (variant); 821s # num_changes++; 821s # } 821s # } 821s # if (num_changes > 0) 821s # { 821s # GList *connections, *ll; 821s # GVariant *signal_variant; 821s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 821s # &builder, &invalidated_builder)); 821s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 821s # for (ll = connections; ll != NULL; ll = ll->next) 821s # { 821s # GDBusConnection *connection = ll->data; 821s # 821s # g_dbus_connection_emit_signal (connection, 821s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 821s # "org.freedesktop.DBus.Properties", 821s # "PropertiesChanged", 821s # signal_variant, 821s # NULL); 821s # } 821s # g_variant_unref (signal_variant); 821s # g_list_free_full (connections, g_object_unref); 821s # } 821s # else 821s # { 821s # g_variant_builder_clear (&builder); 821s # g_variant_builder_clear (&invalidated_builder); 821s # } 821s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 821s # skeleton->priv->changed_properties = NULL; 821s # skeleton->priv->changed_properties_idle_source = NULL; 821s # g_mutex_unlock (&skeleton->priv->lock); 821s # return FALSE; 821s # } 821s # 821s # static void 821s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 821s # { 821s # ChangedProperty *cp; 821s # GList *l; 821s # cp = NULL; 821s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 821s # { 821s # ChangedProperty *i_cp = l->data; 821s # if (i_cp->info == info) 821s # { 821s # cp = i_cp; 821s # break; 821s # } 821s # } 821s # if (cp == NULL) 821s # { 821s # cp = g_new0 (ChangedProperty, 1); 821s # cp->prop_id = prop_id; 821s # cp->info = info; 821s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 821s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 821s # g_value_copy (orig_value, &cp->orig_value); 821s # } 821s # } 821s # 821s # static void 821s # com_acme_coyote_skeleton_notify (GObject *object, 821s # GParamSpec *pspec G_GNUC_UNUSED) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 821s # g_mutex_lock (&skeleton->priv->lock); 821s # if (skeleton->priv->changed_properties != NULL && 821s # skeleton->priv->changed_properties_idle_source == NULL) 821s # { 821s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 821s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 821s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 821s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 821s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 821s # g_source_unref (skeleton->priv->changed_properties_idle_source); 821s # } 821s # g_mutex_unlock (&skeleton->priv->lock); 821s # } 821s # 821s # static void 821s # com_acme_coyote_skeleton_set_property (GObject *object, 821s # guint prop_id, 821s # const GValue *value, 821s # GParamSpec *pspec) 821s # { 821s # const _ExtendedGDBusPropertyInfo *info; 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 821s # g_assert (prop_id != 0 && prop_id - 1 < 1); 821s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 821s # g_mutex_lock (&skeleton->priv->lock); 821s # g_object_freeze_notify (object); 821s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 821s # { 821s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 821s # info->emits_changed_signal) 821s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 821s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 821s # g_object_notify_by_pspec (object, pspec); 821s # } 821s # g_mutex_unlock (&skeleton->priv->lock); 821s # g_object_thaw_notify (object); 821s # } 821s # 821s # static void 821s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 821s # { 821s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 821s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 821s # #else 821s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 821s # #endif 821s # 821s # g_mutex_init (&skeleton->priv->lock); 821s # skeleton->priv->context = g_main_context_ref_thread_default (); 821s # skeleton->priv->properties = g_new0 (GValue, 1); 821s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 821s # } 821s # 821s # static const gchar * 821s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 821s # { 821s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 821s # const gchar *value; 821s # g_mutex_lock (&skeleton->priv->lock); 821s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 821s # g_mutex_unlock (&skeleton->priv->lock); 821s # return value; 821s # } 821s # 821s # static void 821s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 821s # { 821s # GObjectClass *gobject_class; 821s # GDBusInterfaceSkeletonClass *skeleton_class; 821s # 821s # gobject_class = G_OBJECT_CLASS (klass); 821s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 821s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 821s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 821s # gobject_class->notify = com_acme_coyote_skeleton_notify; 821s # 821s # 821s # com_acme_coyote_override_properties (gobject_class, 1); 821s # 821s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 821s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 821s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 821s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 821s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 821s # 821s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 821s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 821s # #endif 821s # } 821s # 821s # static void 821s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 821s # { 821s # iface->surprised = _com_acme_coyote_on_signal_surprised; 821s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 821s # } 821s # 821s # /** 821s # * com_acme_coyote_skeleton_new: 821s # * 821s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 821s # * 821s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 821s # */ 821s # ComAcmeCoyote * 821s # com_acme_coyote_skeleton_new (void) 821s # { 821s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 821s # } 821s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 821s # tmpdir: /tmp/tmpdaytnwsm 821s # codegen: /usr/bin/gdbus-codegen 821s # /tmp/tmpdaytnwsm/tmp85wzjz47.xml: 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdaytnwsm/tmp85wzjz47.xml', '--output', '-', '--header'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: /* 821s # * This file is generated by gdbus-codegen, do not modify it. 821s # * 821s # * The license of this code is the same as for the D-Bus interface description 821s # * it was derived from. Note that it links to GLib, so must comply with the 821s # * LGPL linking clauses. 821s # */ 821s # 821s # #ifndef __STDOUT__ 821s # #define __STDOUT__ 821s # 821s # #include 821s # 821s # G_BEGIN_DECLS 821s # 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # /* Declarations for FDPassing */ 821s # 821s # #define TYPE_FDPASSING (fdpassing_get_type ()) 821s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 821s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 821s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 821s # 821s # struct _FDPassing; 821s # typedef struct _FDPassing FDPassing; 821s # typedef struct _FDPassingIface FDPassingIface; 821s # 821s # struct _FDPassingIface 821s # { 821s # GTypeInterface parent_iface; 821s # 821s # gboolean (*handle_hello_fd) ( 821s # FDPassing *object, 821s # GDBusMethodInvocation *invocation, 821s # GUnixFDList *fd_list, 821s # const gchar *arg_greeting); 821s # 821s # gboolean (*handle_no_annotation) ( 821s # FDPassing *object, 821s # GDBusMethodInvocation *invocation, 821s # GVariant *arg_greeting, 821s # const gchar *arg_greeting_locale); 821s # 821s # gboolean (*handle_no_annotation_nested) ( 821s # FDPassing *object, 821s # GDBusMethodInvocation *invocation, 821s # GVariant *arg_files); 821s # 821s # }; 821s # 821s # GType fdpassing_get_type (void) G_GNUC_CONST; 821s # 821s # GDBusInterfaceInfo *fdpassing_interface_info (void); 821s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 821s # 821s # 821s # /* D-Bus method call completion functions: */ 821s # void fdpassing_complete_hello_fd ( 821s # FDPassing *object, 821s # GDBusMethodInvocation *invocation, 821s # GUnixFDList *fd_list, 821s # const gchar *response); 821s # 821s # void fdpassing_complete_no_annotation ( 821s # FDPassing *object, 821s # GDBusMethodInvocation *invocation, 821s # GVariant *response, 821s # const gchar *response_locale); 821s # 821s # void fdpassing_complete_no_annotation_nested ( 821s # FDPassing *object, 821s # GDBusMethodInvocation *invocation); 821s # 821s # 821s # 821s # /* D-Bus method calls: */ 821s # void fdpassing_call_hello_fd ( 821s # FDPassing *proxy, 821s # const gchar *arg_greeting, 821s # GUnixFDList *fd_list, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # 821s # gboolean fdpassing_call_hello_fd_finish ( 821s # FDPassing *proxy, 821s # gchar **out_response, 821s # GUnixFDList **out_fd_list, 821s # GAsyncResult *res, 821s # GError **error); 821s # 821s # gboolean fdpassing_call_hello_fd_sync ( 821s # FDPassing *proxy, 821s # const gchar *arg_greeting, 821s # GUnixFDList *fd_list, 821s # gchar **out_response, 821s # GUnixFDList **out_fd_list, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # void fdpassing_call_no_annotation ( 821s # FDPassing *proxy, 821s # GVariant *arg_greeting, 821s # const gchar *arg_greeting_locale, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # 821s # gboolean fdpassing_call_no_annotation_finish ( 821s # FDPassing *proxy, 821s # GVariant **out_response, 821s # gchar **out_response_locale, 821s # GAsyncResult *res, 821s # GError **error); 821s # 821s # gboolean fdpassing_call_no_annotation_sync ( 821s # FDPassing *proxy, 821s # GVariant *arg_greeting, 821s # const gchar *arg_greeting_locale, 821s # GVariant **out_response, 821s # gchar **out_response_locale, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # void fdpassing_call_no_annotation_nested ( 821s # FDPassing *proxy, 821s # GVariant *arg_files, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # 821s # gboolean fdpassing_call_no_annotation_nested_finish ( 821s # FDPassing *proxy, 821s # GAsyncResult *res, 821s # GError **error); 821s # 821s # gboolean fdpassing_call_no_annotation_nested_sync ( 821s # FDPassing *proxy, 821s # GVariant *arg_files, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # 821s # 821s # /* ---- */ 821s # 821s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 821s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 821s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 821s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 821s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 821s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 821s # 821s # typedef struct _FDPassingProxy FDPassingProxy; 821s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 821s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 821s # 821s # struct _FDPassingProxy 821s # { 821s # /*< private >*/ 821s # GDBusProxy parent_instance; 821s # FDPassingProxyPrivate *priv; 821s # }; 821s # 821s # struct _FDPassingProxyClass 821s # { 821s # GDBusProxyClass parent_class; 821s # }; 821s # 821s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 821s # 821s # #if GLIB_CHECK_VERSION(2, 44, 0) 821s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 821s # #endif 821s # 821s # void fdpassing_proxy_new ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # FDPassing *fdpassing_proxy_new_finish ( 821s # GAsyncResult *res, 821s # GError **error); 821s # FDPassing *fdpassing_proxy_new_sync ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # void fdpassing_proxy_new_for_bus ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 821s # GAsyncResult *res, 821s # GError **error); 821s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # 821s # /* ---- */ 821s # 821s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 821s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 821s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 821s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 821s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 821s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 821s # 821s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 821s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 821s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 821s # 821s # struct _FDPassingSkeleton 821s # { 821s # /*< private >*/ 821s # GDBusInterfaceSkeleton parent_instance; 821s # FDPassingSkeletonPrivate *priv; 821s # }; 821s # 821s # struct _FDPassingSkeletonClass 821s # { 821s # GDBusInterfaceSkeletonClass parent_class; 821s # }; 821s # 821s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 821s # 821s # #if GLIB_CHECK_VERSION(2, 44, 0) 821s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 821s # #endif 821s # 821s # FDPassing *fdpassing_skeleton_new (void); 821s # 821s # 821s # G_END_DECLS 821s # 821s # #endif /* __STDOUT__ */ 821s # /tmp/tmpdaytnwsm/tmpeakc_4aa.xml: 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdaytnwsm/tmpeakc_4aa.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: /* 821s # * This file is generated by gdbus-codegen, do not modify it. 821s # * 821s # * The license of this code is the same as for the D-Bus interface description 821s # * it was derived from. Note that it links to GLib, so must comply with the 821s # * LGPL linking clauses. 821s # */ 821s # 821s # #ifndef __STDOUT__ 821s # #define __STDOUT__ 821s # 821s # #include 821s # 821s # G_BEGIN_DECLS 821s # 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # /* Declarations for FDPassing */ 821s # 821s # #define TYPE_FDPASSING (fdpassing_get_type ()) 821s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 821s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 821s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 821s # 821s # struct _FDPassing; 821s # typedef struct _FDPassing FDPassing; 821s # typedef struct _FDPassingIface FDPassingIface; 821s # 821s # struct _FDPassingIface 821s # { 821s # GTypeInterface parent_iface; 821s # 821s # gboolean (*handle_hello_fd) ( 821s # FDPassing *object, 821s # GDBusMethodInvocation *invocation, 821s # GUnixFDList *fd_list, 821s # const gchar *arg_greeting); 821s # 821s # gboolean (*handle_no_annotation) ( 821s # FDPassing *object, 821s # GDBusMethodInvocation *invocation, 821s # GVariant *arg_greeting, 821s # const gchar *arg_greeting_locale); 821s # 821s # gboolean (*handle_no_annotation_nested) ( 821s # FDPassing *object, 821s # GDBusMethodInvocation *invocation, 821s # GVariant *arg_files); 821s # 821s # }; 821s # 821s # GType fdpassing_get_type (void) G_GNUC_CONST; 821s # 821s # GDBusInterfaceInfo *fdpassing_interface_info (void); 821s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 821s # 821s # 821s # /* D-Bus method call completion functions: */ 821s # void fdpassing_complete_hello_fd ( 821s # FDPassing *object, 821s # GDBusMethodInvocation *invocation, 821s # GUnixFDList *fd_list, 821s # const gchar *response); 821s # 821s # void fdpassing_complete_no_annotation ( 821s # FDPassing *object, 821s # GDBusMethodInvocation *invocation, 821s # GVariant *response, 821s # const gchar *response_locale); 821s # 821s # void fdpassing_complete_no_annotation_nested ( 821s # FDPassing *object, 821s # GDBusMethodInvocation *invocation); 821s # 821s # 821s # 821s # /* D-Bus method calls: */ 821s # void fdpassing_call_hello_fd ( 821s # FDPassing *proxy, 821s # const gchar *arg_greeting, 821s # GUnixFDList *fd_list, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # 821s # gboolean fdpassing_call_hello_fd_finish ( 821s # FDPassing *proxy, 821s # gchar **out_response, 821s # GUnixFDList **out_fd_list, 821s # GAsyncResult *res, 821s # GError **error); 821s # 821s # gboolean fdpassing_call_hello_fd_sync ( 821s # FDPassing *proxy, 821s # const gchar *arg_greeting, 821s # GUnixFDList *fd_list, 821s # gchar **out_response, 821s # GUnixFDList **out_fd_list, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # void fdpassing_call_no_annotation ( 821s # FDPassing *proxy, 821s # GVariant *arg_greeting, 821s # const gchar *arg_greeting_locale, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # 821s # gboolean fdpassing_call_no_annotation_finish ( 821s # FDPassing *proxy, 821s # GVariant **out_response, 821s # gchar **out_response_locale, 821s # GAsyncResult *res, 821s # GError **error); 821s # 821s # gboolean fdpassing_call_no_annotation_sync ( 821s # FDPassing *proxy, 821s # GVariant *arg_greeting, 821s # const gchar *arg_greeting_locale, 821s # GVariant **out_response, 821s # gchar **out_response_locale, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # void fdpassing_call_no_annotation_nested ( 821s # FDPassing *proxy, 821s # GVariant *arg_files, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # 821s # gboolean fdpassing_call_no_annotation_nested_finish ( 821s # FDPassing *proxy, 821s # GAsyncResult *res, 821s # GError **error); 821s # 821s # gboolean fdpassing_call_no_annotation_nested_sync ( 821s # FDPassing *proxy, 821s # GVariant *arg_files, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # 821s # 821s # /* ---- */ 821s # 821s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 821s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 821s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 821s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 821s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 821s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 821s # 821s # typedef struct _FDPassingProxy FDPassingProxy; 821s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 821s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 821s # 821s # struct _FDPassingProxy 821s # { 821s # /*< private >*/ 821s # GDBusProxy parent_instance; 821s # FDPassingProxyPrivate *priv; 821s # }; 821s # 821s # struct _FDPassingProxyClass 821s # { 821s # GDBusProxyClass parent_class; 821s # }; 821s # 821s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 821s # 821s # #if GLIB_CHECK_VERSION(2, 44, 0) 821s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 821s # #endif 821s # 821s # void fdpassing_proxy_new ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # FDPassing *fdpassing_proxy_new_finish ( 821s # GAsyncResult *res, 821s # GError **error); 821s # FDPassing *fdpassing_proxy_new_sync ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # void fdpassing_proxy_new_for_bus ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 821s # GAsyncResult *res, 821s # GError **error); 821s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # 821s # /* ---- */ 821s # 821s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 821s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 821s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 821s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 821s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 821s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 821s # 821s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 821s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 821s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 821s # 821s # struct _FDPassingSkeleton 821s # { 821s # /*< private >*/ 821s # GDBusInterfaceSkeleton parent_instance; 821s # FDPassingSkeletonPrivate *priv; 821s # }; 821s # 821s # struct _FDPassingSkeletonClass 821s # { 821s # GDBusInterfaceSkeletonClass parent_class; 821s # }; 821s # 821s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 821s # 821s # #if GLIB_CHECK_VERSION(2, 44, 0) 821s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 821s # #endif 821s # 821s # FDPassing *fdpassing_skeleton_new (void); 821s # 821s # 821s # G_END_DECLS 821s # 821s # #endif /* __STDOUT__ */ 821s # /tmp/tmpdaytnwsm/tmp3x0atumq.xml: 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # 821s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdaytnwsm/tmp3x0atumq.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 821s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 821s # Output: /* 821s # * This file is generated by gdbus-codegen, do not modify it. 821s # * 821s # * The license of this code is the same as for the D-Bus interface description 821s # * it was derived from. Note that it links to GLib, so must comply with the 821s # * LGPL linking clauses. 821s # */ 821s # 821s # #ifndef __STDOUT__ 821s # #define __STDOUT__ 821s # 821s # #include 821s # 821s # G_BEGIN_DECLS 821s # 821s # 821s # /* ------------------------------------------------------------------------ */ 821s # /* Declarations for FDPassing */ 821s # 821s # #define TYPE_FDPASSING (fdpassing_get_type ()) 821s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 821s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 821s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 821s # 821s # struct _FDPassing; 821s # typedef struct _FDPassing FDPassing; 821s # typedef struct _FDPassingIface FDPassingIface; 821s # 821s # struct _FDPassingIface 821s # { 821s # GTypeInterface parent_iface; 821s # 821s # gboolean (*handle_hello_fd) ( 821s # FDPassing *object, 821s # GDBusMethodInvocation *invocation, 821s # GUnixFDList *fd_list, 821s # const gchar *arg_greeting); 821s # 821s # gboolean (*handle_no_annotation) ( 821s # FDPassing *object, 821s # GDBusMethodInvocation *invocation, 821s # GUnixFDList *fd_list, 821s # GVariant *arg_greeting, 821s # const gchar *arg_greeting_locale); 821s # 821s # gboolean (*handle_no_annotation_nested) ( 821s # FDPassing *object, 821s # GDBusMethodInvocation *invocation, 821s # GUnixFDList *fd_list, 821s # GVariant *arg_files); 821s # 821s # }; 821s # 821s # GType fdpassing_get_type (void) G_GNUC_CONST; 821s # 821s # GDBusInterfaceInfo *fdpassing_interface_info (void); 821s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 821s # 821s # 821s # /* D-Bus method call completion functions: */ 821s # void fdpassing_complete_hello_fd ( 821s # FDPassing *object, 821s # GDBusMethodInvocation *invocation, 821s # GUnixFDList *fd_list, 821s # const gchar *response); 821s # 821s # void fdpassing_complete_no_annotation ( 821s # FDPassing *object, 821s # GDBusMethodInvocation *invocation, 821s # GUnixFDList *fd_list, 821s # GVariant *response, 821s # const gchar *response_locale); 821s # 821s # void fdpassing_complete_no_annotation_nested ( 821s # FDPassing *object, 821s # GDBusMethodInvocation *invocation, 821s # GUnixFDList *fd_list); 821s # 821s # 821s # 821s # /* D-Bus method calls: */ 821s # void fdpassing_call_hello_fd ( 821s # FDPassing *proxy, 821s # const gchar *arg_greeting, 821s # GDBusCallFlags call_flags, 821s # gint timeout_msec, 821s # GUnixFDList *fd_list, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # 821s # gboolean fdpassing_call_hello_fd_finish ( 821s # FDPassing *proxy, 821s # gchar **out_response, 821s # GUnixFDList **out_fd_list, 821s # GAsyncResult *res, 821s # GError **error); 821s # 821s # gboolean fdpassing_call_hello_fd_sync ( 821s # FDPassing *proxy, 821s # const gchar *arg_greeting, 821s # GDBusCallFlags call_flags, 821s # gint timeout_msec, 821s # GUnixFDList *fd_list, 821s # gchar **out_response, 821s # GUnixFDList **out_fd_list, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # void fdpassing_call_no_annotation ( 821s # FDPassing *proxy, 821s # GVariant *arg_greeting, 821s # const gchar *arg_greeting_locale, 821s # GDBusCallFlags call_flags, 821s # gint timeout_msec, 821s # GUnixFDList *fd_list, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # 821s # gboolean fdpassing_call_no_annotation_finish ( 821s # FDPassing *proxy, 821s # GVariant **out_response, 821s # gchar **out_response_locale, 821s # GUnixFDList **out_fd_list, 821s # GAsyncResult *res, 821s # GError **error); 821s # 821s # gboolean fdpassing_call_no_annotation_sync ( 821s # FDPassing *proxy, 821s # GVariant *arg_greeting, 821s # const gchar *arg_greeting_locale, 821s # GDBusCallFlags call_flags, 821s # gint timeout_msec, 821s # GUnixFDList *fd_list, 821s # GVariant **out_response, 821s # gchar **out_response_locale, 821s # GUnixFDList **out_fd_list, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # void fdpassing_call_no_annotation_nested ( 821s # FDPassing *proxy, 821s # GVariant *arg_files, 821s # GDBusCallFlags call_flags, 821s # gint timeout_msec, 821s # GUnixFDList *fd_list, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # 821s # gboolean fdpassing_call_no_annotation_nested_finish ( 821s # FDPassing *proxy, 821s # GUnixFDList **out_fd_list, 821s # GAsyncResult *res, 821s # GError **error); 821s # 821s # gboolean fdpassing_call_no_annotation_nested_sync ( 821s # FDPassing *proxy, 821s # GVariant *arg_files, 821s # GDBusCallFlags call_flags, 821s # gint timeout_msec, 821s # GUnixFDList *fd_list, 821s # GUnixFDList **out_fd_list, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # 821s # 821s # /* ---- */ 821s # 821s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 821s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 821s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 821s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 821s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 821s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 821s # 821s # typedef struct _FDPassingProxy FDPassingProxy; 821s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 821s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 821s # 821s # struct _FDPassingProxy 821s # { 821s # /*< private >*/ 821s # GDBusProxy parent_instance; 821s # FDPassingProxyPrivate *priv; 821s # }; 821s # 821s # struct _FDPassingProxyClass 821s # { 821s # GDBusProxyClass parent_class; 821s # }; 821s # 821s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 821s # 821s # #if GLIB_CHECK_VERSION(2, 44, 0) 821s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 821s # #endif 821s # 821s # void fdpassing_proxy_new ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # FDPassing *fdpassing_proxy_new_finish ( 821s # GAsyncResult *res, 821s # GError **error); 821s # FDPassing *fdpassing_proxy_new_sync ( 821s # GDBusConnection *connection, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # void fdpassing_proxy_new_for_bus ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GAsyncReadyCallback callback, 821s # gpointer user_data); 821s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 821s # GAsyncResult *res, 821s # GError **error); 821s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 821s # GBusType bus_type, 821s # GDBusProxyFlags flags, 821s # const gchar *name, 821s # const gchar *object_path, 821s # GCancellable *cancellable, 821s # GError **error); 821s # 821s # 821s # /* ---- */ 821s # 821s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 821s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 821s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 821s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 821s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 821s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 821s # 821s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 821s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 821s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 821s # 821s # struct _FDPassingSkeleton 821s # { 821s # /*< private >*/ 821s # GDBusInterfaceSkeleton parent_instance; 821s # FDPassingSkeletonPrivate *priv; 821s # }; 821s # 821s # struct _FDPassingSkeletonClass 821s # { 821s # GDBusInterfaceSkeletonClass parent_class; 821s # }; 821s # 821s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 821s # 821s # #if GLIB_CHECK_VERSION(2, 44, 0) 821s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 821s # #endif 821s # 821s # FDPassing *fdpassing_skeleton_new (void); 821s # 821s # 821s # G_END_DECLS 821s # 821s # #endif /* __STDOUT__ */ 821s 1..39 821s ok - glib/codegen.py.test 821s # Running test: glib/spawn-singlethread.test 821s TAP version 13 821s # random seed: R02S20294837d7b10fbc602e3fcae356ad4c 821s 1..9 821s # Start of gthread tests 821s ok 1 /gthread/spawn-single-sync 821s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 821s ok 2 /gthread/spawn-stderr-socket 821s ok 3 /gthread/spawn-single-async 821s # thread 1 821s # thread 1 821s ok 4 /gthread/spawn-single-async-with-fds 821s ok 5 /gthread/spawn-async-with-invalid-fds 821s ok 6 /gthread/spawn-script 821s ok 7 /gthread/spawn-posix-spawn 821s # Start of spawn tests 821s ok 8 /gthread/spawn/nonexistent 821s # FD map: 821s # • 5 → 15 821s # • 6 → 16 821s # • 7 → 17 821s # • 8 → 18 821s # • 9 → 19 821s # • 10 → 20 821s # • 11 → 21 821s # • 12 → 22 821s # • 13 → 23 821s # • 3 → 13 821s ok 9 /gthread/spawn/fd-assignment-clash 821s # End of spawn tests 821s # End of gthread tests 821s ok - glib/spawn-singlethread.test 821s # Running test: glib/repository.test 821s TAP version 13 821s # random seed: R02S97c06b97c525b352ed8f75a10e537118 821s 1..21 821s # Start of repository tests 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AWVPK2/repository/basic/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AWVPK2/repository/basic/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AWVPK2/repository/basic/.dirs/system-config1:/tmp/test_repository_AWVPK2/repository/basic/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AWVPK2/repository/basic/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AWVPK2/repository/basic/.dirs/system-data1:/tmp/test_repository_AWVPK2/repository/basic/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AWVPK2/repository/basic/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AWVPK2/repository/basic/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AWVPK2/repository/basic/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 821s ok 1 /repository/basic 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AWVPK2/repository/info/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AWVPK2/repository/info/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AWVPK2/repository/info/.dirs/system-config1:/tmp/test_repository_AWVPK2/repository/info/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AWVPK2/repository/info/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AWVPK2/repository/info/.dirs/system-data1:/tmp/test_repository_AWVPK2/repository/info/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AWVPK2/repository/info/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AWVPK2/repository/info/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AWVPK2/repository/info/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /repository/info summary: Test retrieving some basic info blobs from a typelib 821s ok 2 /repository/info 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AWVPK2/repository/dependencies/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AWVPK2/repository/dependencies/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AWVPK2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_AWVPK2/repository/dependencies/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AWVPK2/repository/dependencies/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AWVPK2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_AWVPK2/repository/dependencies/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AWVPK2/repository/dependencies/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AWVPK2/repository/dependencies/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AWVPK2/repository/dependencies/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 821s ok 3 /repository/dependencies 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AWVPK2/repository/arg-info/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AWVPK2/repository/arg-info/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AWVPK2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_AWVPK2/repository/arg-info/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AWVPK2/repository/arg-info/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AWVPK2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_AWVPK2/repository/arg-info/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AWVPK2/repository/arg-info/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AWVPK2/repository/arg-info/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AWVPK2/repository/arg-info/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 821s ok 4 /repository/arg-info 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AWVPK2/repository/callable-info/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AWVPK2/repository/callable-info/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AWVPK2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_AWVPK2/repository/callable-info/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AWVPK2/repository/callable-info/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AWVPK2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_AWVPK2/repository/callable-info/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AWVPK2/repository/callable-info/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AWVPK2/repository/callable-info/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AWVPK2/repository/callable-info/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 821s ok 5 /repository/callable-info 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AWVPK2/repository/callback-info/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AWVPK2/repository/callback-info/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AWVPK2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_AWVPK2/repository/callback-info/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AWVPK2/repository/callback-info/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AWVPK2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_AWVPK2/repository/callback-info/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AWVPK2/repository/callback-info/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AWVPK2/repository/callback-info/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AWVPK2/repository/callback-info/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 821s ok 6 /repository/callback-info 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AWVPK2/repository/char-types/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AWVPK2/repository/char-types/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AWVPK2/repository/char-types/.dirs/system-config1:/tmp/test_repository_AWVPK2/repository/char-types/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AWVPK2/repository/char-types/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AWVPK2/repository/char-types/.dirs/system-data1:/tmp/test_repository_AWVPK2/repository/char-types/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AWVPK2/repository/char-types/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AWVPK2/repository/char-types/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AWVPK2/repository/char-types/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 821s ok 7 /repository/char-types 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AWVPK2/repository/constructor-return-type/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AWVPK2/repository/constructor-return-type/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AWVPK2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_AWVPK2/repository/constructor-return-type/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AWVPK2/repository/constructor-return-type/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AWVPK2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_AWVPK2/repository/constructor-return-type/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AWVPK2/repository/constructor-return-type/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AWVPK2/repository/constructor-return-type/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AWVPK2/repository/constructor-return-type/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 821s ok 8 /repository/constructor-return-type 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AWVPK2/repository/enum-info-c-identifier/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AWVPK2/repository/enum-info-c-identifier/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AWVPK2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_AWVPK2/repository/enum-info-c-identifier/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AWVPK2/repository/enum-info-c-identifier/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AWVPK2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_AWVPK2/repository/enum-info-c-identifier/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AWVPK2/repository/enum-info-c-identifier/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AWVPK2/repository/enum-info-c-identifier/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AWVPK2/repository/enum-info-c-identifier/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 821s ok 9 /repository/enum-info-c-identifier 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AWVPK2/repository/enum-info-static-methods/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AWVPK2/repository/enum-info-static-methods/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AWVPK2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_AWVPK2/repository/enum-info-static-methods/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AWVPK2/repository/enum-info-static-methods/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AWVPK2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_AWVPK2/repository/enum-info-static-methods/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AWVPK2/repository/enum-info-static-methods/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AWVPK2/repository/enum-info-static-methods/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AWVPK2/repository/enum-info-static-methods/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /repository/enum-info-static-methods summary: Test an enum with methods 821s ok 10 /repository/enum-info-static-methods 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AWVPK2/repository/error-quark/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AWVPK2/repository/error-quark/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AWVPK2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_AWVPK2/repository/error-quark/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AWVPK2/repository/error-quark/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AWVPK2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_AWVPK2/repository/error-quark/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AWVPK2/repository/error-quark/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AWVPK2/repository/error-quark/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AWVPK2/repository/error-quark/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /repository/error-quark summary: Test finding an error quark by error domain 821s ok 11 /repository/error-quark 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AWVPK2/repository/flags-info-c-identifier/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AWVPK2/repository/flags-info-c-identifier/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AWVPK2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_AWVPK2/repository/flags-info-c-identifier/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AWVPK2/repository/flags-info-c-identifier/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AWVPK2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_AWVPK2/repository/flags-info-c-identifier/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AWVPK2/repository/flags-info-c-identifier/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AWVPK2/repository/flags-info-c-identifier/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AWVPK2/repository/flags-info-c-identifier/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 821s ok 12 /repository/flags-info-c-identifier 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AWVPK2/repository/fundamental-ref-func/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AWVPK2/repository/fundamental-ref-func/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AWVPK2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_AWVPK2/repository/fundamental-ref-func/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AWVPK2/repository/fundamental-ref-func/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AWVPK2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_AWVPK2/repository/fundamental-ref-func/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AWVPK2/repository/fundamental-ref-func/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AWVPK2/repository/fundamental-ref-func/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AWVPK2/repository/fundamental-ref-func/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 821s ok 13 /repository/fundamental-ref-func 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AWVPK2/repository/instance-method-ownership-transfer/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AWVPK2/repository/instance-method-ownership-transfer/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AWVPK2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_AWVPK2/repository/instance-method-ownership-transfer/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AWVPK2/repository/instance-method-ownership-transfer/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AWVPK2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_AWVPK2/repository/instance-method-ownership-transfer/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AWVPK2/repository/instance-method-ownership-transfer/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AWVPK2/repository/instance-method-ownership-transfer/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AWVPK2/repository/instance-method-ownership-transfer/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 821s ok 14 /repository/instance-method-ownership-transfer 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AWVPK2/repository/object-gtype-interfaces/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AWVPK2/repository/object-gtype-interfaces/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AWVPK2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_AWVPK2/repository/object-gtype-interfaces/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AWVPK2/repository/object-gtype-interfaces/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AWVPK2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_AWVPK2/repository/object-gtype-interfaces/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AWVPK2/repository/object-gtype-interfaces/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AWVPK2/repository/object-gtype-interfaces/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AWVPK2/repository/object-gtype-interfaces/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 821s ok 15 /repository/object-gtype-interfaces 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AWVPK2/repository/signal-info-with-array-length-arg/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AWVPK2/repository/signal-info-with-array-length-arg/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AWVPK2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_AWVPK2/repository/signal-info-with-array-length-arg/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AWVPK2/repository/signal-info-with-array-length-arg/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AWVPK2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_AWVPK2/repository/signal-info-with-array-length-arg/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AWVPK2/repository/signal-info-with-array-length-arg/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AWVPK2/repository/signal-info-with-array-length-arg/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AWVPK2/repository/signal-info-with-array-length-arg/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 821s ok 16 /repository/signal-info-with-array-length-arg 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AWVPK2/repository/type-info-name/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AWVPK2/repository/type-info-name/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AWVPK2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_AWVPK2/repository/type-info-name/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AWVPK2/repository/type-info-name/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AWVPK2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_AWVPK2/repository/type-info-name/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AWVPK2/repository/type-info-name/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AWVPK2/repository/type-info-name/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AWVPK2/repository/type-info-name/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 821s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 821s ok 17 /repository/type-info-name 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-no-invoker/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-no-invoker/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_AWVPK2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-no-invoker/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_AWVPK2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-no-invoker/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-no-invoker/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-no-invoker/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 821s ok 18 /repository/vfunc-info-with-no-invoker 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_AWVPK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_AWVPK2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 821s ok 19 /repository/vfunc-info-with-invoker-on-interface 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-invoker-on-object/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_AWVPK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-invoker-on-object/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_AWVPK2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-invoker-on-object/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-invoker-on-object/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AWVPK2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 821s ok 20 /repository/vfunc-info-with-invoker-on-object 821s # Start of base-info tests 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_AWVPK2/repository/base-info/clear/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_AWVPK2/repository/base-info/clear/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_AWVPK2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_AWVPK2/repository/base-info/clear/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_AWVPK2/repository/base-info/clear/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_AWVPK2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_AWVPK2/repository/base-info/clear/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_AWVPK2/repository/base-info/clear/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_AWVPK2/repository/base-info/clear/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_AWVPK2/repository/base-info/clear/.dirs/runtime 821s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 821s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 821s ok 21 /repository/base-info/clear 821s # End of base-info tests 821s # End of repository tests 821s ok - glib/repository.test 821s # Running test: glib/unicode-normalize.test 821s TAP version 13 821s # random seed: R02Sf92716dea7981d045efb18283aa7bbde 821s 1..3 821s # Start of unicode tests 821s # Processing Part0 # Specific cases 821s # Processing Part1 # Character by character test 821s # Processing Part2 # Canonical Order Test 821s # Processing Part3 # PRI #29 Test 821s ok 1 /unicode/normalize 821s # Invalid UTF-8 vector 0 821s # Invalid UTF-8 vector 1 821s # Invalid UTF-8 vector 2 821s # Invalid UTF-8 vector 3 821s # Invalid UTF-8 vector 4 821s # Invalid UTF-8 vector 5 821s # Invalid UTF-8 vector 6 821s # Invalid UTF-8 vector 7 821s # Invalid UTF-8 vector 8 821s # Invalid UTF-8 vector 9 821s # Invalid UTF-8 vector 10 821s # Invalid UTF-8 vector 11 821s # Invalid UTF-8 vector 12 821s ok 2 /unicode/normalize-invalid 821s # Start of normalize tests 821s ok 3 /unicode/normalize/bad-length 821s # End of normalize tests 821s # End of unicode tests 821s ok - glib/unicode-normalize.test 821s # Running test: glib/application-command-line.test 821s TAP version 13 821s # random seed: R02S060fe469f11cb7fb2a234bcf4409e022 821s 1..1 821s # Start of application-command-line tests 821s ok 1 /application-command-line/basic-properties 821s # End of application-command-line tests 821s ok - glib/application-command-line.test 821s # Running test: glib/network-monitor.test 821s TAP version 13 821s # random seed: R02S1a4ff674771b606c6bf9abab54f7c88d 821s 1..4 821s # Start of network-monitor tests 821s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 821s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 821s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 821s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 821s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 821s ok 1 /network-monitor/default 821s ok 2 /network-monitor/remove_default 821s ok 3 /network-monitor/add_networks 821s ok 4 /network-monitor/remove_networks 821s # End of network-monitor tests 821s ok - glib/network-monitor.test 821s # Running test: glib/testfilemonitor.test 821s TAP version 13 821s # random seed: R02Sf523a9d95b6a5b42116ae0e94b5b2517 821s 1..8 821s # Start of monitor tests 821s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 821s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 821s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 821s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 821s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 821s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 821s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 821s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 821s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 821s # Start of file tests 821s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 821s # End of file tests 821s # End of monitor tests 821s ok - glib/testfilemonitor.test 821s # Running test: glib/portal-support-env-var.test 821s TAP version 13 821s # random seed: R02S127b7526312dafdfffd072bd07e1b673 821s 1..1 821s # Start of portal-support tests 821s ok 1 /portal-support/env-var 821s # End of portal-support tests 821s ok - glib/portal-support-env-var.test 821s # Running test: glib/gdbus-serialization.test 821s TAP version 13 821s # random seed: R02Sdd62d54e8524a6fbf3364ac52047dabb 821s 1..18 821s # Start of gdbus tests 821s # Start of message-serialize tests 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/basic/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/basic/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/basic/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/basic/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/basic/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/basic/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/basic/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/basic/.dirs/runtime 821s ok 1 /gdbus/message-serialize/basic 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/complex/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/complex/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/complex/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/complex/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/complex/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/complex/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/complex/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/complex/.dirs/runtime 821s ok 2 /gdbus/message-serialize/complex 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/invalid/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/invalid/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/invalid/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/invalid/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/invalid/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/invalid/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/invalid/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/invalid/.dirs/runtime 821s ok 3 /gdbus/message-serialize/invalid 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/header-checks/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/header-checks/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/header-checks/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/header-checks/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/header-checks/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/header-checks/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/header-checks/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/header-checks/.dirs/runtime 821s ok 4 /gdbus/message-serialize/header-checks 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/double-array/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/double-array/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/double-array/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/double-array/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/double-array/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/double-array/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/double-array/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/double-array/.dirs/runtime 821s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 821s ok 5 /gdbus/message-serialize/double-array 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/empty-structure/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/empty-structure/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/empty-structure/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/empty-structure/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/empty-structure/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/empty-structure/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/empty-structure/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/empty-structure/.dirs/runtime 821s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 821s ok 6 /gdbus/message-serialize/empty-structure 821s # Start of header-checks tests 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/header-checks/valid/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/header-checks/valid/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/header-checks/valid/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/header-checks/valid/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/header-checks/valid/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 821s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 821s ok 7 /gdbus/message-serialize/header-checks/valid 821s # End of header-checks tests 821s # End of message-serialize tests 821s # Start of message-parse tests 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 821s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 821s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/non-signature-header/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/non-signature-header/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/non-signature-header/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/non-signature-header/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/non-signature-header/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/non-signature-header/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/non-signature-header/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/non-signature-header/.dirs/runtime 821s ok 9 /gdbus/message-parse/non-signature-header 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-signature-header/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-signature-header/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-signature-header/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-signature-header/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-signature-header/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-signature-header/.dirs/runtime 821s ok 10 /gdbus/message-parse/empty-signature-header 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/multiple-signature-header/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/multiple-signature-header/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/multiple-signature-header/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/multiple-signature-header/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/multiple-signature-header/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 821s ok 11 /gdbus/message-parse/multiple-signature-header 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/over-long-signature-header/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/over-long-signature-header/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/over-long-signature-header/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/over-long-signature-header/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/over-long-signature-header/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 821s ok 12 /gdbus/message-parse/over-long-signature-header 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/deep-header-nesting/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/deep-header-nesting/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/deep-header-nesting/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/deep-header-nesting/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/deep-header-nesting/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 821s ok 13 /gdbus/message-parse/deep-header-nesting 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/deep-body-nesting/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/deep-body-nesting/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/deep-body-nesting/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/deep-body-nesting/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/deep-body-nesting/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 821s ok 14 /gdbus/message-parse/deep-body-nesting 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/truncated/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/truncated/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/truncated/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/truncated/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/truncated/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/truncated/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/truncated/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/truncated/.dirs/runtime 821s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 821s ok 15 /gdbus/message-parse/truncated 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-structure/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-structure/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-structure/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-structure/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-structure/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-structure/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-structure/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/empty-structure/.dirs/runtime 821s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 821s ok 16 /gdbus/message-parse/empty-structure 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/missing-header/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/missing-header/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/missing-header/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/missing-header/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/missing-header/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/missing-header/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/missing-header/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/missing-header/.dirs/runtime 821s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 821s ok 17 /gdbus/message-parse/missing-header 821s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/invalid-header-type/.dirs/home 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/invalid-header-type/.dirs/cache 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/invalid-header-type/.dirs/config 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/invalid-header-type/.dirs/data 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/invalid-header-type/.dirs/state 821s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_OAOTK2/gdbus/message-parse/invalid-header-type/.dirs/runtime 821s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 821s ok 18 /gdbus/message-parse/invalid-header-type 821s # End of message-parse tests 821s # End of gdbus tests 821s ok - glib/gdbus-serialization.test 821s # Running test: glib/array-test.test 821s TAP version 13 821s # random seed: R02S325870a3c2676c882dda4a68cf28996b 821s 1..113 821s # Start of array tests 821s ok 1 /array/ref-count 821s ok 2 /array/steal 821s ok 3 /array/clear-func 821s ok 4 /array/binary-search 821s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 821s ok 5 /array/copy-sized 821s ok 6 /array/overflow-append-vals 821s ok 7 /array/overflow-set-size 821s # Start of new tests 821s ok 8 /array/new/zero-terminated 821s ok 9 /array/new/take 821s ok 10 /array/new/take-zero-terminated 821s # Start of take tests 821s ok 11 /array/new/take/empty 821s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 821s # End of take tests 821s # End of new tests 821s # Start of set-size tests 821s ok 13 /array/set-size/non-zero-terminated-no-clear 821s ok 14 /array/set-size/non-zero-terminated-clear 821s ok 15 /array/set-size/zero-terminated-no-clear 821s ok 16 /array/set-size/zero-terminated-clear 821s # Start of sized tests 821s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 821s ok 18 /array/set-size/sized/non-zero-terminated-clear 821s ok 19 /array/set-size/sized/zero-terminated-no-clear 821s ok 20 /array/set-size/sized/zero-terminated-clear 821s # End of sized tests 821s # End of set-size tests 821s # Start of append-val tests 821s ok 21 /array/append-val/non-zero-terminated-no-clear 821s ok 22 /array/append-val/non-zero-terminated-clear 821s ok 23 /array/append-val/zero-terminated-no-clear 821s ok 24 /array/append-val/zero-terminated-clear 821s # End of append-val tests 821s # Start of prepend-val tests 821s ok 25 /array/prepend-val/non-zero-terminated-no-clear 821s ok 26 /array/prepend-val/non-zero-terminated-clear 821s ok 27 /array/prepend-val/zero-terminated-no-clear 821s ok 28 /array/prepend-val/zero-terminated-clear 821s # End of prepend-val tests 821s # Start of prepend-vals tests 821s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 821s ok 30 /array/prepend-vals/non-zero-terminated-clear 821s ok 31 /array/prepend-vals/zero-terminated-no-clear 821s ok 32 /array/prepend-vals/zero-terminated-clear 821s # End of prepend-vals tests 821s # Start of insert-vals tests 821s ok 33 /array/insert-vals/non-zero-terminated-no-clear 821s ok 34 /array/insert-vals/non-zero-terminated-clear 821s ok 35 /array/insert-vals/zero-terminated-no-clear 821s ok 36 /array/insert-vals/zero-terminated-clear 821s # End of insert-vals tests 821s # Start of remove-index tests 821s ok 37 /array/remove-index/non-zero-terminated-no-clear 821s ok 38 /array/remove-index/non-zero-terminated-clear 821s ok 39 /array/remove-index/zero-terminated-no-clear 821s ok 40 /array/remove-index/zero-terminated-clear 821s # End of remove-index tests 821s # Start of remove-index-fast tests 821s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 821s ok 42 /array/remove-index-fast/non-zero-terminated-clear 821s ok 43 /array/remove-index-fast/zero-terminated-no-clear 821s ok 44 /array/remove-index-fast/zero-terminated-clear 821s # End of remove-index-fast tests 821s # Start of remove-range tests 821s ok 45 /array/remove-range/non-zero-terminated-no-clear 821s ok 46 /array/remove-range/non-zero-terminated-clear 821s ok 47 /array/remove-range/zero-terminated-no-clear 821s ok 48 /array/remove-range/zero-terminated-clear 821s # End of remove-range tests 821s # Start of copy tests 821s ok 49 /array/copy/non-zero-terminated-no-clear 821s ok 50 /array/copy/non-zero-terminated-clear 821s ok 51 /array/copy/zero-terminated-no-clear 821s ok 52 /array/copy/zero-terminated-clear 821s # End of copy tests 821s # Start of sort tests 821s ok 53 /array/sort/non-zero-terminated-no-clear 821s ok 54 /array/sort/non-zero-terminated-clear 821s ok 55 /array/sort/zero-terminated-no-clear 821s ok 56 /array/sort/zero-terminated-clear 821s # End of sort tests 821s # Start of sort-with-data tests 821s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 821s ok 58 /array/sort-with-data/non-zero-terminated-clear 821s ok 59 /array/sort-with-data/zero-terminated-no-clear 821s ok 60 /array/sort-with-data/zero-terminated-clear 821s # End of sort-with-data tests 821s # End of array tests 821s # Start of pointerarray tests 821s ok 61 /pointerarray/add 821s ok 62 /pointerarray/insert 821s ok 63 /pointerarray/new-take 821s ok 64 /pointerarray/new-take-null-terminated 821s ok 65 /pointerarray/new-from-array 821s ok 66 /pointerarray/new-from-null-terminated-array 821s ok 67 /pointerarray/free-func 821s ok 68 /pointerarray/array_extend_and_steal 821s ok 69 /pointerarray/sort 821s ok 70 /pointerarray/sort-with-data 821s ok 71 /pointerarray/sort-values 821s ok 72 /pointerarray/sort-values-with-data 821s ok 73 /pointerarray/remove-range 821s ok 74 /pointerarray/steal 821s # Start of free tests 821s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 821s ok 75 /pointerarray/free/null-terminated 821s # End of free tests 821s # Start of new-take tests 821s ok 76 /pointerarray/new-take/empty 821s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 821s ok 78 /pointerarray/new-take/with-free-func 821s # End of new-take tests 821s # Start of new-take-null-terminated tests 821s ok 79 /pointerarray/new-take-null-terminated/empty 821s ok 80 /pointerarray/new-take-null-terminated/with-free-func 821s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 821s # End of new-take-null-terminated tests 821s # Start of new-from-array tests 821s ok 82 /pointerarray/new-from-array/empty 821s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 821s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 821s # End of new-from-array tests 821s # Start of new-from-null-terminated-array tests 821s ok 85 /pointerarray/new-from-null-terminated-array/empty 821s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 821s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 821s # End of new-from-null-terminated-array tests 821s # Start of ref-count tests 821s ok 88 /pointerarray/ref-count/not-null-terminated 821s ok 89 /pointerarray/ref-count/null-terminated 821s # End of ref-count tests 821s # Start of array_copy tests 821s # /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 821s ok 90 /pointerarray/array_copy/not-null-terminated 821s # /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 821s ok 91 /pointerarray/array_copy/null-terminated 821s # End of array_copy tests 821s # Start of array_extend tests 821s ok 92 /pointerarray/array_extend/not-null-terminated 821s ok 93 /pointerarray/array_extend/null-terminated 821s # End of array_extend tests 821s # Start of sort tests 821s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 821s ok 94 /pointerarray/sort/example 821s # End of sort tests 821s # Start of sort-with-data tests 821s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 821s ok 95 /pointerarray/sort-with-data/example 821s # End of sort-with-data tests 821s # Start of sort-values tests 821s ok 96 /pointerarray/sort-values/example 821s # End of sort-values tests 821s # Start of sort-values-with-data tests 821s ok 97 /pointerarray/sort-values-with-data/example 821s # End of sort-values-with-data tests 821s # Start of find tests 821s ok 98 /pointerarray/find/empty 821s ok 99 /pointerarray/find/non-empty 821s # End of find tests 821s # Start of steal_index tests 821s ok 100 /pointerarray/steal_index/not-null-terminated 821s ok 101 /pointerarray/steal_index/null-terminated 821s # End of steal_index tests 821s # End of pointerarray tests 821s # Start of bytearray tests 821s ok 102 /bytearray/steal 821s ok 103 /bytearray/append 821s ok 104 /bytearray/prepend 821s ok 105 /bytearray/remove 821s ok 106 /bytearray/remove-fast 821s ok 107 /bytearray/remove-range 821s ok 108 /bytearray/ref-count 821s ok 109 /bytearray/sort 821s ok 110 /bytearray/sort-with-data 821s ok 111 /bytearray/new-take 821s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 821s ok 113 /bytearray/free-to-bytes 821s # End of bytearray tests 821s ok - glib/array-test.test 821s # Running test: glib/macros-c-17.test 821s TAP version 13 821s # random seed: R02Sb3f82cd23373431e2e5327f642cde6d7 821s 1..4 821s # Start of C tests 821s ok 1 /C/standard-17 821s # End of C tests 821s # Start of alignof tests 821s ok 2 /alignof/fallback 821s # End of alignof tests 821s # Start of assert tests 821s ok 3 /assert/static 821s # End of assert tests 821s # Start of struct tests 821s ok 4 /struct/sizeof_member 821s # End of struct tests 821s ok - glib/macros-c-17.test 821s # Running test: glib/mainloop.test 821s TAP version 13 821s # random seed: R02Sfbd356d3d56fb8ea2f2ca47cf1b44f24 821s 1..45 821s # Start of maincontext tests 821s ok 1 /maincontext/basic 821s # Add same-priority sources: 15 821s # Find each source: 2 821s # Remove in random order: 13 821s ok 2 /maincontext/nsources_same_priority 821s # Add different-priority sources: 12 821s # Find each source: 1 821s # Remove in random order: 14 821s ok 3 /maincontext/nsources_different_priority 821s # Add sources from threads: 27 821s # Remove sources from threads: 46 821s ok 4 /maincontext/nsources_threadpool 821s ok 5 /maincontext/source_finalization 821s # /maincontext/idle-once summary: Test g_idle_add_once() works 821s ok 6 /maincontext/idle-once 821s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 821s ok 7 /maincontext/timeout-once 821s # Start of source_finalization_from_source tests 821s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 821s ok 8 /maincontext/source_finalization_from_source/0 821s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 821s ok 9 /maincontext/source_finalization_from_source/1 821s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 821s ok 10 /maincontext/source_finalization_from_source/2 821s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 821s ok 11 /maincontext/source_finalization_from_source/3 821s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 821s ok 12 /maincontext/source_finalization_from_source/4 821s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 821s ok 13 /maincontext/source_finalization_from_source/5 821s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 821s ok 14 /maincontext/source_finalization_from_source/6 821s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 821s ok 15 /maincontext/source_finalization_from_source/7 821s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 821s ok 16 /maincontext/source_finalization_from_source/8 821s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 821s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 821s ok 17 /maincontext/source_finalization_from_source/9 821s # End of source_finalization_from_source tests 821s # Start of source_finalization_from_dispatch tests 821s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 821s ok 18 /maincontext/source_finalization_from_dispatch/0 821s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 821s ok 19 /maincontext/source_finalization_from_dispatch/1 821s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 821s ok 20 /maincontext/source_finalization_from_dispatch/2 821s # End of source_finalization_from_dispatch tests 821s # End of maincontext tests 821s # Start of mainloop tests 821s ok 21 /mainloop/basic 821s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 821s ok 23 /mainloop/priorities 822s ok 24 /mainloop/invoke 822s # slow test /mainloop/invoke executed in 0.50 secs 822s # Executing: glib/mainloop.test 824s ok 25 /mainloop/child_sources 824s # slow test /mainloop/child_sources executed in 1.21 secs 825s ok 26 /mainloop/recursive_child_sources 825s # slow test /mainloop/recursive_child_sources executed in 2.22 secs 825s ok 27 /mainloop/recursive_loop_child_sources 825s ok 28 /mainloop/swapping_child_sources 825s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 825s ok 29 /mainloop/blocked_child_sources 826s ok 30 /mainloop/source_time 826s # slow test /mainloop/source_time executed in 1.00 secs 826s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 826s ok 31 /mainloop/overflow 827s ok 32 /mainloop/ready-time 827s # slow test /mainloop/ready-time executed in 0.51 secs 827s ok 33 /mainloop/wakeup 827s ok 34 /mainloop/remove-invalid 827s ok 35 /mainloop/unref-while-pending 827s # Executing: glib/mainloop.test 827s ok 36 /mainloop/unix-fd 827s # slow test /mainloop/unix-fd executed in 0.55 secs 827s ok 37 /mainloop/unix-fd-source 827s ok 38 /mainloop/source-unix-fd-api 827s ok 39 /mainloop/wait 827s ok 40 /mainloop/unix-file-poll 827s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 827s ok 41 /mainloop/unix-fd-priority 827s ok 42 /mainloop/nfds 827s ok 43 /mainloop/steal-fd 827s # Start of ownerless-polling tests 827s ok 44 /mainloop/ownerless-polling/attach-first 827s ok 45 /mainloop/ownerless-polling/pop-first 827s # End of ownerless-polling tests 827s # End of mainloop tests 827s ok - glib/mainloop.test 827s # Running test: glib/io-channel-basic.test 827s TAP version 13 827s # random seed: R02Saa66e59856d334d8a084f6c22fb38d76 827s 1..1 827s # Start of gio tests 827s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 827s # # random seed: R02Sfb91dcf225dbd9f3521579d593fca40a 828s # # GLib-DEBUG: io-channel-basic: child writing 8+653 bytes to 6 828s # GLib-DEBUG: io-channel-basic: ...from 5: IN 828s # GLib-DEBUG: io-channel-basic: ...from 5: 653 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 5: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+1870 bytes to 6 828s # GLib-DEBUG: io-channel-basic: ...from 5: IN 828s # GLib-DEBUG: io-channel-basic: ...from 5: 1870 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 5: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+3240 bytes to 6 828s # GLib-DEBUG: io-channel-basic: ...from 5: IN 828s # GLib-DEBUG: io-channel-basic: ...from 5: 3240 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 5: OK 828s # # GLib-DEBUG: io-channel-basic: child writing 8+1549 bytes to 6 828s # GLib-DEBUG: io-channel-basic: ...from 5: IN 828s # GLib-DEBUG: io-channel-basic: ...from 5: 1549 bytes 828s # GLib-DEBUG: io-channel-basic: ...from 5: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+4552 bytes to 6 829s # GLib-DEBUG: io-channel-basic: ...from 5: IN 829s # GLib-DEBUG: io-channel-basic: ...from 5: 4552 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 5: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+4742 bytes to 6 829s # GLib-DEBUG: io-channel-basic: ...from 5: IN 829s # GLib-DEBUG: io-channel-basic: ...from 5: 4742 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 5: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+3329 bytes to 6 829s # GLib-DEBUG: io-channel-basic: ...from 5: IN 829s # GLib-DEBUG: io-channel-basic: ...from 5: 3329 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 5: OK 829s # # GLib-DEBUG: io-channel-basic: child writing 8+4736 bytes to 6 829s # GLib-DEBUG: io-channel-basic: ...from 5: IN 829s # GLib-DEBUG: io-channel-basic: ...from 5: 4736 bytes 829s # GLib-DEBUG: io-channel-basic: ...from 5: OK 830s # # GLib-DEBUG: io-channel-basic: child writing 8+2861 bytes to 6 830s # GLib-DEBUG: io-channel-basic: ...from 5: IN 830s # GLib-DEBUG: io-channel-basic: ...from 5: 2861 bytes 830s # GLib-DEBUG: io-channel-basic: ...from 5: OK 830s # # GLib-DEBUG: io-channel-basic: child writing 8+4441 bytes to 6 830s # GLib-DEBUG: io-channel-basic: ...from 5: IN 830s # GLib-DEBUG: io-channel-basic: ...from 5: 4441 bytes 830s # GLib-DEBUG: io-channel-basic: ...from 5: OK 830s # # GLib-DEBUG: io-channel-basic: child writing 8+4740 bytes to 6 830s # GLib-DEBUG: io-channel-basic: ...from 5: IN 830s # GLib-DEBUG: io-channel-basic: ...from 5: 4740 bytes 830s # GLib-DEBUG: io-channel-basic: ...from 5: OK 830s # # GLib-DEBUG: io-channel-basic: child writing 8+3543 bytes to 6 830s # GLib-DEBUG: io-channel-basic: ...from 5: IN 830s # GLib-DEBUG: io-channel-basic: ...from 5: 3543 bytes 830s # GLib-DEBUG: io-channel-basic: ...from 5: OK 831s # # GLib-DEBUG: io-channel-basic: child writing 8+4771 bytes to 6 831s # GLib-DEBUG: io-channel-basic: ...from 5: IN 831s # GLib-DEBUG: io-channel-basic: ...from 5: 4771 bytes 831s # GLib-DEBUG: io-channel-basic: ...from 5: OK 831s # # GLib-DEBUG: io-channel-basic: child writing 8+955 bytes to 6 831s # GLib-DEBUG: io-channel-basic: ...from 5: IN 831s # GLib-DEBUG: io-channel-basic: ...from 5: 955 bytes 831s # GLib-DEBUG: io-channel-basic: ...from 5: OK 831s # # GLib-DEBUG: io-channel-basic: child writing 8+3620 bytes to 6 831s # GLib-DEBUG: io-channel-basic: ...from 5: IN 831s # GLib-DEBUG: io-channel-basic: ...from 5: 3620 bytes 831s # GLib-DEBUG: io-channel-basic: ...from 5: OK 832s # # GLib-DEBUG: io-channel-basic: child writing 8+2025 bytes to 6 832s # GLib-DEBUG: io-channel-basic: ...from 5: IN 832s # GLib-DEBUG: io-channel-basic: ...from 5: 2025 bytes 832s # GLib-DEBUG: io-channel-basic: ...from 5: OK 832s # # GLib-DEBUG: io-channel-basic: child writing 8+1079 bytes to 6 832s # GLib-DEBUG: io-channel-basic: ...from 5: IN 832s # GLib-DEBUG: io-channel-basic: ...from 5: 1079 bytes 832s # GLib-DEBUG: io-channel-basic: ...from 5: OK 832s # Executing: glib/io-channel-basic.test 832s # # GLib-DEBUG: io-channel-basic: child writing 8+2939 bytes to 6 832s # GLib-DEBUG: io-channel-basic: ...from 5: IN 832s # GLib-DEBUG: io-channel-basic: ...from 5: 2939 bytes 832s # GLib-DEBUG: io-channel-basic: ...from 5: OK 832s # # GLib-DEBUG: io-channel-basic: child writing 8+4106 bytes to 6 832s # GLib-DEBUG: io-channel-basic: ...from 5: IN 832s # GLib-DEBUG: io-channel-basic: ...from 5: 4106 bytes 832s # GLib-DEBUG: io-channel-basic: ...from 5: OK 833s # # GLib-DEBUG: io-channel-basic: child writing 8+853 bytes to 6 833s # GLib-DEBUG: io-channel-basic: ...from 5: IN 833s # GLib-DEBUG: io-channel-basic: ...from 5: 853 bytes 833s # GLib-DEBUG: io-channel-basic: ...from 5: OK 833s # # GLib-DEBUG: io-channel-basic: child writing 8+697 bytes to 6 833s # GLib-DEBUG: io-channel-basic: ...from 5: IN 833s # GLib-DEBUG: io-channel-basic: ...from 5: 697 bytes 833s # GLib-DEBUG: io-channel-basic: ...from 5: OK 833s # # GLib-DEBUG: io-channel-basic: child writing 8+2740 bytes to 6 833s # GLib-DEBUG: io-channel-basic: ...from 5: IN 833s # GLib-DEBUG: io-channel-basic: ...from 5: 2740 bytes 833s # GLib-DEBUG: io-channel-basic: ...from 5: OK 833s # # GLib-DEBUG: io-channel-basic: child writing 8+2458 bytes to 6 833s # GLib-DEBUG: io-channel-basic: ...from 5: IN 833s # GLib-DEBUG: io-channel-basic: ...from 5: 2458 bytes 833s # GLib-DEBUG: io-channel-basic: ...from 5: OK 834s # # GLib-DEBUG: io-channel-basic: child writing 8+3107 bytes to 6 834s # GLib-DEBUG: io-channel-basic: ...from 5: IN 834s # GLib-DEBUG: io-channel-basic: ...from 5: 3107 bytes 834s # GLib-DEBUG: io-channel-basic: ...from 5: OK 834s # # GLib-DEBUG: io-channel-basic: child writing 8+1092 bytes to 6 834s # # GLib-DEBUG: io-channel-basic: child exiting, closing 6 834s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 834s # GLib-DEBUG: io-channel-basic: ...from 5: 1092 bytes 834s # GLib-DEBUG: io-channel-basic: ...from 5: OK 834s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 834s # # random seed: R02Sdff20a46d84ed6e6bcef23c62151517b 834s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 834s # # random seed: R02Sbc05f9177938e980a8657e1402428459 834s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 834s # # random seed: R02S83b66cff595254933caaa223833dd55e 834s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 834s # # random seed: R02S3fd15e03e864c9915297f90970fa64c3 834s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 834s # # random seed: R02S57013d4f01b48d4bad2f19e334560373 834s # # GLib-DEBUG: io-channel-basic: child writing 8+3605 bytes to 11 834s # GLib-DEBUG: io-channel-basic: ...from 10: IN 834s # GLib-DEBUG: io-channel-basic: ...from 10: 3605 bytes 834s # GLib-DEBUG: io-channel-basic: ...from 10: OK 834s # # GLib-DEBUG: io-channel-basic: child writing 8+1959 bytes to 9 834s # GLib-DEBUG: io-channel-basic: ...from 8: IN 834s # GLib-DEBUG: io-channel-basic: ...from 8: 1959 bytes 834s # GLib-DEBUG: io-channel-basic: ...from 8: OK 834s # # GLib-DEBUG: io-channel-basic: child writing 8+4515 bytes to 15 834s # GLib-DEBUG: io-channel-basic: ...from 14: IN 834s # GLib-DEBUG: io-channel-basic: ...from 14: 4515 bytes 834s # GLib-DEBUG: io-channel-basic: ...from 14: OK 834s # # GLib-DEBUG: io-channel-basic: child writing 8+1619 bytes to 17 834s # GLib-DEBUG: io-channel-basic: ...from 16: IN 834s # GLib-DEBUG: io-channel-basic: ...from 16: 1619 bytes 834s # GLib-DEBUG: io-channel-basic: ...from 16: OK 834s # # GLib-DEBUG: io-channel-basic: child writing 8+2631 bytes to 13 834s # GLib-DEBUG: io-channel-basic: ...from 12: IN 834s # GLib-DEBUG: io-channel-basic: ...from 12: 2631 bytes 834s # GLib-DEBUG: io-channel-basic: ...from 12: OK 834s # # GLib-DEBUG: io-channel-basic: child writing 8+3509 bytes to 11 834s # GLib-DEBUG: io-channel-basic: ...from 10: IN 834s # GLib-DEBUG: io-channel-basic: ...from 10: 3509 bytes 834s # GLib-DEBUG: io-channel-basic: ...from 10: OK 834s # # GLib-DEBUG: io-channel-basic: child writing 8+4742 bytes to 17 834s # GLib-DEBUG: io-channel-basic: ...from 16: IN 834s # GLib-DEBUG: io-channel-basic: ...from 16: 4742 bytes 834s # GLib-DEBUG: io-channel-basic: ...from 16: OK 834s # # GLib-DEBUG: io-channel-basic: child writing 8+4233 bytes to 9 834s # GLib-DEBUG: io-channel-basic: ...from 8: IN 834s # GLib-DEBUG: io-channel-basic: ...from 8: 4233 bytes 834s # GLib-DEBUG: io-channel-basic: ...from 8: OK 834s # # GLib-DEBUG: io-channel-basic: child writing 8+1742 bytes to 15 834s # GLib-DEBUG: io-channel-basic: ...from 14: IN 834s # GLib-DEBUG: io-channel-basic: ...from 14: 1742 bytes 834s # GLib-DEBUG: io-channel-basic: ...from 14: OK 834s # # GLib-DEBUG: io-channel-basic: child writing 8+4726 bytes to 13 834s # GLib-DEBUG: io-channel-basic: ...from 12: IN 834s # GLib-DEBUG: io-channel-basic: ...from 12: 4726 bytes 834s # GLib-DEBUG: io-channel-basic: ...from 12: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+809 bytes to 11 835s # GLib-DEBUG: io-channel-basic: ...from 10: IN 835s # GLib-DEBUG: io-channel-basic: ...from 10: 809 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 10: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+795 bytes to 17 835s # GLib-DEBUG: io-channel-basic: ...from 16: IN 835s # GLib-DEBUG: io-channel-basic: ...from 16: 795 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 16: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+4031 bytes to 9 835s # GLib-DEBUG: io-channel-basic: ...from 8: IN 835s # GLib-DEBUG: io-channel-basic: ...from 8: 4031 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 8: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+4991 bytes to 15 835s # GLib-DEBUG: io-channel-basic: ...from 14: IN 835s # GLib-DEBUG: io-channel-basic: ...from 14: 4991 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 14: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+2744 bytes to 13 835s # GLib-DEBUG: io-channel-basic: ...from 12: IN 835s # GLib-DEBUG: io-channel-basic: ...from 12: 2744 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 12: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+93 bytes to 11 835s # GLib-DEBUG: io-channel-basic: ...from 10: IN 835s # GLib-DEBUG: io-channel-basic: ...from 10: 93 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 10: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+1299 bytes to 17 835s # GLib-DEBUG: io-channel-basic: ...from 16: IN 835s # GLib-DEBUG: io-channel-basic: ...from 16: 1299 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 16: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+3859 bytes to 15 835s # GLib-DEBUG: io-channel-basic: ...from 14: IN 835s # GLib-DEBUG: io-channel-basic: ...from 14: 3859 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 14: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+3537 bytes to 13 835s # GLib-DEBUG: io-channel-basic: ...from 12: IN 835s # GLib-DEBUG: io-channel-basic: ...from 12: 3537 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 12: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+594 bytes to 9 835s # GLib-DEBUG: io-channel-basic: ...from 8: IN 835s # GLib-DEBUG: io-channel-basic: ...from 8: 594 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 8: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+3742 bytes to 11 835s # GLib-DEBUG: io-channel-basic: ...from 10: IN 835s # GLib-DEBUG: io-channel-basic: ...from 10: 3742 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 10: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+2348 bytes to 17 835s # GLib-DEBUG: io-channel-basic: ...from 16: IN 835s # GLib-DEBUG: io-channel-basic: ...from 16: 2348 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 16: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+4391 bytes to 15 835s # GLib-DEBUG: io-channel-basic: ...from 14: IN 835s # GLib-DEBUG: io-channel-basic: ...from 14: 4391 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 14: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+2678 bytes to 9 835s # GLib-DEBUG: io-channel-basic: ...from 8: IN 835s # GLib-DEBUG: io-channel-basic: ...from 8: 2678 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 8: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+1052 bytes to 13 835s # GLib-DEBUG: io-channel-basic: ...from 12: IN 835s # GLib-DEBUG: io-channel-basic: ...from 12: 1052 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 12: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+1097 bytes to 11 835s # GLib-DEBUG: io-channel-basic: ...from 10: IN 835s # GLib-DEBUG: io-channel-basic: ...from 10: 1097 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 10: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+1456 bytes to 17 835s # GLib-DEBUG: io-channel-basic: ...from 16: IN 835s # GLib-DEBUG: io-channel-basic: ...from 16: 1456 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 16: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+360 bytes to 15 835s # GLib-DEBUG: io-channel-basic: ...from 14: IN 835s # GLib-DEBUG: io-channel-basic: ...from 14: 360 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 14: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+1485 bytes to 9 835s # GLib-DEBUG: io-channel-basic: ...from 8: IN 835s # GLib-DEBUG: io-channel-basic: ...from 8: 1485 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 8: OK 835s # # GLib-DEBUG: io-channel-basic: child writing 8+1829 bytes to 13 835s # GLib-DEBUG: io-channel-basic: ...from 12: IN 835s # GLib-DEBUG: io-channel-basic: ...from 12: 1829 bytes 835s # GLib-DEBUG: io-channel-basic: ...from 12: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+102 bytes to 17 836s # GLib-DEBUG: io-channel-basic: ...from 16: IN 836s # GLib-DEBUG: io-channel-basic: ...from 16: 102 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 16: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+2611 bytes to 11 836s # GLib-DEBUG: io-channel-basic: ...from 10: IN 836s # GLib-DEBUG: io-channel-basic: ...from 10: 2611 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 10: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+1979 bytes to 15 836s # GLib-DEBUG: io-channel-basic: ...from 14: IN 836s # GLib-DEBUG: io-channel-basic: ...from 14: 1979 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 14: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+2796 bytes to 9 836s # GLib-DEBUG: io-channel-basic: ...from 8: IN 836s # GLib-DEBUG: io-channel-basic: ...from 8: 2796 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 8: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+2307 bytes to 13 836s # GLib-DEBUG: io-channel-basic: ...from 12: IN 836s # GLib-DEBUG: io-channel-basic: ...from 12: 2307 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 12: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+2393 bytes to 11 836s # GLib-DEBUG: io-channel-basic: ...from 10: IN 836s # GLib-DEBUG: io-channel-basic: ...from 10: 2393 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 10: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+3875 bytes to 17 836s # GLib-DEBUG: io-channel-basic: ...from 16: IN 836s # GLib-DEBUG: io-channel-basic: ...from 16: 3875 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 16: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+4528 bytes to 15 836s # GLib-DEBUG: io-channel-basic: ...from 14: IN 836s # GLib-DEBUG: io-channel-basic: ...from 14: 4528 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 14: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+1052 bytes to 9 836s # GLib-DEBUG: io-channel-basic: ...from 8: IN 836s # GLib-DEBUG: io-channel-basic: ...from 8: 1052 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 8: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+2557 bytes to 13 836s # GLib-DEBUG: io-channel-basic: ...from 12: IN 836s # GLib-DEBUG: io-channel-basic: ...from 12: 2557 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 12: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+4914 bytes to 11 836s # GLib-DEBUG: io-channel-basic: ...from 10: IN 836s # GLib-DEBUG: io-channel-basic: ...from 10: 4914 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 10: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+1428 bytes to 17 836s # GLib-DEBUG: io-channel-basic: ...from 16: IN 836s # GLib-DEBUG: io-channel-basic: ...from 16: 1428 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 16: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+691 bytes to 15 836s # GLib-DEBUG: io-channel-basic: ...from 14: IN 836s # GLib-DEBUG: io-channel-basic: ...from 14: 691 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 14: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+4826 bytes to 13 836s # GLib-DEBUG: io-channel-basic: ...from 12: IN 836s # GLib-DEBUG: io-channel-basic: ...from 12: 4826 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 12: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+3199 bytes to 9 836s # GLib-DEBUG: io-channel-basic: ...from 8: IN 836s # GLib-DEBUG: io-channel-basic: ...from 8: 3199 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 8: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+1348 bytes to 11 836s # GLib-DEBUG: io-channel-basic: ...from 10: IN 836s # GLib-DEBUG: io-channel-basic: ...from 10: 1348 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 10: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+483 bytes to 15 836s # GLib-DEBUG: io-channel-basic: ...from 14: IN 836s # GLib-DEBUG: io-channel-basic: ...from 14: 483 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 14: OK 836s # # GLib-DEBUG: io-channel-basic: child writing 8+1182 bytes to 17 836s # GLib-DEBUG: io-channel-basic: ...from 16: IN 836s # GLib-DEBUG: io-channel-basic: ...from 16: 1182 bytes 836s # GLib-DEBUG: io-channel-basic: ...from 16: OK 837s # # GLib-DEBUG: io-channel-basic: child writing 8+1403 bytes to 13 837s # GLib-DEBUG: io-channel-basic: ...from 12: IN 837s # GLib-DEBUG: io-channel-basic: ...from 12: 1403 bytes 837s # GLib-DEBUG: io-channel-basic: ...from 12: OK 837s # # GLib-DEBUG: io-channel-basic: child writing 8+3478 bytes to 9 837s # GLib-DEBUG: io-channel-basic: ...from 8: IN 837s # GLib-DEBUG: io-channel-basic: ...from 8: 3478 bytes 837s # GLib-DEBUG: io-channel-basic: ...from 8: OK 837s # # GLib-DEBUG: io-channel-basic: child writing 8+4040 bytes to 17 837s # GLib-DEBUG: io-channel-basic: ...from 16: IN 837s # GLib-DEBUG: io-channel-basic: ...from 16: 4040 bytes 837s # GLib-DEBUG: io-channel-basic: ...from 16: OK 837s # # GLib-DEBUG: io-channel-basic: child writing 8+4720 bytes to 11 837s # GLib-DEBUG: io-channel-basic: ...from 10: IN 837s # GLib-DEBUG: io-channel-basic: ...from 10: 4720 bytes 837s # GLib-DEBUG: io-channel-basic: ...from 10: OK 837s # # GLib-DEBUG: io-channel-basic: child writing 8+1699 bytes to 15 837s # GLib-DEBUG: io-channel-basic: ...from 14: IN 837s # GLib-DEBUG: io-channel-basic: ...from 14: 1699 bytes 837s # GLib-DEBUG: io-channel-basic: ...from 14: OK 837s # # GLib-DEBUG: io-channel-basic: child writing 8+1430 bytes to 13 837s # GLib-DEBUG: io-channel-basic: ...from 12: IN 837s # GLib-DEBUG: io-channel-basic: ...from 12: 1430 bytes 837s # GLib-DEBUG: io-channel-basic: ...from 12: OK 837s # # GLib-DEBUG: io-channel-basic: child writing 8+1779 bytes to 9 837s # GLib-DEBUG: io-channel-basic: ...from 8: IN 837s # GLib-DEBUG: io-channel-basic: ...from 8: 1779 bytes 837s # GLib-DEBUG: io-channel-basic: ...from 8: OK 837s # Executing: glib/io-channel-basic.test 837s # # GLib-DEBUG: io-channel-basic: child writing 8+1474 bytes to 17 837s # GLib-DEBUG: io-channel-basic: ...from 16: IN 837s # GLib-DEBUG: io-channel-basic: ...from 16: 1474 bytes 837s # GLib-DEBUG: io-channel-basic: ...from 16: OK 837s # # GLib-DEBUG: io-channel-basic: child writing 8+986 bytes to 15 837s # GLib-DEBUG: io-channel-basic: ...from 14: IN 837s # GLib-DEBUG: io-channel-basic: ...from 14: 986 bytes 837s # GLib-DEBUG: io-channel-basic: ...from 14: OK 837s # # GLib-DEBUG: io-channel-basic: child writing 8+4342 bytes to 11 837s # GLib-DEBUG: io-channel-basic: ...from 10: IN 837s # GLib-DEBUG: io-channel-basic: ...from 10: 4342 bytes 837s # GLib-DEBUG: io-channel-basic: ...from 10: OK 837s # # GLib-DEBUG: io-channel-basic: child writing 8+357 bytes to 13 837s # GLib-DEBUG: io-channel-basic: ...from 12: IN 837s # GLib-DEBUG: io-channel-basic: ...from 12: 357 bytes 837s # GLib-DEBUG: io-channel-basic: ...from 12: OK 837s # # GLib-DEBUG: io-channel-basic: child writing 8+4148 bytes to 9 837s # GLib-DEBUG: io-channel-basic: ...from 8: IN 837s # GLib-DEBUG: io-channel-basic: ...from 8: 4148 bytes 837s # GLib-DEBUG: io-channel-basic: ...from 8: OK 837s # # GLib-DEBUG: io-channel-basic: child writing 8+3956 bytes to 17 837s # GLib-DEBUG: io-channel-basic: ...from 16: IN 837s # GLib-DEBUG: io-channel-basic: ...from 16: 3956 bytes 837s # GLib-DEBUG: io-channel-basic: ...from 16: OK 837s # # GLib-DEBUG: io-channel-basic: child writing 8+4414 bytes to 15 837s # GLib-DEBUG: io-channel-basic: ...from 14: IN 837s # GLib-DEBUG: io-channel-basic: ...from 14: 4414 bytes 837s # GLib-DEBUG: io-channel-basic: ...from 14: OK 837s # # GLib-DEBUG: io-channel-basic: child writing 8+3943 bytes to 11 837s # GLib-DEBUG: io-channel-basic: ...from 10: IN 837s # GLib-DEBUG: io-channel-basic: ...from 10: 3943 bytes 837s # GLib-DEBUG: io-channel-basic: ...from 10: OK 837s # # GLib-DEBUG: io-channel-basic: child writing 8+4572 bytes to 13 837s # GLib-DEBUG: io-channel-basic: ...from 12: IN 837s # GLib-DEBUG: io-channel-basic: ...from 12: 4572 bytes 837s # GLib-DEBUG: io-channel-basic: ...from 12: OK 837s # # GLib-DEBUG: io-channel-basic: child writing 8+4996 bytes to 9 837s # GLib-DEBUG: io-channel-basic: ...from 8: IN 837s # GLib-DEBUG: io-channel-basic: ...from 8: 4996 bytes 837s # GLib-DEBUG: io-channel-basic: ...from 8: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+3145 bytes to 17 838s # GLib-DEBUG: io-channel-basic: ...from 16: IN 838s # GLib-DEBUG: io-channel-basic: ...from 16: 3145 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 16: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+2124 bytes to 11 838s # GLib-DEBUG: io-channel-basic: ...from 10: IN 838s # GLib-DEBUG: io-channel-basic: ...from 10: 2124 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 10: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+2451 bytes to 15 838s # GLib-DEBUG: io-channel-basic: ...from 14: IN 838s # GLib-DEBUG: io-channel-basic: ...from 14: 2451 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 14: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+1717 bytes to 13 838s # GLib-DEBUG: io-channel-basic: ...from 12: IN 838s # GLib-DEBUG: io-channel-basic: ...from 12: 1717 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 12: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+3702 bytes to 9 838s # GLib-DEBUG: io-channel-basic: ...from 8: IN 838s # GLib-DEBUG: io-channel-basic: ...from 8: 3702 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 8: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+1095 bytes to 17 838s # GLib-DEBUG: io-channel-basic: ...from 16: IN 838s # GLib-DEBUG: io-channel-basic: ...from 16: 1095 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 16: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+4761 bytes to 15 838s # GLib-DEBUG: io-channel-basic: ...from 14: IN 838s # GLib-DEBUG: io-channel-basic: ...from 14: 4761 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 14: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+2350 bytes to 11 838s # GLib-DEBUG: io-channel-basic: ...from 10: IN 838s # GLib-DEBUG: io-channel-basic: ...from 10: 2350 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 10: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+1107 bytes to 13 838s # GLib-DEBUG: io-channel-basic: ...from 12: IN 838s # GLib-DEBUG: io-channel-basic: ...from 12: 1107 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 12: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+2844 bytes to 9 838s # GLib-DEBUG: io-channel-basic: ...from 8: IN 838s # GLib-DEBUG: io-channel-basic: ...from 8: 2844 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 8: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+408 bytes to 17 838s # GLib-DEBUG: io-channel-basic: ...from 16: IN 838s # GLib-DEBUG: io-channel-basic: ...from 16: 408 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 16: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+3969 bytes to 15 838s # GLib-DEBUG: io-channel-basic: ...from 14: IN 838s # GLib-DEBUG: io-channel-basic: ...from 14: 3969 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 14: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+4973 bytes to 11 838s # GLib-DEBUG: io-channel-basic: ...from 10: IN 838s # GLib-DEBUG: io-channel-basic: ...from 10: 4973 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 10: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+2641 bytes to 13 838s # GLib-DEBUG: io-channel-basic: ...from 12: IN 838s # GLib-DEBUG: io-channel-basic: ...from 12: 2641 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 12: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+2303 bytes to 9 838s # GLib-DEBUG: io-channel-basic: ...from 8: IN 838s # GLib-DEBUG: io-channel-basic: ...from 8: 2303 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 8: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+4410 bytes to 17 838s # GLib-DEBUG: io-channel-basic: ...from 16: IN 838s # GLib-DEBUG: io-channel-basic: ...from 16: 4410 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 16: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+2543 bytes to 11 838s # GLib-DEBUG: io-channel-basic: ...from 10: IN 838s # GLib-DEBUG: io-channel-basic: ...from 10: 2543 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 10: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+2238 bytes to 13 838s # GLib-DEBUG: io-channel-basic: ...from 12: IN 838s # GLib-DEBUG: io-channel-basic: ...from 12: 2238 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 12: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+1102 bytes to 15 838s # GLib-DEBUG: io-channel-basic: ...from 14: IN 838s # GLib-DEBUG: io-channel-basic: ...from 14: 1102 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 14: OK 838s # # GLib-DEBUG: io-channel-basic: child writing 8+4297 bytes to 9 838s # GLib-DEBUG: io-channel-basic: ...from 8: IN 838s # GLib-DEBUG: io-channel-basic: ...from 8: 4297 bytes 838s # GLib-DEBUG: io-channel-basic: ...from 8: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+2005 bytes to 11 839s # GLib-DEBUG: io-channel-basic: ...from 10: IN 839s # GLib-DEBUG: io-channel-basic: ...from 10: 2005 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 10: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+551 bytes to 17 839s # GLib-DEBUG: io-channel-basic: ...from 16: IN 839s # GLib-DEBUG: io-channel-basic: ...from 16: 551 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 16: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+1683 bytes to 13 839s # GLib-DEBUG: io-channel-basic: ...from 12: IN 839s # GLib-DEBUG: io-channel-basic: ...from 12: 1683 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 12: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+3197 bytes to 15 839s # GLib-DEBUG: io-channel-basic: ...from 14: IN 839s # GLib-DEBUG: io-channel-basic: ...from 14: 3197 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 14: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+2635 bytes to 9 839s # GLib-DEBUG: io-channel-basic: ...from 8: IN 839s # GLib-DEBUG: io-channel-basic: ...from 8: 2635 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 8: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+1561 bytes to 17 839s # GLib-DEBUG: io-channel-basic: ...from 16: IN 839s # GLib-DEBUG: io-channel-basic: ...from 16: 1561 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 16: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+1075 bytes to 11 839s # GLib-DEBUG: io-channel-basic: ...from 10: IN 839s # GLib-DEBUG: io-channel-basic: ...from 10: 1075 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 10: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+2931 bytes to 15 839s # GLib-DEBUG: io-channel-basic: ...from 14: IN 839s # GLib-DEBUG: io-channel-basic: ...from 14: 2931 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 14: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+605 bytes to 13 839s # GLib-DEBUG: io-channel-basic: ...from 12: IN 839s # GLib-DEBUG: io-channel-basic: ...from 12: 605 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 12: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+611 bytes to 9 839s # GLib-DEBUG: io-channel-basic: ...from 8: IN 839s # GLib-DEBUG: io-channel-basic: ...from 8: 611 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 8: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+4192 bytes to 17 839s # GLib-DEBUG: io-channel-basic: ...from 16: IN 839s # GLib-DEBUG: io-channel-basic: ...from 16: 4192 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 16: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+4834 bytes to 11 839s # GLib-DEBUG: io-channel-basic: ...from 10: IN 839s # GLib-DEBUG: io-channel-basic: ...from 10: 4834 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 10: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+3845 bytes to 15 839s # GLib-DEBUG: io-channel-basic: ...from 14: IN 839s # GLib-DEBUG: io-channel-basic: ...from 14: 3845 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 14: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+1623 bytes to 13 839s # GLib-DEBUG: io-channel-basic: ...from 12: IN 839s # GLib-DEBUG: io-channel-basic: ...from 12: 1623 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 12: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+4659 bytes to 9 839s # GLib-DEBUG: io-channel-basic: ...from 8: IN 839s # GLib-DEBUG: io-channel-basic: ...from 8: 4659 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 8: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+515 bytes to 11 839s # GLib-DEBUG: io-channel-basic: ...from 10: IN 839s # GLib-DEBUG: io-channel-basic: ...from 10: 515 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 10: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+1255 bytes to 17 839s # GLib-DEBUG: io-channel-basic: ...from 16: IN 839s # GLib-DEBUG: io-channel-basic: ...from 16: 1255 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 16: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+715 bytes to 15 839s # GLib-DEBUG: io-channel-basic: ...from 14: IN 839s # GLib-DEBUG: io-channel-basic: ...from 14: 715 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 14: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+1706 bytes to 13 839s # GLib-DEBUG: io-channel-basic: ...from 12: IN 839s # GLib-DEBUG: io-channel-basic: ...from 12: 1706 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 12: OK 839s # # GLib-DEBUG: io-channel-basic: child writing 8+369 bytes to 9 839s # GLib-DEBUG: io-channel-basic: ...from 8: IN 839s # GLib-DEBUG: io-channel-basic: ...from 8: 369 bytes 839s # GLib-DEBUG: io-channel-basic: ...from 8: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+2791 bytes to 17 840s # GLib-DEBUG: io-channel-basic: ...from 16: IN 840s # GLib-DEBUG: io-channel-basic: ...from 16: 2791 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 16: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+3086 bytes to 15 840s # GLib-DEBUG: io-channel-basic: ...from 14: IN 840s # GLib-DEBUG: io-channel-basic: ...from 14: 3086 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 14: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+2593 bytes to 11 840s # GLib-DEBUG: io-channel-basic: ...from 10: IN 840s # GLib-DEBUG: io-channel-basic: ...from 10: 2593 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 10: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+2421 bytes to 13 840s # # GLib-DEBUG: io-channel-basic: child exiting, closing 13 840s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 840s # GLib-DEBUG: io-channel-basic: ...from 12: 2421 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 12: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+1402 bytes to 9 840s # GLib-DEBUG: io-channel-basic: ...from 8: IN 840s # GLib-DEBUG: io-channel-basic: ...from 8: 1402 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 8: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+1344 bytes to 17 840s # # GLib-DEBUG: io-channel-basic: child exiting, closing 17 840s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 840s # GLib-DEBUG: io-channel-basic: ...from 16: 1344 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 16: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+2688 bytes to 15 840s # GLib-DEBUG: io-channel-basic: ...from 14: IN 840s # GLib-DEBUG: io-channel-basic: ...from 14: 2688 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 14: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+4012 bytes to 11 840s # # GLib-DEBUG: io-channel-basic: child exiting, closing 11 840s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 840s # GLib-DEBUG: io-channel-basic: ...from 10: 4012 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 10: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+2152 bytes to 9 840s # GLib-DEBUG: io-channel-basic: ...from 8: IN 840s # GLib-DEBUG: io-channel-basic: ...from 8: 2152 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 8: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+4355 bytes to 15 840s # # GLib-DEBUG: io-channel-basic: child exiting, closing 15 840s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 840s # GLib-DEBUG: io-channel-basic: ...from 14: 4355 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 14: OK 840s # # GLib-DEBUG: io-channel-basic: child writing 8+4094 bytes to 9 840s # # GLib-DEBUG: io-channel-basic: child exiting, closing 9 840s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 840s # GLib-DEBUG: io-channel-basic: ...from 8: 4094 bytes 840s # GLib-DEBUG: io-channel-basic: ...from 8: OK 840s ok 1 /gio/io-basics 840s # slow test /gio/io-basics executed in 12.89 secs 840s # End of gio tests 840s ok - glib/io-channel-basic.test 840s # Running test: glib/checksum.test 840s TAP version 13 840s # random seed: R02S71b66f8955bf78a2c3d3acc2e88b32a2 840s 1..1851 840s # Start of checksum tests 840s ok 1 /checksum/unsupported 840s # Start of MD5 tests 840s ok 2 /checksum/MD5/0 840s ok 3 /checksum/MD5/1 840s ok 4 /checksum/MD5/2 840s ok 5 /checksum/MD5/3 840s ok 6 /checksum/MD5/4 840s ok 7 /checksum/MD5/5 840s ok 8 /checksum/MD5/6 840s ok 9 /checksum/MD5/7 840s ok 10 /checksum/MD5/8 840s ok 11 /checksum/MD5/9 840s ok 12 /checksum/MD5/10 840s ok 13 /checksum/MD5/11 840s ok 14 /checksum/MD5/12 840s ok 15 /checksum/MD5/13 840s ok 16 /checksum/MD5/14 840s ok 17 /checksum/MD5/15 840s ok 18 /checksum/MD5/16 840s ok 19 /checksum/MD5/17 840s ok 20 /checksum/MD5/18 840s ok 21 /checksum/MD5/19 840s ok 22 /checksum/MD5/20 840s ok 23 /checksum/MD5/21 840s ok 24 /checksum/MD5/22 840s ok 25 /checksum/MD5/23 840s ok 26 /checksum/MD5/24 840s ok 27 /checksum/MD5/25 840s ok 28 /checksum/MD5/26 840s ok 29 /checksum/MD5/27 840s ok 30 /checksum/MD5/28 840s ok 31 /checksum/MD5/29 840s ok 32 /checksum/MD5/30 840s ok 33 /checksum/MD5/31 840s ok 34 /checksum/MD5/32 840s ok 35 /checksum/MD5/33 840s ok 36 /checksum/MD5/34 840s ok 37 /checksum/MD5/35 840s ok 38 /checksum/MD5/36 840s ok 39 /checksum/MD5/37 840s ok 40 /checksum/MD5/38 840s ok 41 /checksum/MD5/39 840s ok 42 /checksum/MD5/40 840s ok 43 /checksum/MD5/41 840s ok 44 /checksum/MD5/42 840s ok 45 /checksum/MD5/43 840s ok 46 /checksum/MD5/44 840s ok 47 /checksum/MD5/45 840s ok 48 /checksum/MD5/46 840s ok 49 /checksum/MD5/47 840s ok 50 /checksum/MD5/48 840s ok 51 /checksum/MD5/49 840s ok 52 /checksum/MD5/50 840s ok 53 /checksum/MD5/51 840s ok 54 /checksum/MD5/52 840s ok 55 /checksum/MD5/53 840s ok 56 /checksum/MD5/54 840s ok 57 /checksum/MD5/55 840s ok 58 /checksum/MD5/56 840s ok 59 /checksum/MD5/57 840s ok 60 /checksum/MD5/58 840s ok 61 /checksum/MD5/59 840s ok 62 /checksum/MD5/60 840s ok 63 /checksum/MD5/61 840s ok 64 /checksum/MD5/62 840s ok 65 /checksum/MD5/63 840s ok 66 /checksum/MD5/64 840s ok 67 /checksum/MD5/65 840s ok 68 /checksum/MD5/66 840s ok 69 /checksum/MD5/67 840s ok 70 /checksum/MD5/68 840s ok 71 /checksum/MD5/69 840s ok 72 /checksum/MD5/70 840s ok 73 /checksum/MD5/71 840s ok 74 /checksum/MD5/72 840s ok 75 /checksum/MD5/73 840s ok 76 /checksum/MD5/74 840s ok 77 /checksum/MD5/75 840s ok 78 /checksum/MD5/76 840s ok 79 /checksum/MD5/77 840s ok 80 /checksum/MD5/78 840s ok 81 /checksum/MD5/79 840s ok 82 /checksum/MD5/80 840s ok 83 /checksum/MD5/81 840s ok 84 /checksum/MD5/82 840s ok 85 /checksum/MD5/83 840s ok 86 /checksum/MD5/84 840s ok 87 /checksum/MD5/85 840s ok 88 /checksum/MD5/86 840s ok 89 /checksum/MD5/87 840s ok 90 /checksum/MD5/88 840s ok 91 /checksum/MD5/89 840s ok 92 /checksum/MD5/90 840s ok 93 /checksum/MD5/91 840s ok 94 /checksum/MD5/92 840s ok 95 /checksum/MD5/93 840s ok 96 /checksum/MD5/94 840s ok 97 /checksum/MD5/95 840s ok 98 /checksum/MD5/96 840s ok 99 /checksum/MD5/97 840s ok 100 /checksum/MD5/98 840s ok 101 /checksum/MD5/99 840s ok 102 /checksum/MD5/100 840s ok 103 /checksum/MD5/101 840s ok 104 /checksum/MD5/102 840s ok 105 /checksum/MD5/103 840s ok 106 /checksum/MD5/104 840s ok 107 /checksum/MD5/105 840s ok 108 /checksum/MD5/106 840s ok 109 /checksum/MD5/107 840s ok 110 /checksum/MD5/108 840s ok 111 /checksum/MD5/109 840s ok 112 /checksum/MD5/110 840s ok 113 /checksum/MD5/111 840s ok 114 /checksum/MD5/112 840s ok 115 /checksum/MD5/113 840s ok 116 /checksum/MD5/114 840s ok 117 /checksum/MD5/115 840s ok 118 /checksum/MD5/116 840s ok 119 /checksum/MD5/117 840s ok 120 /checksum/MD5/118 840s ok 121 /checksum/MD5/119 840s ok 122 /checksum/MD5/120 840s ok 123 /checksum/MD5/121 840s ok 124 /checksum/MD5/122 840s ok 125 /checksum/MD5/123 840s ok 126 /checksum/MD5/124 840s ok 127 /checksum/MD5/125 840s ok 128 /checksum/MD5/126 840s ok 129 /checksum/MD5/127 840s ok 130 /checksum/MD5/128 840s ok 131 /checksum/MD5/129 840s ok 132 /checksum/MD5/130 840s ok 133 /checksum/MD5/131 840s ok 134 /checksum/MD5/132 840s ok 135 /checksum/MD5/133 840s ok 136 /checksum/MD5/134 840s ok 137 /checksum/MD5/135 840s ok 138 /checksum/MD5/136 840s ok 139 /checksum/MD5/137 840s ok 140 /checksum/MD5/138 840s ok 141 /checksum/MD5/139 840s ok 142 /checksum/MD5/140 840s ok 143 /checksum/MD5/141 840s ok 144 /checksum/MD5/142 840s ok 145 /checksum/MD5/143 840s ok 146 /checksum/MD5/144 840s ok 147 /checksum/MD5/145 840s ok 148 /checksum/MD5/146 840s ok 149 /checksum/MD5/147 840s ok 150 /checksum/MD5/148 840s ok 151 /checksum/MD5/149 840s ok 152 /checksum/MD5/150 840s ok 153 /checksum/MD5/151 840s ok 154 /checksum/MD5/152 840s ok 155 /checksum/MD5/153 840s ok 156 /checksum/MD5/154 840s ok 157 /checksum/MD5/155 840s ok 158 /checksum/MD5/156 840s ok 159 /checksum/MD5/157 840s ok 160 /checksum/MD5/158 840s ok 161 /checksum/MD5/159 840s ok 162 /checksum/MD5/160 840s ok 163 /checksum/MD5/161 840s ok 164 /checksum/MD5/162 840s ok 165 /checksum/MD5/163 840s ok 166 /checksum/MD5/164 840s ok 167 /checksum/MD5/165 840s ok 168 /checksum/MD5/166 840s ok 169 /checksum/MD5/167 840s ok 170 /checksum/MD5/168 840s ok 171 /checksum/MD5/169 840s ok 172 /checksum/MD5/170 840s ok 173 /checksum/MD5/171 840s ok 174 /checksum/MD5/172 840s ok 175 /checksum/MD5/173 840s ok 176 /checksum/MD5/174 840s ok 177 /checksum/MD5/175 840s ok 178 /checksum/MD5/176 840s ok 179 /checksum/MD5/177 840s ok 180 /checksum/MD5/178 840s ok 181 /checksum/MD5/179 840s ok 182 /checksum/MD5/180 840s ok 183 /checksum/MD5/181 840s ok 184 /checksum/MD5/182 840s ok 185 /checksum/MD5/183 840s ok 186 /checksum/MD5/string 840s ok 187 /checksum/MD5/bytes 840s # Start of reset tests 840s ok 188 /checksum/MD5/reset/0 840s ok 189 /checksum/MD5/reset/1 840s ok 190 /checksum/MD5/reset/2 840s ok 191 /checksum/MD5/reset/3 840s ok 192 /checksum/MD5/reset/4 840s ok 193 /checksum/MD5/reset/5 840s ok 194 /checksum/MD5/reset/6 840s ok 195 /checksum/MD5/reset/7 840s ok 196 /checksum/MD5/reset/8 840s ok 197 /checksum/MD5/reset/9 840s ok 198 /checksum/MD5/reset/10 840s ok 199 /checksum/MD5/reset/11 840s ok 200 /checksum/MD5/reset/12 840s ok 201 /checksum/MD5/reset/13 840s ok 202 /checksum/MD5/reset/14 840s ok 203 /checksum/MD5/reset/15 840s ok 204 /checksum/MD5/reset/16 840s ok 205 /checksum/MD5/reset/17 840s ok 206 /checksum/MD5/reset/18 840s ok 207 /checksum/MD5/reset/19 840s ok 208 /checksum/MD5/reset/20 840s ok 209 /checksum/MD5/reset/21 840s ok 210 /checksum/MD5/reset/22 840s ok 211 /checksum/MD5/reset/23 840s ok 212 /checksum/MD5/reset/24 840s ok 213 /checksum/MD5/reset/25 840s ok 214 /checksum/MD5/reset/26 840s ok 215 /checksum/MD5/reset/27 840s ok 216 /checksum/MD5/reset/28 840s ok 217 /checksum/MD5/reset/29 840s ok 218 /checksum/MD5/reset/30 840s ok 219 /checksum/MD5/reset/31 840s ok 220 /checksum/MD5/reset/32 840s ok 221 /checksum/MD5/reset/33 840s ok 222 /checksum/MD5/reset/34 840s ok 223 /checksum/MD5/reset/35 840s ok 224 /checksum/MD5/reset/36 840s ok 225 /checksum/MD5/reset/37 840s ok 226 /checksum/MD5/reset/38 840s ok 227 /checksum/MD5/reset/39 840s ok 228 /checksum/MD5/reset/40 840s ok 229 /checksum/MD5/reset/41 840s ok 230 /checksum/MD5/reset/42 840s ok 231 /checksum/MD5/reset/43 840s ok 232 /checksum/MD5/reset/44 840s ok 233 /checksum/MD5/reset/45 840s ok 234 /checksum/MD5/reset/46 840s ok 235 /checksum/MD5/reset/47 840s ok 236 /checksum/MD5/reset/48 840s ok 237 /checksum/MD5/reset/49 840s ok 238 /checksum/MD5/reset/50 840s ok 239 /checksum/MD5/reset/51 840s ok 240 /checksum/MD5/reset/52 840s ok 241 /checksum/MD5/reset/53 840s ok 242 /checksum/MD5/reset/54 840s ok 243 /checksum/MD5/reset/55 840s ok 244 /checksum/MD5/reset/56 840s ok 245 /checksum/MD5/reset/57 840s ok 246 /checksum/MD5/reset/58 840s ok 247 /checksum/MD5/reset/59 840s ok 248 /checksum/MD5/reset/60 840s ok 249 /checksum/MD5/reset/61 840s ok 250 /checksum/MD5/reset/62 840s ok 251 /checksum/MD5/reset/63 840s ok 252 /checksum/MD5/reset/64 840s ok 253 /checksum/MD5/reset/65 840s ok 254 /checksum/MD5/reset/66 840s ok 255 /checksum/MD5/reset/67 840s ok 256 /checksum/MD5/reset/68 840s ok 257 /checksum/MD5/reset/69 840s ok 258 /checksum/MD5/reset/70 840s ok 259 /checksum/MD5/reset/71 840s ok 260 /checksum/MD5/reset/72 840s ok 261 /checksum/MD5/reset/73 840s ok 262 /checksum/MD5/reset/74 840s ok 263 /checksum/MD5/reset/75 840s ok 264 /checksum/MD5/reset/76 840s ok 265 /checksum/MD5/reset/77 840s ok 266 /checksum/MD5/reset/78 840s ok 267 /checksum/MD5/reset/79 840s ok 268 /checksum/MD5/reset/80 840s ok 269 /checksum/MD5/reset/81 840s ok 270 /checksum/MD5/reset/82 840s ok 271 /checksum/MD5/reset/83 840s ok 272 /checksum/MD5/reset/84 840s ok 273 /checksum/MD5/reset/85 840s ok 274 /checksum/MD5/reset/86 840s ok 275 /checksum/MD5/reset/87 840s ok 276 /checksum/MD5/reset/88 840s ok 277 /checksum/MD5/reset/89 840s ok 278 /checksum/MD5/reset/90 840s ok 279 /checksum/MD5/reset/91 840s ok 280 /checksum/MD5/reset/92 840s ok 281 /checksum/MD5/reset/93 840s ok 282 /checksum/MD5/reset/94 840s ok 283 /checksum/MD5/reset/95 840s ok 284 /checksum/MD5/reset/96 840s ok 285 /checksum/MD5/reset/97 840s ok 286 /checksum/MD5/reset/98 840s ok 287 /checksum/MD5/reset/99 840s ok 288 /checksum/MD5/reset/100 840s ok 289 /checksum/MD5/reset/101 840s ok 290 /checksum/MD5/reset/102 840s ok 291 /checksum/MD5/reset/103 840s ok 292 /checksum/MD5/reset/104 840s ok 293 /checksum/MD5/reset/105 840s ok 294 /checksum/MD5/reset/106 840s ok 295 /checksum/MD5/reset/107 840s ok 296 /checksum/MD5/reset/108 840s ok 297 /checksum/MD5/reset/109 840s ok 298 /checksum/MD5/reset/110 840s ok 299 /checksum/MD5/reset/111 840s ok 300 /checksum/MD5/reset/112 840s ok 301 /checksum/MD5/reset/113 840s ok 302 /checksum/MD5/reset/114 840s ok 303 /checksum/MD5/reset/115 840s ok 304 /checksum/MD5/reset/116 840s ok 305 /checksum/MD5/reset/117 840s ok 306 /checksum/MD5/reset/118 840s ok 307 /checksum/MD5/reset/119 840s ok 308 /checksum/MD5/reset/120 840s ok 309 /checksum/MD5/reset/121 840s ok 310 /checksum/MD5/reset/122 840s ok 311 /checksum/MD5/reset/123 840s ok 312 /checksum/MD5/reset/124 840s ok 313 /checksum/MD5/reset/125 840s ok 314 /checksum/MD5/reset/126 840s ok 315 /checksum/MD5/reset/127 840s ok 316 /checksum/MD5/reset/128 840s ok 317 /checksum/MD5/reset/129 840s ok 318 /checksum/MD5/reset/130 840s ok 319 /checksum/MD5/reset/131 840s ok 320 /checksum/MD5/reset/132 840s ok 321 /checksum/MD5/reset/133 840s ok 322 /checksum/MD5/reset/134 840s ok 323 /checksum/MD5/reset/135 840s ok 324 /checksum/MD5/reset/136 840s ok 325 /checksum/MD5/reset/137 840s ok 326 /checksum/MD5/reset/138 840s ok 327 /checksum/MD5/reset/139 840s ok 328 /checksum/MD5/reset/140 840s ok 329 /checksum/MD5/reset/141 840s ok 330 /checksum/MD5/reset/142 840s ok 331 /checksum/MD5/reset/143 840s ok 332 /checksum/MD5/reset/144 840s ok 333 /checksum/MD5/reset/145 840s ok 334 /checksum/MD5/reset/146 840s ok 335 /checksum/MD5/reset/147 840s ok 336 /checksum/MD5/reset/148 840s ok 337 /checksum/MD5/reset/149 840s ok 338 /checksum/MD5/reset/150 840s ok 339 /checksum/MD5/reset/151 840s ok 340 /checksum/MD5/reset/152 840s ok 341 /checksum/MD5/reset/153 840s ok 342 /checksum/MD5/reset/154 840s ok 343 /checksum/MD5/reset/155 840s ok 344 /checksum/MD5/reset/156 840s ok 345 /checksum/MD5/reset/157 840s ok 346 /checksum/MD5/reset/158 840s ok 347 /checksum/MD5/reset/159 840s ok 348 /checksum/MD5/reset/160 840s ok 349 /checksum/MD5/reset/161 840s ok 350 /checksum/MD5/reset/162 840s ok 351 /checksum/MD5/reset/163 840s ok 352 /checksum/MD5/reset/164 840s ok 353 /checksum/MD5/reset/165 840s ok 354 /checksum/MD5/reset/166 840s ok 355 /checksum/MD5/reset/167 840s ok 356 /checksum/MD5/reset/168 840s ok 357 /checksum/MD5/reset/169 840s ok 358 /checksum/MD5/reset/170 840s ok 359 /checksum/MD5/reset/171 840s ok 360 /checksum/MD5/reset/172 840s ok 361 /checksum/MD5/reset/173 840s ok 362 /checksum/MD5/reset/174 840s ok 363 /checksum/MD5/reset/175 840s ok 364 /checksum/MD5/reset/176 840s ok 365 /checksum/MD5/reset/177 840s ok 366 /checksum/MD5/reset/178 840s ok 367 /checksum/MD5/reset/179 840s ok 368 /checksum/MD5/reset/180 840s ok 369 /checksum/MD5/reset/181 840s ok 370 /checksum/MD5/reset/182 840s ok 371 /checksum/MD5/reset/183 840s # End of reset tests 840s # End of MD5 tests 840s # Start of SHA1 tests 840s ok 372 /checksum/SHA1/0 840s ok 373 /checksum/SHA1/1 840s ok 374 /checksum/SHA1/2 840s ok 375 /checksum/SHA1/3 840s ok 376 /checksum/SHA1/4 840s ok 377 /checksum/SHA1/5 840s ok 378 /checksum/SHA1/6 840s ok 379 /checksum/SHA1/7 840s ok 380 /checksum/SHA1/8 840s ok 381 /checksum/SHA1/9 840s ok 382 /checksum/SHA1/10 840s ok 383 /checksum/SHA1/11 840s ok 384 /checksum/SHA1/12 840s ok 385 /checksum/SHA1/13 840s ok 386 /checksum/SHA1/14 840s ok 387 /checksum/SHA1/15 840s ok 388 /checksum/SHA1/16 840s ok 389 /checksum/SHA1/17 840s ok 390 /checksum/SHA1/18 840s ok 391 /checksum/SHA1/19 840s ok 392 /checksum/SHA1/20 840s ok 393 /checksum/SHA1/21 840s ok 394 /checksum/SHA1/22 840s ok 395 /checksum/SHA1/23 840s ok 396 /checksum/SHA1/24 840s ok 397 /checksum/SHA1/25 840s ok 398 /checksum/SHA1/26 840s ok 399 /checksum/SHA1/27 840s ok 400 /checksum/SHA1/28 840s ok 401 /checksum/SHA1/29 840s ok 402 /checksum/SHA1/30 840s ok 403 /checksum/SHA1/31 840s ok 404 /checksum/SHA1/32 840s ok 405 /checksum/SHA1/33 840s ok 406 /checksum/SHA1/34 840s ok 407 /checksum/SHA1/35 840s ok 408 /checksum/SHA1/36 840s ok 409 /checksum/SHA1/37 840s ok 410 /checksum/SHA1/38 840s ok 411 /checksum/SHA1/39 840s ok 412 /checksum/SHA1/40 840s ok 413 /checksum/SHA1/41 840s ok 414 /checksum/SHA1/42 840s ok 415 /checksum/SHA1/43 840s ok 416 /checksum/SHA1/44 840s ok 417 /checksum/SHA1/45 840s ok 418 /checksum/SHA1/46 840s ok 419 /checksum/SHA1/47 840s ok 420 /checksum/SHA1/48 840s ok 421 /checksum/SHA1/49 840s ok 422 /checksum/SHA1/50 840s ok 423 /checksum/SHA1/51 840s ok 424 /checksum/SHA1/52 840s ok 425 /checksum/SHA1/53 840s ok 426 /checksum/SHA1/54 840s ok 427 /checksum/SHA1/55 840s ok 428 /checksum/SHA1/56 840s ok 429 /checksum/SHA1/57 840s ok 430 /checksum/SHA1/58 840s ok 431 /checksum/SHA1/59 840s ok 432 /checksum/SHA1/60 840s ok 433 /checksum/SHA1/61 840s ok 434 /checksum/SHA1/62 840s ok 435 /checksum/SHA1/63 840s ok 436 /checksum/SHA1/64 840s ok 437 /checksum/SHA1/65 840s ok 438 /checksum/SHA1/66 840s ok 439 /checksum/SHA1/67 840s ok 440 /checksum/SHA1/68 840s ok 441 /checksum/SHA1/69 840s ok 442 /checksum/SHA1/70 840s ok 443 /checksum/SHA1/71 840s ok 444 /checksum/SHA1/72 840s ok 445 /checksum/SHA1/73 840s ok 446 /checksum/SHA1/74 840s ok 447 /checksum/SHA1/75 840s ok 448 /checksum/SHA1/76 840s ok 449 /checksum/SHA1/77 840s ok 450 /checksum/SHA1/78 840s ok 451 /checksum/SHA1/79 840s ok 452 /checksum/SHA1/80 840s ok 453 /checksum/SHA1/81 840s ok 454 /checksum/SHA1/82 840s ok 455 /checksum/SHA1/83 840s ok 456 /checksum/SHA1/84 840s ok 457 /checksum/SHA1/85 840s ok 458 /checksum/SHA1/86 840s ok 459 /checksum/SHA1/87 840s ok 460 /checksum/SHA1/88 840s ok 461 /checksum/SHA1/89 840s ok 462 /checksum/SHA1/90 840s ok 463 /checksum/SHA1/91 840s ok 464 /checksum/SHA1/92 840s ok 465 /checksum/SHA1/93 840s ok 466 /checksum/SHA1/94 840s ok 467 /checksum/SHA1/95 840s ok 468 /checksum/SHA1/96 840s ok 469 /checksum/SHA1/97 840s ok 470 /checksum/SHA1/98 840s ok 471 /checksum/SHA1/99 840s ok 472 /checksum/SHA1/100 840s ok 473 /checksum/SHA1/101 840s ok 474 /checksum/SHA1/102 840s ok 475 /checksum/SHA1/103 840s ok 476 /checksum/SHA1/104 840s ok 477 /checksum/SHA1/105 840s ok 478 /checksum/SHA1/106 840s ok 479 /checksum/SHA1/107 840s ok 480 /checksum/SHA1/108 840s ok 481 /checksum/SHA1/109 840s ok 482 /checksum/SHA1/110 840s ok 483 /checksum/SHA1/111 840s ok 484 /checksum/SHA1/112 840s ok 485 /checksum/SHA1/113 840s ok 486 /checksum/SHA1/114 840s ok 487 /checksum/SHA1/115 840s ok 488 /checksum/SHA1/116 840s ok 489 /checksum/SHA1/117 840s ok 490 /checksum/SHA1/118 840s ok 491 /checksum/SHA1/119 840s ok 492 /checksum/SHA1/120 840s ok 493 /checksum/SHA1/121 840s ok 494 /checksum/SHA1/122 840s ok 495 /checksum/SHA1/123 840s ok 496 /checksum/SHA1/124 840s ok 497 /checksum/SHA1/125 840s ok 498 /checksum/SHA1/126 840s ok 499 /checksum/SHA1/127 840s ok 500 /checksum/SHA1/128 840s ok 501 /checksum/SHA1/129 840s ok 502 /checksum/SHA1/130 840s ok 503 /checksum/SHA1/131 840s ok 504 /checksum/SHA1/132 840s ok 505 /checksum/SHA1/133 840s ok 506 /checksum/SHA1/134 840s ok 507 /checksum/SHA1/135 840s ok 508 /checksum/SHA1/136 840s ok 509 /checksum/SHA1/137 840s ok 510 /checksum/SHA1/138 840s ok 511 /checksum/SHA1/139 840s ok 512 /checksum/SHA1/140 840s ok 513 /checksum/SHA1/141 840s ok 514 /checksum/SHA1/142 840s ok 515 /checksum/SHA1/143 840s ok 516 /checksum/SHA1/144 840s ok 517 /checksum/SHA1/145 840s ok 518 /checksum/SHA1/146 840s ok 519 /checksum/SHA1/147 840s ok 520 /checksum/SHA1/148 840s ok 521 /checksum/SHA1/149 840s ok 522 /checksum/SHA1/150 840s ok 523 /checksum/SHA1/151 840s ok 524 /checksum/SHA1/152 840s ok 525 /checksum/SHA1/153 840s ok 526 /checksum/SHA1/154 840s ok 527 /checksum/SHA1/155 840s ok 528 /checksum/SHA1/156 840s ok 529 /checksum/SHA1/157 840s ok 530 /checksum/SHA1/158 840s ok 531 /checksum/SHA1/159 840s ok 532 /checksum/SHA1/160 840s ok 533 /checksum/SHA1/161 840s ok 534 /checksum/SHA1/162 840s ok 535 /checksum/SHA1/163 840s ok 536 /checksum/SHA1/164 840s ok 537 /checksum/SHA1/165 840s ok 538 /checksum/SHA1/166 840s ok 539 /checksum/SHA1/167 840s ok 540 /checksum/SHA1/168 840s ok 541 /checksum/SHA1/169 840s ok 542 /checksum/SHA1/170 840s ok 543 /checksum/SHA1/171 840s ok 544 /checksum/SHA1/172 840s ok 545 /checksum/SHA1/173 840s ok 546 /checksum/SHA1/174 840s ok 547 /checksum/SHA1/175 840s ok 548 /checksum/SHA1/176 840s ok 549 /checksum/SHA1/177 840s ok 550 /checksum/SHA1/178 840s ok 551 /checksum/SHA1/179 840s ok 552 /checksum/SHA1/180 840s ok 553 /checksum/SHA1/181 840s ok 554 /checksum/SHA1/182 840s ok 555 /checksum/SHA1/183 840s ok 556 /checksum/SHA1/string 840s ok 557 /checksum/SHA1/bytes 840s # Start of reset tests 840s ok 558 /checksum/SHA1/reset/0 840s ok 559 /checksum/SHA1/reset/1 840s ok 560 /checksum/SHA1/reset/2 840s ok 561 /checksum/SHA1/reset/3 840s ok 562 /checksum/SHA1/reset/4 840s ok 563 /checksum/SHA1/reset/5 840s ok 564 /checksum/SHA1/reset/6 840s ok 565 /checksum/SHA1/reset/7 840s ok 566 /checksum/SHA1/reset/8 840s ok 567 /checksum/SHA1/reset/9 840s ok 568 /checksum/SHA1/reset/10 840s ok 569 /checksum/SHA1/reset/11 840s ok 570 /checksum/SHA1/reset/12 840s ok 571 /checksum/SHA1/reset/13 840s ok 572 /checksum/SHA1/reset/14 840s ok 573 /checksum/SHA1/reset/15 840s ok 574 /checksum/SHA1/reset/16 840s ok 575 /checksum/SHA1/reset/17 840s ok 576 /checksum/SHA1/reset/18 840s ok 577 /checksum/SHA1/reset/19 840s ok 578 /checksum/SHA1/reset/20 840s ok 579 /checksum/SHA1/reset/21 840s ok 580 /checksum/SHA1/reset/22 840s ok 581 /checksum/SHA1/reset/23 840s ok 582 /checksum/SHA1/reset/24 840s ok 583 /checksum/SHA1/reset/25 840s ok 584 /checksum/SHA1/reset/26 840s ok 585 /checksum/SHA1/reset/27 840s ok 586 /checksum/SHA1/reset/28 840s ok 587 /checksum/SHA1/reset/29 840s ok 588 /checksum/SHA1/reset/30 840s ok 589 /checksum/SHA1/reset/31 840s ok 590 /checksum/SHA1/reset/32 840s ok 591 /checksum/SHA1/reset/33 840s ok 592 /checksum/SHA1/reset/34 840s ok 593 /checksum/SHA1/reset/35 840s ok 594 /checksum/SHA1/reset/36 840s ok 595 /checksum/SHA1/reset/37 840s ok 596 /checksum/SHA1/reset/38 840s ok 597 /checksum/SHA1/reset/39 840s ok 598 /checksum/SHA1/reset/40 840s ok 599 /checksum/SHA1/reset/41 840s ok 600 /checksum/SHA1/reset/42 840s ok 601 /checksum/SHA1/reset/43 840s ok 602 /checksum/SHA1/reset/44 840s ok 603 /checksum/SHA1/reset/45 840s ok 604 /checksum/SHA1/reset/46 840s ok 605 /checksum/SHA1/reset/47 840s ok 606 /checksum/SHA1/reset/48 840s ok 607 /checksum/SHA1/reset/49 840s ok 608 /checksum/SHA1/reset/50 840s ok 609 /checksum/SHA1/reset/51 840s ok 610 /checksum/SHA1/reset/52 840s ok 611 /checksum/SHA1/reset/53 840s ok 612 /checksum/SHA1/reset/54 840s ok 613 /checksum/SHA1/reset/55 840s ok 614 /checksum/SHA1/reset/56 840s ok 615 /checksum/SHA1/reset/57 840s ok 616 /checksum/SHA1/reset/58 840s ok 617 /checksum/SHA1/reset/59 840s ok 618 /checksum/SHA1/reset/60 840s ok 619 /checksum/SHA1/reset/61 840s ok 620 /checksum/SHA1/reset/62 840s ok 621 /checksum/SHA1/reset/63 840s ok 622 /checksum/SHA1/reset/64 840s ok 623 /checksum/SHA1/reset/65 840s ok 624 /checksum/SHA1/reset/66 840s ok 625 /checksum/SHA1/reset/67 840s ok 626 /checksum/SHA1/reset/68 840s ok 627 /checksum/SHA1/reset/69 840s ok 628 /checksum/SHA1/reset/70 840s ok 629 /checksum/SHA1/reset/71 840s ok 630 /checksum/SHA1/reset/72 840s ok 631 /checksum/SHA1/reset/73 840s ok 632 /checksum/SHA1/reset/74 840s ok 633 /checksum/SHA1/reset/75 840s ok 634 /checksum/SHA1/reset/76 840s ok 635 /checksum/SHA1/reset/77 840s ok 636 /checksum/SHA1/reset/78 840s ok 637 /checksum/SHA1/reset/79 840s ok 638 /checksum/SHA1/reset/80 840s ok 639 /checksum/SHA1/reset/81 840s ok 640 /checksum/SHA1/reset/82 840s ok 641 /checksum/SHA1/reset/83 840s ok 642 /checksum/SHA1/reset/84 840s ok 643 /checksum/SHA1/reset/85 840s ok 644 /checksum/SHA1/reset/86 840s ok 645 /checksum/SHA1/reset/87 840s ok 646 /checksum/SHA1/reset/88 840s ok 647 /checksum/SHA1/reset/89 840s ok 648 /checksum/SHA1/reset/90 840s ok 649 /checksum/SHA1/reset/91 840s ok 650 /checksum/SHA1/reset/92 840s ok 651 /checksum/SHA1/reset/93 840s ok 652 /checksum/SHA1/reset/94 840s ok 653 /checksum/SHA1/reset/95 840s ok 654 /checksum/SHA1/reset/96 840s ok 655 /checksum/SHA1/reset/97 840s ok 656 /checksum/SHA1/reset/98 840s ok 657 /checksum/SHA1/reset/99 840s ok 658 /checksum/SHA1/reset/100 840s ok 659 /checksum/SHA1/reset/101 840s ok 660 /checksum/SHA1/reset/102 840s ok 661 /checksum/SHA1/reset/103 840s ok 662 /checksum/SHA1/reset/104 840s ok 663 /checksum/SHA1/reset/105 840s ok 664 /checksum/SHA1/reset/106 840s ok 665 /checksum/SHA1/reset/107 840s ok 666 /checksum/SHA1/reset/108 840s ok 667 /checksum/SHA1/reset/109 840s ok 668 /checksum/SHA1/reset/110 840s ok 669 /checksum/SHA1/reset/111 840s ok 670 /checksum/SHA1/reset/112 840s ok 671 /checksum/SHA1/reset/113 840s ok 672 /checksum/SHA1/reset/114 840s ok 673 /checksum/SHA1/reset/115 840s ok 674 /checksum/SHA1/reset/116 840s ok 675 /checksum/SHA1/reset/117 840s ok 676 /checksum/SHA1/reset/118 840s ok 677 /checksum/SHA1/reset/119 840s ok 678 /checksum/SHA1/reset/120 840s ok 679 /checksum/SHA1/reset/121 840s ok 680 /checksum/SHA1/reset/122 840s ok 681 /checksum/SHA1/reset/123 840s ok 682 /checksum/SHA1/reset/124 840s ok 683 /checksum/SHA1/reset/125 840s ok 684 /checksum/SHA1/reset/126 840s ok 685 /checksum/SHA1/reset/127 840s ok 686 /checksum/SHA1/reset/128 840s ok 687 /checksum/SHA1/reset/129 840s ok 688 /checksum/SHA1/reset/130 840s ok 689 /checksum/SHA1/reset/131 840s ok 690 /checksum/SHA1/reset/132 840s ok 691 /checksum/SHA1/reset/133 840s ok 692 /checksum/SHA1/reset/134 840s ok 693 /checksum/SHA1/reset/135 840s ok 694 /checksum/SHA1/reset/136 840s ok 695 /checksum/SHA1/reset/137 840s ok 696 /checksum/SHA1/reset/138 840s ok 697 /checksum/SHA1/reset/139 840s ok 698 /checksum/SHA1/reset/140 840s ok 699 /checksum/SHA1/reset/141 840s ok 700 /checksum/SHA1/reset/142 840s ok 701 /checksum/SHA1/reset/143 840s ok 702 /checksum/SHA1/reset/144 840s ok 703 /checksum/SHA1/reset/145 840s ok 704 /checksum/SHA1/reset/146 840s ok 705 /checksum/SHA1/reset/147 840s ok 706 /checksum/SHA1/reset/148 840s ok 707 /checksum/SHA1/reset/149 840s ok 708 /checksum/SHA1/reset/150 840s ok 709 /checksum/SHA1/reset/151 840s ok 710 /checksum/SHA1/reset/152 840s ok 711 /checksum/SHA1/reset/153 840s ok 712 /checksum/SHA1/reset/154 840s ok 713 /checksum/SHA1/reset/155 840s ok 714 /checksum/SHA1/reset/156 840s ok 715 /checksum/SHA1/reset/157 840s ok 716 /checksum/SHA1/reset/158 840s ok 717 /checksum/SHA1/reset/159 840s ok 718 /checksum/SHA1/reset/160 840s ok 719 /checksum/SHA1/reset/161 840s ok 720 /checksum/SHA1/reset/162 840s ok 721 /checksum/SHA1/reset/163 840s ok 722 /checksum/SHA1/reset/164 840s ok 723 /checksum/SHA1/reset/165 840s ok 724 /checksum/SHA1/reset/166 840s ok 725 /checksum/SHA1/reset/167 840s ok 726 /checksum/SHA1/reset/168 840s ok 727 /checksum/SHA1/reset/169 840s ok 728 /checksum/SHA1/reset/170 840s ok 729 /checksum/SHA1/reset/171 840s ok 730 /checksum/SHA1/reset/172 840s ok 731 /checksum/SHA1/reset/173 840s ok 732 /checksum/SHA1/reset/174 840s ok 733 /checksum/SHA1/reset/175 840s ok 734 /checksum/SHA1/reset/176 840s ok 735 /checksum/SHA1/reset/177 840s ok 736 /checksum/SHA1/reset/178 840s ok 737 /checksum/SHA1/reset/179 840s ok 738 /checksum/SHA1/reset/180 840s ok 739 /checksum/SHA1/reset/181 840s ok 740 /checksum/SHA1/reset/182 840s ok 741 /checksum/SHA1/reset/183 840s # End of reset tests 840s # End of SHA1 tests 840s # Start of SHA256 tests 840s ok 742 /checksum/SHA256/0 840s ok 743 /checksum/SHA256/1 840s ok 744 /checksum/SHA256/2 840s ok 745 /checksum/SHA256/3 840s ok 746 /checksum/SHA256/4 840s ok 747 /checksum/SHA256/5 840s ok 748 /checksum/SHA256/6 840s ok 749 /checksum/SHA256/7 840s ok 750 /checksum/SHA256/8 840s ok 751 /checksum/SHA256/9 840s ok 752 /checksum/SHA256/10 840s ok 753 /checksum/SHA256/11 840s ok 754 /checksum/SHA256/12 840s ok 755 /checksum/SHA256/13 840s ok 756 /checksum/SHA256/14 840s ok 757 /checksum/SHA256/15 840s ok 758 /checksum/SHA256/16 840s ok 759 /checksum/SHA256/17 840s ok 760 /checksum/SHA256/18 840s ok 761 /checksum/SHA256/19 840s ok 762 /checksum/SHA256/20 840s ok 763 /checksum/SHA256/21 840s ok 764 /checksum/SHA256/22 840s ok 765 /checksum/SHA256/23 840s ok 766 /checksum/SHA256/24 840s ok 767 /checksum/SHA256/25 840s ok 768 /checksum/SHA256/26 840s ok 769 /checksum/SHA256/27 840s ok 770 /checksum/SHA256/28 840s ok 771 /checksum/SHA256/29 840s ok 772 /checksum/SHA256/30 840s ok 773 /checksum/SHA256/31 840s ok 774 /checksum/SHA256/32 840s ok 775 /checksum/SHA256/33 840s ok 776 /checksum/SHA256/34 840s ok 777 /checksum/SHA256/35 840s ok 778 /checksum/SHA256/36 840s ok 779 /checksum/SHA256/37 840s ok 780 /checksum/SHA256/38 840s ok 781 /checksum/SHA256/39 840s ok 782 /checksum/SHA256/40 840s ok 783 /checksum/SHA256/41 840s ok 784 /checksum/SHA256/42 840s ok 785 /checksum/SHA256/43 840s ok 786 /checksum/SHA256/44 840s ok 787 /checksum/SHA256/45 840s ok 788 /checksum/SHA256/46 840s ok 789 /checksum/SHA256/47 840s ok 790 /checksum/SHA256/48 840s ok 791 /checksum/SHA256/49 840s ok 792 /checksum/SHA256/50 840s ok 793 /checksum/SHA256/51 840s ok 794 /checksum/SHA256/52 840s ok 795 /checksum/SHA256/53 840s ok 796 /checksum/SHA256/54 840s ok 797 /checksum/SHA256/55 840s ok 798 /checksum/SHA256/56 840s ok 799 /checksum/SHA256/57 840s ok 800 /checksum/SHA256/58 840s ok 801 /checksum/SHA256/59 840s ok 802 /checksum/SHA256/60 840s ok 803 /checksum/SHA256/61 840s ok 804 /checksum/SHA256/62 840s ok 805 /checksum/SHA256/63 840s ok 806 /checksum/SHA256/64 840s ok 807 /checksum/SHA256/65 840s ok 808 /checksum/SHA256/66 840s ok 809 /checksum/SHA256/67 840s ok 810 /checksum/SHA256/68 840s ok 811 /checksum/SHA256/69 840s ok 812 /checksum/SHA256/70 840s ok 813 /checksum/SHA256/71 840s ok 814 /checksum/SHA256/72 840s ok 815 /checksum/SHA256/73 840s ok 816 /checksum/SHA256/74 840s ok 817 /checksum/SHA256/75 840s ok 818 /checksum/SHA256/76 840s ok 819 /checksum/SHA256/77 840s ok 820 /checksum/SHA256/78 840s ok 821 /checksum/SHA256/79 840s ok 822 /checksum/SHA256/80 840s ok 823 /checksum/SHA256/81 840s ok 824 /checksum/SHA256/82 840s ok 825 /checksum/SHA256/83 840s ok 826 /checksum/SHA256/84 840s ok 827 /checksum/SHA256/85 840s ok 828 /checksum/SHA256/86 840s ok 829 /checksum/SHA256/87 840s ok 830 /checksum/SHA256/88 840s ok 831 /checksum/SHA256/89 840s ok 832 /checksum/SHA256/90 840s ok 833 /checksum/SHA256/91 840s ok 834 /checksum/SHA256/92 840s ok 835 /checksum/SHA256/93 840s ok 836 /checksum/SHA256/94 840s ok 837 /checksum/SHA256/95 840s ok 838 /checksum/SHA256/96 840s ok 839 /checksum/SHA256/97 840s ok 840 /checksum/SHA256/98 840s ok 841 /checksum/SHA256/99 840s ok 842 /checksum/SHA256/100 840s ok 843 /checksum/SHA256/101 840s ok 844 /checksum/SHA256/102 840s ok 845 /checksum/SHA256/103 840s ok 846 /checksum/SHA256/104 840s ok 847 /checksum/SHA256/105 840s ok 848 /checksum/SHA256/106 840s ok 849 /checksum/SHA256/107 840s ok 850 /checksum/SHA256/108 840s ok 851 /checksum/SHA256/109 840s ok 852 /checksum/SHA256/110 840s ok 853 /checksum/SHA256/111 840s ok 854 /checksum/SHA256/112 840s ok 855 /checksum/SHA256/113 840s ok 856 /checksum/SHA256/114 840s ok 857 /checksum/SHA256/115 840s ok 858 /checksum/SHA256/116 840s ok 859 /checksum/SHA256/117 840s ok 860 /checksum/SHA256/118 840s ok 861 /checksum/SHA256/119 840s ok 862 /checksum/SHA256/120 840s ok 863 /checksum/SHA256/121 840s ok 864 /checksum/SHA256/122 840s ok 865 /checksum/SHA256/123 840s ok 866 /checksum/SHA256/124 840s ok 867 /checksum/SHA256/125 840s ok 868 /checksum/SHA256/126 840s ok 869 /checksum/SHA256/127 840s ok 870 /checksum/SHA256/128 840s ok 871 /checksum/SHA256/129 840s ok 872 /checksum/SHA256/130 840s ok 873 /checksum/SHA256/131 840s ok 874 /checksum/SHA256/132 840s ok 875 /checksum/SHA256/133 840s ok 876 /checksum/SHA256/134 840s ok 877 /checksum/SHA256/135 840s ok 878 /checksum/SHA256/136 840s ok 879 /checksum/SHA256/137 840s ok 880 /checksum/SHA256/138 840s ok 881 /checksum/SHA256/139 840s ok 882 /checksum/SHA256/140 840s ok 883 /checksum/SHA256/141 840s ok 884 /checksum/SHA256/142 840s ok 885 /checksum/SHA256/143 840s ok 886 /checksum/SHA256/144 840s ok 887 /checksum/SHA256/145 840s ok 888 /checksum/SHA256/146 840s ok 889 /checksum/SHA256/147 840s ok 890 /checksum/SHA256/148 840s ok 891 /checksum/SHA256/149 840s ok 892 /checksum/SHA256/150 840s ok 893 /checksum/SHA256/151 840s ok 894 /checksum/SHA256/152 840s ok 895 /checksum/SHA256/153 840s ok 896 /checksum/SHA256/154 840s ok 897 /checksum/SHA256/155 840s ok 898 /checksum/SHA256/156 840s ok 899 /checksum/SHA256/157 840s ok 900 /checksum/SHA256/158 840s ok 901 /checksum/SHA256/159 840s ok 902 /checksum/SHA256/160 840s ok 903 /checksum/SHA256/161 840s ok 904 /checksum/SHA256/162 840s ok 905 /checksum/SHA256/163 840s ok 906 /checksum/SHA256/164 840s ok 907 /checksum/SHA256/165 840s ok 908 /checksum/SHA256/166 840s ok 909 /checksum/SHA256/167 840s ok 910 /checksum/SHA256/168 840s ok 911 /checksum/SHA256/169 840s ok 912 /checksum/SHA256/170 840s ok 913 /checksum/SHA256/171 840s ok 914 /checksum/SHA256/172 840s ok 915 /checksum/SHA256/173 840s ok 916 /checksum/SHA256/174 840s ok 917 /checksum/SHA256/175 840s ok 918 /checksum/SHA256/176 840s ok 919 /checksum/SHA256/177 840s ok 920 /checksum/SHA256/178 840s ok 921 /checksum/SHA256/179 840s ok 922 /checksum/SHA256/180 840s ok 923 /checksum/SHA256/181 840s ok 924 /checksum/SHA256/182 840s ok 925 /checksum/SHA256/183 840s ok 926 /checksum/SHA256/string 840s ok 927 /checksum/SHA256/bytes 840s # Start of reset tests 840s ok 928 /checksum/SHA256/reset/0 840s ok 929 /checksum/SHA256/reset/1 840s ok 930 /checksum/SHA256/reset/2 840s ok 931 /checksum/SHA256/reset/3 840s ok 932 /checksum/SHA256/reset/4 840s ok 933 /checksum/SHA256/reset/5 840s ok 934 /checksum/SHA256/reset/6 840s ok 935 /checksum/SHA256/reset/7 840s ok 936 /checksum/SHA256/reset/8 840s ok 937 /checksum/SHA256/reset/9 840s ok 938 /checksum/SHA256/reset/10 840s ok 939 /checksum/SHA256/reset/11 840s ok 940 /checksum/SHA256/reset/12 840s ok 941 /checksum/SHA256/reset/13 840s ok 942 /checksum/SHA256/reset/14 840s ok 943 /checksum/SHA256/reset/15 840s ok 944 /checksum/SHA256/reset/16 840s ok 945 /checksum/SHA256/reset/17 840s ok 946 /checksum/SHA256/reset/18 840s ok 947 /checksum/SHA256/reset/19 840s ok 948 /checksum/SHA256/reset/20 840s ok 949 /checksum/SHA256/reset/21 840s ok 950 /checksum/SHA256/reset/22 840s ok 951 /checksum/SHA256/reset/23 840s ok 952 /checksum/SHA256/reset/24 840s ok 953 /checksum/SHA256/reset/25 840s ok 954 /checksum/SHA256/reset/26 840s ok 955 /checksum/SHA256/reset/27 840s ok 956 /checksum/SHA256/reset/28 840s ok 957 /checksum/SHA256/reset/29 840s ok 958 /checksum/SHA256/reset/30 840s ok 959 /checksum/SHA256/reset/31 840s ok 960 /checksum/SHA256/reset/32 840s ok 961 /checksum/SHA256/reset/33 840s ok 962 /checksum/SHA256/reset/34 840s ok 963 /checksum/SHA256/reset/35 840s ok 964 /checksum/SHA256/reset/36 840s ok 965 /checksum/SHA256/reset/37 840s ok 966 /checksum/SHA256/reset/38 840s ok 967 /checksum/SHA256/reset/39 840s ok 968 /checksum/SHA256/reset/40 840s ok 969 /checksum/SHA256/reset/41 840s ok 970 /checksum/SHA256/reset/42 840s ok 971 /checksum/SHA256/reset/43 840s ok 972 /checksum/SHA256/reset/44 840s ok 973 /checksum/SHA256/reset/45 840s ok 974 /checksum/SHA256/reset/46 840s ok 975 /checksum/SHA256/reset/47 840s ok 976 /checksum/SHA256/reset/48 840s ok 977 /checksum/SHA256/reset/49 840s ok 978 /checksum/SHA256/reset/50 840s ok 979 /checksum/SHA256/reset/51 840s ok 980 /checksum/SHA256/reset/52 840s ok 981 /checksum/SHA256/reset/53 840s ok 982 /checksum/SHA256/reset/54 840s ok 983 /checksum/SHA256/reset/55 840s ok 984 /checksum/SHA256/reset/56 840s ok 985 /checksum/SHA256/reset/57 840s ok 986 /checksum/SHA256/reset/58 840s ok 987 /checksum/SHA256/reset/59 840s ok 988 /checksum/SHA256/reset/60 840s ok 989 /checksum/SHA256/reset/61 840s ok 990 /checksum/SHA256/reset/62 840s ok 991 /checksum/SHA256/reset/63 840s ok 992 /checksum/SHA256/reset/64 840s ok 993 /checksum/SHA256/reset/65 840s ok 994 /checksum/SHA256/reset/66 840s ok 995 /checksum/SHA256/reset/67 840s ok 996 /checksum/SHA256/reset/68 840s ok 997 /checksum/SHA256/reset/69 840s ok 998 /checksum/SHA256/reset/70 840s ok 999 /checksum/SHA256/reset/71 840s ok 1000 /checksum/SHA256/reset/72 840s ok 1001 /checksum/SHA256/reset/73 840s ok 1002 /checksum/SHA256/reset/74 840s ok 1003 /checksum/SHA256/reset/75 840s ok 1004 /checksum/SHA256/reset/76 840s ok 1005 /checksum/SHA256/reset/77 840s ok 1006 /checksum/SHA256/reset/78 840s ok 1007 /checksum/SHA256/reset/79 840s ok 1008 /checksum/SHA256/reset/80 840s ok 1009 /checksum/SHA256/reset/81 840s ok 1010 /checksum/SHA256/reset/82 840s ok 1011 /checksum/SHA256/reset/83 840s ok 1012 /checksum/SHA256/reset/84 840s ok 1013 /checksum/SHA256/reset/85 840s ok 1014 /checksum/SHA256/reset/86 840s ok 1015 /checksum/SHA256/reset/87 840s ok 1016 /checksum/SHA256/reset/88 840s ok 1017 /checksum/SHA256/reset/89 840s ok 1018 /checksum/SHA256/reset/90 840s ok 1019 /checksum/SHA256/reset/91 840s ok 1020 /checksum/SHA256/reset/92 840s ok 1021 /checksum/SHA256/reset/93 840s ok 1022 /checksum/SHA256/reset/94 840s ok 1023 /checksum/SHA256/reset/95 840s ok 1024 /checksum/SHA256/reset/96 840s ok 1025 /checksum/SHA256/reset/97 840s ok 1026 /checksum/SHA256/reset/98 840s ok 1027 /checksum/SHA256/reset/99 840s ok 1028 /checksum/SHA256/reset/100 840s ok 1029 /checksum/SHA256/reset/101 840s ok 1030 /checksum/SHA256/reset/102 840s ok 1031 /checksum/SHA256/reset/103 840s ok 1032 /checksum/SHA256/reset/104 840s ok 1033 /checksum/SHA256/reset/105 840s ok 1034 /checksum/SHA256/reset/106 840s ok 1035 /checksum/SHA256/reset/107 840s ok 1036 /checksum/SHA256/reset/108 840s ok 1037 /checksum/SHA256/reset/109 840s ok 1038 /checksum/SHA256/reset/110 840s ok 1039 /checksum/SHA256/reset/111 840s ok 1040 /checksum/SHA256/reset/112 840s ok 1041 /checksum/SHA256/reset/113 840s ok 1042 /checksum/SHA256/reset/114 840s ok 1043 /checksum/SHA256/reset/115 840s ok 1044 /checksum/SHA256/reset/116 840s ok 1045 /checksum/SHA256/reset/117 840s ok 1046 /checksum/SHA256/reset/118 840s ok 1047 /checksum/SHA256/reset/119 840s ok 1048 /checksum/SHA256/reset/120 840s ok 1049 /checksum/SHA256/reset/121 840s ok 1050 /checksum/SHA256/reset/122 840s ok 1051 /checksum/SHA256/reset/123 840s ok 1052 /checksum/SHA256/reset/124 840s ok 1053 /checksum/SHA256/reset/125 840s ok 1054 /checksum/SHA256/reset/126 840s ok 1055 /checksum/SHA256/reset/127 840s ok 1056 /checksum/SHA256/reset/128 840s ok 1057 /checksum/SHA256/reset/129 840s ok 1058 /checksum/SHA256/reset/130 840s ok 1059 /checksum/SHA256/reset/131 840s ok 1060 /checksum/SHA256/reset/132 840s ok 1061 /checksum/SHA256/reset/133 840s ok 1062 /checksum/SHA256/reset/134 840s ok 1063 /checksum/SHA256/reset/135 840s ok 1064 /checksum/SHA256/reset/136 840s ok 1065 /checksum/SHA256/reset/137 840s ok 1066 /checksum/SHA256/reset/138 840s ok 1067 /checksum/SHA256/reset/139 840s ok 1068 /checksum/SHA256/reset/140 840s ok 1069 /checksum/SHA256/reset/141 840s ok 1070 /checksum/SHA256/reset/142 840s ok 1071 /checksum/SHA256/reset/143 840s ok 1072 /checksum/SHA256/reset/144 840s ok 1073 /checksum/SHA256/reset/145 840s ok 1074 /checksum/SHA256/reset/146 840s ok 1075 /checksum/SHA256/reset/147 840s ok 1076 /checksum/SHA256/reset/148 840s ok 1077 /checksum/SHA256/reset/149 840s ok 1078 /checksum/SHA256/reset/150 840s ok 1079 /checksum/SHA256/reset/151 840s ok 1080 /checksum/SHA256/reset/152 840s ok 1081 /checksum/SHA256/reset/153 840s ok 1082 /checksum/SHA256/reset/154 840s ok 1083 /checksum/SHA256/reset/155 840s ok 1084 /checksum/SHA256/reset/156 840s ok 1085 /checksum/SHA256/reset/157 840s ok 1086 /checksum/SHA256/reset/158 840s ok 1087 /checksum/SHA256/reset/159 840s ok 1088 /checksum/SHA256/reset/160 840s ok 1089 /checksum/SHA256/reset/161 840s ok 1090 /checksum/SHA256/reset/162 840s ok 1091 /checksum/SHA256/reset/163 840s ok 1092 /checksum/SHA256/reset/164 840s ok 1093 /checksum/SHA256/reset/165 840s ok 1094 /checksum/SHA256/reset/166 840s ok 1095 /checksum/SHA256/reset/167 840s ok 1096 /checksum/SHA256/reset/168 840s ok 1097 /checksum/SHA256/reset/169 840s ok 1098 /checksum/SHA256/reset/170 840s ok 1099 /checksum/SHA256/reset/171 840s ok 1100 /checksum/SHA256/reset/172 840s ok 1101 /checksum/SHA256/reset/173 840s ok 1102 /checksum/SHA256/reset/174 840s ok 1103 /checksum/SHA256/reset/175 840s ok 1104 /checksum/SHA256/reset/176 840s ok 1105 /checksum/SHA256/reset/177 840s ok 1106 /checksum/SHA256/reset/178 840s ok 1107 /checksum/SHA256/reset/179 840s ok 1108 /checksum/SHA256/reset/180 840s ok 1109 /checksum/SHA256/reset/181 840s ok 1110 /checksum/SHA256/reset/182 840s ok 1111 /checksum/SHA256/reset/183 840s # End of reset tests 840s # End of SHA256 tests 840s # Start of SHA384 tests 840s ok 1112 /checksum/SHA384/0 840s ok 1113 /checksum/SHA384/1 840s ok 1114 /checksum/SHA384/2 840s ok 1115 /checksum/SHA384/3 840s ok 1116 /checksum/SHA384/4 840s ok 1117 /checksum/SHA384/5 840s ok 1118 /checksum/SHA384/6 840s ok 1119 /checksum/SHA384/7 840s ok 1120 /checksum/SHA384/8 840s ok 1121 /checksum/SHA384/9 840s ok 1122 /checksum/SHA384/10 840s ok 1123 /checksum/SHA384/11 840s ok 1124 /checksum/SHA384/12 840s ok 1125 /checksum/SHA384/13 840s ok 1126 /checksum/SHA384/14 840s ok 1127 /checksum/SHA384/15 840s ok 1128 /checksum/SHA384/16 840s ok 1129 /checksum/SHA384/17 840s ok 1130 /checksum/SHA384/18 840s ok 1131 /checksum/SHA384/19 840s ok 1132 /checksum/SHA384/20 840s ok 1133 /checksum/SHA384/21 840s ok 1134 /checksum/SHA384/22 840s ok 1135 /checksum/SHA384/23 840s ok 1136 /checksum/SHA384/24 840s ok 1137 /checksum/SHA384/25 840s ok 1138 /checksum/SHA384/26 840s ok 1139 /checksum/SHA384/27 840s ok 1140 /checksum/SHA384/28 840s ok 1141 /checksum/SHA384/29 840s ok 1142 /checksum/SHA384/30 840s ok 1143 /checksum/SHA384/31 840s ok 1144 /checksum/SHA384/32 840s ok 1145 /checksum/SHA384/33 840s ok 1146 /checksum/SHA384/34 840s ok 1147 /checksum/SHA384/35 840s ok 1148 /checksum/SHA384/36 840s ok 1149 /checksum/SHA384/37 840s ok 1150 /checksum/SHA384/38 840s ok 1151 /checksum/SHA384/39 840s ok 1152 /checksum/SHA384/40 840s ok 1153 /checksum/SHA384/41 840s ok 1154 /checksum/SHA384/42 840s ok 1155 /checksum/SHA384/43 840s ok 1156 /checksum/SHA384/44 840s ok 1157 /checksum/SHA384/45 840s ok 1158 /checksum/SHA384/46 840s ok 1159 /checksum/SHA384/47 840s ok 1160 /checksum/SHA384/48 840s ok 1161 /checksum/SHA384/49 840s ok 1162 /checksum/SHA384/50 840s ok 1163 /checksum/SHA384/51 840s ok 1164 /checksum/SHA384/52 840s ok 1165 /checksum/SHA384/53 840s ok 1166 /checksum/SHA384/54 840s ok 1167 /checksum/SHA384/55 840s ok 1168 /checksum/SHA384/56 840s ok 1169 /checksum/SHA384/57 840s ok 1170 /checksum/SHA384/58 840s ok 1171 /checksum/SHA384/59 840s ok 1172 /checksum/SHA384/60 840s ok 1173 /checksum/SHA384/61 840s ok 1174 /checksum/SHA384/62 840s ok 1175 /checksum/SHA384/63 840s ok 1176 /checksum/SHA384/64 840s ok 1177 /checksum/SHA384/65 840s ok 1178 /checksum/SHA384/66 840s ok 1179 /checksum/SHA384/67 840s ok 1180 /checksum/SHA384/68 840s ok 1181 /checksum/SHA384/69 840s ok 1182 /checksum/SHA384/70 840s ok 1183 /checksum/SHA384/71 840s ok 1184 /checksum/SHA384/72 840s ok 1185 /checksum/SHA384/73 840s ok 1186 /checksum/SHA384/74 840s ok 1187 /checksum/SHA384/75 840s ok 1188 /checksum/SHA384/76 840s ok 1189 /checksum/SHA384/77 840s ok 1190 /checksum/SHA384/78 840s ok 1191 /checksum/SHA384/79 840s ok 1192 /checksum/SHA384/80 840s ok 1193 /checksum/SHA384/81 840s ok 1194 /checksum/SHA384/82 840s ok 1195 /checksum/SHA384/83 840s ok 1196 /checksum/SHA384/84 840s ok 1197 /checksum/SHA384/85 840s ok 1198 /checksum/SHA384/86 840s ok 1199 /checksum/SHA384/87 840s ok 1200 /checksum/SHA384/88 840s ok 1201 /checksum/SHA384/89 840s ok 1202 /checksum/SHA384/90 840s ok 1203 /checksum/SHA384/91 840s ok 1204 /checksum/SHA384/92 840s ok 1205 /checksum/SHA384/93 840s ok 1206 /checksum/SHA384/94 840s ok 1207 /checksum/SHA384/95 840s ok 1208 /checksum/SHA384/96 840s ok 1209 /checksum/SHA384/97 840s ok 1210 /checksum/SHA384/98 840s ok 1211 /checksum/SHA384/99 840s ok 1212 /checksum/SHA384/100 840s ok 1213 /checksum/SHA384/101 840s ok 1214 /checksum/SHA384/102 840s ok 1215 /checksum/SHA384/103 840s ok 1216 /checksum/SHA384/104 840s ok 1217 /checksum/SHA384/105 840s ok 1218 /checksum/SHA384/106 840s ok 1219 /checksum/SHA384/107 840s ok 1220 /checksum/SHA384/108 840s ok 1221 /checksum/SHA384/109 840s ok 1222 /checksum/SHA384/110 840s ok 1223 /checksum/SHA384/111 840s ok 1224 /checksum/SHA384/112 840s ok 1225 /checksum/SHA384/113 840s ok 1226 /checksum/SHA384/114 840s ok 1227 /checksum/SHA384/115 840s ok 1228 /checksum/SHA384/116 840s ok 1229 /checksum/SHA384/117 840s ok 1230 /checksum/SHA384/118 840s ok 1231 /checksum/SHA384/119 840s ok 1232 /checksum/SHA384/120 840s ok 1233 /checksum/SHA384/121 840s ok 1234 /checksum/SHA384/122 840s ok 1235 /checksum/SHA384/123 840s ok 1236 /checksum/SHA384/124 840s ok 1237 /checksum/SHA384/125 840s ok 1238 /checksum/SHA384/126 840s ok 1239 /checksum/SHA384/127 840s ok 1240 /checksum/SHA384/128 840s ok 1241 /checksum/SHA384/129 840s ok 1242 /checksum/SHA384/130 840s ok 1243 /checksum/SHA384/131 840s ok 1244 /checksum/SHA384/132 840s ok 1245 /checksum/SHA384/133 840s ok 1246 /checksum/SHA384/134 840s ok 1247 /checksum/SHA384/135 840s ok 1248 /checksum/SHA384/136 840s ok 1249 /checksum/SHA384/137 840s ok 1250 /checksum/SHA384/138 840s ok 1251 /checksum/SHA384/139 840s ok 1252 /checksum/SHA384/140 840s ok 1253 /checksum/SHA384/141 840s ok 1254 /checksum/SHA384/142 840s ok 1255 /checksum/SHA384/143 840s ok 1256 /checksum/SHA384/144 840s ok 1257 /checksum/SHA384/145 840s ok 1258 /checksum/SHA384/146 840s ok 1259 /checksum/SHA384/147 840s ok 1260 /checksum/SHA384/148 840s ok 1261 /checksum/SHA384/149 840s ok 1262 /checksum/SHA384/150 840s ok 1263 /checksum/SHA384/151 840s ok 1264 /checksum/SHA384/152 840s ok 1265 /checksum/SHA384/153 840s ok 1266 /checksum/SHA384/154 840s ok 1267 /checksum/SHA384/155 840s ok 1268 /checksum/SHA384/156 840s ok 1269 /checksum/SHA384/157 840s ok 1270 /checksum/SHA384/158 840s ok 1271 /checksum/SHA384/159 840s ok 1272 /checksum/SHA384/160 840s ok 1273 /checksum/SHA384/161 840s ok 1274 /checksum/SHA384/162 840s ok 1275 /checksum/SHA384/163 840s ok 1276 /checksum/SHA384/164 840s ok 1277 /checksum/SHA384/165 840s ok 1278 /checksum/SHA384/166 840s ok 1279 /checksum/SHA384/167 840s ok 1280 /checksum/SHA384/168 840s ok 1281 /checksum/SHA384/169 840s ok 1282 /checksum/SHA384/170 840s ok 1283 /checksum/SHA384/171 840s ok 1284 /checksum/SHA384/172 840s ok 1285 /checksum/SHA384/173 840s ok 1286 /checksum/SHA384/174 840s ok 1287 /checksum/SHA384/175 840s ok 1288 /checksum/SHA384/176 840s ok 1289 /checksum/SHA384/177 840s ok 1290 /checksum/SHA384/178 840s ok 1291 /checksum/SHA384/179 840s ok 1292 /checksum/SHA384/180 840s ok 1293 /checksum/SHA384/181 840s ok 1294 /checksum/SHA384/182 840s ok 1295 /checksum/SHA384/183 840s ok 1296 /checksum/SHA384/string 840s ok 1297 /checksum/SHA384/bytes 840s # Start of reset tests 840s ok 1298 /checksum/SHA384/reset/0 840s ok 1299 /checksum/SHA384/reset/1 840s ok 1300 /checksum/SHA384/reset/2 840s ok 1301 /checksum/SHA384/reset/3 840s ok 1302 /checksum/SHA384/reset/4 840s ok 1303 /checksum/SHA384/reset/5 840s ok 1304 /checksum/SHA384/reset/6 840s ok 1305 /checksum/SHA384/reset/7 840s ok 1306 /checksum/SHA384/reset/8 840s ok 1307 /checksum/SHA384/reset/9 840s ok 1308 /checksum/SHA384/reset/10 840s ok 1309 /checksum/SHA384/reset/11 840s ok 1310 /checksum/SHA384/reset/12 840s ok 1311 /checksum/SHA384/reset/13 840s ok 1312 /checksum/SHA384/reset/14 840s ok 1313 /checksum/SHA384/reset/15 840s ok 1314 /checksum/SHA384/reset/16 840s ok 1315 /checksum/SHA384/reset/17 840s ok 1316 /checksum/SHA384/reset/18 840s ok 1317 /checksum/SHA384/reset/19 840s ok 1318 /checksum/SHA384/reset/20 840s ok 1319 /checksum/SHA384/reset/21 840s ok 1320 /checksum/SHA384/reset/22 840s ok 1321 /checksum/SHA384/reset/23 840s ok 1322 /checksum/SHA384/reset/24 840s ok 1323 /checksum/SHA384/reset/25 840s ok 1324 /checksum/SHA384/reset/26 840s ok 1325 /checksum/SHA384/reset/27 840s ok 1326 /checksum/SHA384/reset/28 840s ok 1327 /checksum/SHA384/reset/29 840s ok 1328 /checksum/SHA384/reset/30 840s ok 1329 /checksum/SHA384/reset/31 840s ok 1330 /checksum/SHA384/reset/32 840s ok 1331 /checksum/SHA384/reset/33 840s ok 1332 /checksum/SHA384/reset/34 840s ok 1333 /checksum/SHA384/reset/35 840s ok 1334 /checksum/SHA384/reset/36 840s ok 1335 /checksum/SHA384/reset/37 840s ok 1336 /checksum/SHA384/reset/38 840s ok 1337 /checksum/SHA384/reset/39 840s ok 1338 /checksum/SHA384/reset/40 840s ok 1339 /checksum/SHA384/reset/41 840s ok 1340 /checksum/SHA384/reset/42 840s ok 1341 /checksum/SHA384/reset/43 840s ok 1342 /checksum/SHA384/reset/44 840s ok 1343 /checksum/SHA384/reset/45 840s ok 1344 /checksum/SHA384/reset/46 840s ok 1345 /checksum/SHA384/reset/47 840s ok 1346 /checksum/SHA384/reset/48 840s ok 1347 /checksum/SHA384/reset/49 840s ok 1348 /checksum/SHA384/reset/50 840s ok 1349 /checksum/SHA384/reset/51 840s ok 1350 /checksum/SHA384/reset/52 840s ok 1351 /checksum/SHA384/reset/53 840s ok 1352 /checksum/SHA384/reset/54 840s ok 1353 /checksum/SHA384/reset/55 840s ok 1354 /checksum/SHA384/reset/56 840s ok 1355 /checksum/SHA384/reset/57 840s ok 1356 /checksum/SHA384/reset/58 840s ok 1357 /checksum/SHA384/reset/59 840s ok 1358 /checksum/SHA384/reset/60 840s ok 1359 /checksum/SHA384/reset/61 840s ok 1360 /checksum/SHA384/reset/62 840s ok 1361 /checksum/SHA384/reset/63 840s ok 1362 /checksum/SHA384/reset/64 840s ok 1363 /checksum/SHA384/reset/65 840s ok 1364 /checksum/SHA384/reset/66 840s ok 1365 /checksum/SHA384/reset/67 840s ok 1366 /checksum/SHA384/reset/68 840s ok 1367 /checksum/SHA384/reset/69 840s ok 1368 /checksum/SHA384/reset/70 840s ok 1369 /checksum/SHA384/reset/71 840s ok 1370 /checksum/SHA384/reset/72 840s ok 1371 /checksum/SHA384/reset/73 840s ok 1372 /checksum/SHA384/reset/74 840s ok 1373 /checksum/SHA384/reset/75 840s ok 1374 /checksum/SHA384/reset/76 840s ok 1375 /checksum/SHA384/reset/77 840s ok 1376 /checksum/SHA384/reset/78 840s ok 1377 /checksum/SHA384/reset/79 840s ok 1378 /checksum/SHA384/reset/80 840s ok 1379 /checksum/SHA384/reset/81 840s ok 1380 /checksum/SHA384/reset/82 840s ok 1381 /checksum/SHA384/reset/83 840s ok 1382 /checksum/SHA384/reset/84 840s ok 1383 /checksum/SHA384/reset/85 840s ok 1384 /checksum/SHA384/reset/86 840s ok 1385 /checksum/SHA384/reset/87 840s ok 1386 /checksum/SHA384/reset/88 840s ok 1387 /checksum/SHA384/reset/89 840s ok 1388 /checksum/SHA384/reset/90 840s ok 1389 /checksum/SHA384/reset/91 840s ok 1390 /checksum/SHA384/reset/92 840s ok 1391 /checksum/SHA384/reset/93 840s ok 1392 /checksum/SHA384/reset/94 840s ok 1393 /checksum/SHA384/reset/95 840s ok 1394 /checksum/SHA384/reset/96 840s ok 1395 /checksum/SHA384/reset/97 840s ok 1396 /checksum/SHA384/reset/98 840s ok 1397 /checksum/SHA384/reset/99 840s ok 1398 /checksum/SHA384/reset/100 840s ok 1399 /checksum/SHA384/reset/101 840s ok 1400 /checksum/SHA384/reset/102 840s ok 1401 /checksum/SHA384/reset/103 840s ok 1402 /checksum/SHA384/reset/104 840s ok 1403 /checksum/SHA384/reset/105 840s ok 1404 /checksum/SHA384/reset/106 840s ok 1405 /checksum/SHA384/reset/107 840s ok 1406 /checksum/SHA384/reset/108 840s ok 1407 /checksum/SHA384/reset/109 840s ok 1408 /checksum/SHA384/reset/110 840s ok 1409 /checksum/SHA384/reset/111 840s ok 1410 /checksum/SHA384/reset/112 840s ok 1411 /checksum/SHA384/reset/113 840s ok 1412 /checksum/SHA384/reset/114 840s ok 1413 /checksum/SHA384/reset/115 840s ok 1414 /checksum/SHA384/reset/116 840s ok 1415 /checksum/SHA384/reset/117 840s ok 1416 /checksum/SHA384/reset/118 840s ok 1417 /checksum/SHA384/reset/119 840s ok 1418 /checksum/SHA384/reset/120 840s ok 1419 /checksum/SHA384/reset/121 840s ok 1420 /checksum/SHA384/reset/122 840s ok 1421 /checksum/SHA384/reset/123 840s ok 1422 /checksum/SHA384/reset/124 840s ok 1423 /checksum/SHA384/reset/125 840s ok 1424 /checksum/SHA384/reset/126 840s ok 1425 /checksum/SHA384/reset/127 840s ok 1426 /checksum/SHA384/reset/128 840s ok 1427 /checksum/SHA384/reset/129 840s ok 1428 /checksum/SHA384/reset/130 840s ok 1429 /checksum/SHA384/reset/131 840s ok 1430 /checksum/SHA384/reset/132 840s ok 1431 /checksum/SHA384/reset/133 840s ok 1432 /checksum/SHA384/reset/134 840s ok 1433 /checksum/SHA384/reset/135 840s ok 1434 /checksum/SHA384/reset/136 840s ok 1435 /checksum/SHA384/reset/137 840s ok 1436 /checksum/SHA384/reset/138 840s ok 1437 /checksum/SHA384/reset/139 840s ok 1438 /checksum/SHA384/reset/140 840s ok 1439 /checksum/SHA384/reset/141 840s ok 1440 /checksum/SHA384/reset/142 840s ok 1441 /checksum/SHA384/reset/143 840s ok 1442 /checksum/SHA384/reset/144 840s ok 1443 /checksum/SHA384/reset/145 840s ok 1444 /checksum/SHA384/reset/146 840s ok 1445 /checksum/SHA384/reset/147 840s ok 1446 /checksum/SHA384/reset/148 840s ok 1447 /checksum/SHA384/reset/149 840s ok 1448 /checksum/SHA384/reset/150 840s ok 1449 /checksum/SHA384/reset/151 840s ok 1450 /checksum/SHA384/reset/152 840s ok 1451 /checksum/SHA384/reset/153 840s ok 1452 /checksum/SHA384/reset/154 840s ok 1453 /checksum/SHA384/reset/155 840s ok 1454 /checksum/SHA384/reset/156 840s ok 1455 /checksum/SHA384/reset/157 840s ok 1456 /checksum/SHA384/reset/158 840s ok 1457 /checksum/SHA384/reset/159 840s ok 1458 /checksum/SHA384/reset/160 840s ok 1459 /checksum/SHA384/reset/161 840s ok 1460 /checksum/SHA384/reset/162 840s ok 1461 /checksum/SHA384/reset/163 840s ok 1462 /checksum/SHA384/reset/164 840s ok 1463 /checksum/SHA384/reset/165 840s ok 1464 /checksum/SHA384/reset/166 840s ok 1465 /checksum/SHA384/reset/167 840s ok 1466 /checksum/SHA384/reset/168 840s ok 1467 /checksum/SHA384/reset/169 840s ok 1468 /checksum/SHA384/reset/170 840s ok 1469 /checksum/SHA384/reset/171 840s ok 1470 /checksum/SHA384/reset/172 840s ok 1471 /checksum/SHA384/reset/173 840s ok 1472 /checksum/SHA384/reset/174 840s ok 1473 /checksum/SHA384/reset/175 840s ok 1474 /checksum/SHA384/reset/176 840s ok 1475 /checksum/SHA384/reset/177 840s ok 1476 /checksum/SHA384/reset/178 840s ok 1477 /checksum/SHA384/reset/179 840s ok 1478 /checksum/SHA384/reset/180 840s ok 1479 /checksum/SHA384/reset/181 840s ok 1480 /checksum/SHA384/reset/182 840s ok 1481 /checksum/SHA384/reset/183 840s # End of reset tests 840s # End of SHA384 tests 840s # Start of SHA512 tests 840s ok 1482 /checksum/SHA512/0 840s ok 1483 /checksum/SHA512/1 840s ok 1484 /checksum/SHA512/2 840s ok 1485 /checksum/SHA512/3 840s ok 1486 /checksum/SHA512/4 840s ok 1487 /checksum/SHA512/5 840s ok 1488 /checksum/SHA512/6 840s ok 1489 /checksum/SHA512/7 840s ok 1490 /checksum/SHA512/8 840s ok 1491 /checksum/SHA512/9 840s ok 1492 /checksum/SHA512/10 840s ok 1493 /checksum/SHA512/11 840s ok 1494 /checksum/SHA512/12 840s ok 1495 /checksum/SHA512/13 840s ok 1496 /checksum/SHA512/14 840s ok 1497 /checksum/SHA512/15 840s ok 1498 /checksum/SHA512/16 840s ok 1499 /checksum/SHA512/17 840s ok 1500 /checksum/SHA512/18 840s ok 1501 /checksum/SHA512/19 840s ok 1502 /checksum/SHA512/20 840s ok 1503 /checksum/SHA512/21 840s ok 1504 /checksum/SHA512/22 840s ok 1505 /checksum/SHA512/23 840s ok 1506 /checksum/SHA512/24 840s ok 1507 /checksum/SHA512/25 840s ok 1508 /checksum/SHA512/26 840s ok 1509 /checksum/SHA512/27 840s ok 1510 /checksum/SHA512/28 840s ok 1511 /checksum/SHA512/29 840s ok 1512 /checksum/SHA512/30 840s ok 1513 /checksum/SHA512/31 840s ok 1514 /checksum/SHA512/32 840s ok 1515 /checksum/SHA512/33 840s ok 1516 /checksum/SHA512/34 840s ok 1517 /checksum/SHA512/35 840s ok 1518 /checksum/SHA512/36 840s ok 1519 /checksum/SHA512/37 840s ok 1520 /checksum/SHA512/38 840s ok 1521 /checksum/SHA512/39 840s ok 1522 /checksum/SHA512/40 840s ok 1523 /checksum/SHA512/41 840s ok 1524 /checksum/SHA512/42 840s ok 1525 /checksum/SHA512/43 840s ok 1526 /checksum/SHA512/44 840s ok 1527 /checksum/SHA512/45 840s ok 1528 /checksum/SHA512/46 840s ok 1529 /checksum/SHA512/47 840s ok 1530 /checksum/SHA512/48 840s ok 1531 /checksum/SHA512/49 840s ok 1532 /checksum/SHA512/50 840s ok 1533 /checksum/SHA512/51 840s ok 1534 /checksum/SHA512/52 840s ok 1535 /checksum/SHA512/53 840s ok 1536 /checksum/SHA512/54 840s ok 1537 /checksum/SHA512/55 840s ok 1538 /checksum/SHA512/56 840s ok 1539 /checksum/SHA512/57 840s ok 1540 /checksum/SHA512/58 840s ok 1541 /checksum/SHA512/59 840s ok 1542 /checksum/SHA512/60 840s ok 1543 /checksum/SHA512/61 840s ok 1544 /checksum/SHA512/62 840s ok 1545 /checksum/SHA512/63 840s ok 1546 /checksum/SHA512/64 840s ok 1547 /checksum/SHA512/65 840s ok 1548 /checksum/SHA512/66 840s ok 1549 /checksum/SHA512/67 840s ok 1550 /checksum/SHA512/68 840s ok 1551 /checksum/SHA512/69 840s ok 1552 /checksum/SHA512/70 840s ok 1553 /checksum/SHA512/71 840s ok 1554 /checksum/SHA512/72 840s ok 1555 /checksum/SHA512/73 840s ok 1556 /checksum/SHA512/74 840s ok 1557 /checksum/SHA512/75 840s ok 1558 /checksum/SHA512/76 840s ok 1559 /checksum/SHA512/77 840s ok 1560 /checksum/SHA512/78 840s ok 1561 /checksum/SHA512/79 840s ok 1562 /checksum/SHA512/80 840s ok 1563 /checksum/SHA512/81 840s ok 1564 /checksum/SHA512/82 840s ok 1565 /checksum/SHA512/83 840s ok 1566 /checksum/SHA512/84 840s ok 1567 /checksum/SHA512/85 840s ok 1568 /checksum/SHA512/86 840s ok 1569 /checksum/SHA512/87 840s ok 1570 /checksum/SHA512/88 840s ok 1571 /checksum/SHA512/89 840s ok 1572 /checksum/SHA512/90 840s ok 1573 /checksum/SHA512/91 840s ok 1574 /checksum/SHA512/92 840s ok 1575 /checksum/SHA512/93 840s ok 1576 /checksum/SHA512/94 840s ok 1577 /checksum/SHA512/95 840s ok 1578 /checksum/SHA512/96 840s ok 1579 /checksum/SHA512/97 840s ok 1580 /checksum/SHA512/98 840s ok 1581 /checksum/SHA512/99 840s ok 1582 /checksum/SHA512/100 840s ok 1583 /checksum/SHA512/101 840s ok 1584 /checksum/SHA512/102 840s ok 1585 /checksum/SHA512/103 840s ok 1586 /checksum/SHA512/104 840s ok 1587 /checksum/SHA512/105 840s ok 1588 /checksum/SHA512/106 840s ok 1589 /checksum/SHA512/107 840s ok 1590 /checksum/SHA512/108 840s ok 1591 /checksum/SHA512/109 840s ok 1592 /checksum/SHA512/110 840s ok 1593 /checksum/SHA512/111 840s ok 1594 /checksum/SHA512/112 840s ok 1595 /checksum/SHA512/113 840s ok 1596 /checksum/SHA512/114 840s ok 1597 /checksum/SHA512/115 840s ok 1598 /checksum/SHA512/116 840s ok 1599 /checksum/SHA512/117 840s ok 1600 /checksum/SHA512/118 840s ok 1601 /checksum/SHA512/119 840s ok 1602 /checksum/SHA512/120 840s ok 1603 /checksum/SHA512/121 840s ok 1604 /checksum/SHA512/122 841s ok 1605 /checksum/SHA512/123 841s ok 1606 /checksum/SHA512/124 841s ok 1607 /checksum/SHA512/125 841s ok 1608 /checksum/SHA512/126 841s ok 1609 /checksum/SHA512/127 841s ok 1610 /checksum/SHA512/128 841s ok 1611 /checksum/SHA512/129 841s ok 1612 /checksum/SHA512/130 841s ok 1613 /checksum/SHA512/131 841s ok 1614 /checksum/SHA512/132 841s ok 1615 /checksum/SHA512/133 841s ok 1616 /checksum/SHA512/134 841s ok 1617 /checksum/SHA512/135 841s ok 1618 /checksum/SHA512/136 841s ok 1619 /checksum/SHA512/137 841s ok 1620 /checksum/SHA512/138 841s ok 1621 /checksum/SHA512/139 841s ok 1622 /checksum/SHA512/140 841s ok 1623 /checksum/SHA512/141 841s ok 1624 /checksum/SHA512/142 841s ok 1625 /checksum/SHA512/143 841s ok 1626 /checksum/SHA512/144 841s ok 1627 /checksum/SHA512/145 841s ok 1628 /checksum/SHA512/146 841s ok 1629 /checksum/SHA512/147 841s ok 1630 /checksum/SHA512/148 841s ok 1631 /checksum/SHA512/149 841s ok 1632 /checksum/SHA512/150 841s ok 1633 /checksum/SHA512/151 841s ok 1634 /checksum/SHA512/152 841s ok 1635 /checksum/SHA512/153 841s ok 1636 /checksum/SHA512/154 841s ok 1637 /checksum/SHA512/155 841s ok 1638 /checksum/SHA512/156 841s ok 1639 /checksum/SHA512/157 841s ok 1640 /checksum/SHA512/158 841s ok 1641 /checksum/SHA512/159 841s ok 1642 /checksum/SHA512/160 841s ok 1643 /checksum/SHA512/161 841s ok 1644 /checksum/SHA512/162 841s ok 1645 /checksum/SHA512/163 841s ok 1646 /checksum/SHA512/164 841s ok 1647 /checksum/SHA512/165 841s ok 1648 /checksum/SHA512/166 841s ok 1649 /checksum/SHA512/167 841s ok 1650 /checksum/SHA512/168 841s ok 1651 /checksum/SHA512/169 841s ok 1652 /checksum/SHA512/170 841s ok 1653 /checksum/SHA512/171 841s ok 1654 /checksum/SHA512/172 841s ok 1655 /checksum/SHA512/173 841s ok 1656 /checksum/SHA512/174 841s ok 1657 /checksum/SHA512/175 841s ok 1658 /checksum/SHA512/176 841s ok 1659 /checksum/SHA512/177 841s ok 1660 /checksum/SHA512/178 841s ok 1661 /checksum/SHA512/179 841s ok 1662 /checksum/SHA512/180 841s ok 1663 /checksum/SHA512/181 841s ok 1664 /checksum/SHA512/182 841s ok 1665 /checksum/SHA512/183 841s ok 1666 /checksum/SHA512/string 841s ok 1667 /checksum/SHA512/bytes 841s # Start of reset tests 841s ok 1668 /checksum/SHA512/reset/0 841s ok 1669 /checksum/SHA512/reset/1 841s ok 1670 /checksum/SHA512/reset/2 841s ok 1671 /checksum/SHA512/reset/3 841s ok 1672 /checksum/SHA512/reset/4 841s ok 1673 /checksum/SHA512/reset/5 841s ok 1674 /checksum/SHA512/reset/6 841s ok 1675 /checksum/SHA512/reset/7 841s ok 1676 /checksum/SHA512/reset/8 841s ok 1677 /checksum/SHA512/reset/9 841s ok 1678 /checksum/SHA512/reset/10 841s ok 1679 /checksum/SHA512/reset/11 841s ok 1680 /checksum/SHA512/reset/12 841s ok 1681 /checksum/SHA512/reset/13 841s ok 1682 /checksum/SHA512/reset/14 841s ok 1683 /checksum/SHA512/reset/15 841s ok 1684 /checksum/SHA512/reset/16 841s ok 1685 /checksum/SHA512/reset/17 841s ok 1686 /checksum/SHA512/reset/18 841s ok 1687 /checksum/SHA512/reset/19 841s ok 1688 /checksum/SHA512/reset/20 841s ok 1689 /checksum/SHA512/reset/21 841s ok 1690 /checksum/SHA512/reset/22 841s ok 1691 /checksum/SHA512/reset/23 841s ok 1692 /checksum/SHA512/reset/24 841s ok 1693 /checksum/SHA512/reset/25 841s ok 1694 /checksum/SHA512/reset/26 841s ok 1695 /checksum/SHA512/reset/27 841s ok 1696 /checksum/SHA512/reset/28 841s ok 1697 /checksum/SHA512/reset/29 841s ok 1698 /checksum/SHA512/reset/30 841s ok 1699 /checksum/SHA512/reset/31 841s ok 1700 /checksum/SHA512/reset/32 841s ok 1701 /checksum/SHA512/reset/33 841s ok 1702 /checksum/SHA512/reset/34 841s ok 1703 /checksum/SHA512/reset/35 841s ok 1704 /checksum/SHA512/reset/36 841s ok 1705 /checksum/SHA512/reset/37 841s ok 1706 /checksum/SHA512/reset/38 841s ok 1707 /checksum/SHA512/reset/39 841s ok 1708 /checksum/SHA512/reset/40 841s ok 1709 /checksum/SHA512/reset/41 841s ok 1710 /checksum/SHA512/reset/42 841s ok 1711 /checksum/SHA512/reset/43 841s ok 1712 /checksum/SHA512/reset/44 841s ok 1713 /checksum/SHA512/reset/45 841s ok 1714 /checksum/SHA512/reset/46 841s ok 1715 /checksum/SHA512/reset/47 841s ok 1716 /checksum/SHA512/reset/48 841s ok 1717 /checksum/SHA512/reset/49 841s ok 1718 /checksum/SHA512/reset/50 841s ok 1719 /checksum/SHA512/reset/51 841s ok 1720 /checksum/SHA512/reset/52 841s ok 1721 /checksum/SHA512/reset/53 841s ok 1722 /checksum/SHA512/reset/54 841s ok 1723 /checksum/SHA512/reset/55 841s ok 1724 /checksum/SHA512/reset/56 841s ok 1725 /checksum/SHA512/reset/57 841s ok 1726 /checksum/SHA512/reset/58 841s ok 1727 /checksum/SHA512/reset/59 841s ok 1728 /checksum/SHA512/reset/60 841s ok 1729 /checksum/SHA512/reset/61 841s ok 1730 /checksum/SHA512/reset/62 841s ok 1731 /checksum/SHA512/reset/63 841s ok 1732 /checksum/SHA512/reset/64 841s ok 1733 /checksum/SHA512/reset/65 841s ok 1734 /checksum/SHA512/reset/66 841s ok 1735 /checksum/SHA512/reset/67 841s ok 1736 /checksum/SHA512/reset/68 841s ok 1737 /checksum/SHA512/reset/69 841s ok 1738 /checksum/SHA512/reset/70 841s ok 1739 /checksum/SHA512/reset/71 841s ok 1740 /checksum/SHA512/reset/72 841s ok 1741 /checksum/SHA512/reset/73 841s ok 1742 /checksum/SHA512/reset/74 841s ok 1743 /checksum/SHA512/reset/75 841s ok 1744 /checksum/SHA512/reset/76 841s ok 1745 /checksum/SHA512/reset/77 841s ok 1746 /checksum/SHA512/reset/78 841s ok 1747 /checksum/SHA512/reset/79 841s ok 1748 /checksum/SHA512/reset/80 841s ok 1749 /checksum/SHA512/reset/81 841s ok 1750 /checksum/SHA512/reset/82 841s ok 1751 /checksum/SHA512/reset/83 841s ok 1752 /checksum/SHA512/reset/84 841s ok 1753 /checksum/SHA512/reset/85 841s ok 1754 /checksum/SHA512/reset/86 841s ok 1755 /checksum/SHA512/reset/87 841s ok 1756 /checksum/SHA512/reset/88 841s ok 1757 /checksum/SHA512/reset/89 841s ok 1758 /checksum/SHA512/reset/90 841s ok 1759 /checksum/SHA512/reset/91 841s ok 1760 /checksum/SHA512/reset/92 841s ok 1761 /checksum/SHA512/reset/93 841s ok 1762 /checksum/SHA512/reset/94 841s ok 1763 /checksum/SHA512/reset/95 841s ok 1764 /checksum/SHA512/reset/96 841s ok 1765 /checksum/SHA512/reset/97 841s ok 1766 /checksum/SHA512/reset/98 841s ok 1767 /checksum/SHA512/reset/99 841s ok 1768 /checksum/SHA512/reset/100 841s ok 1769 /checksum/SHA512/reset/101 841s ok 1770 /checksum/SHA512/reset/102 841s ok 1771 /checksum/SHA512/reset/103 841s ok 1772 /checksum/SHA512/reset/104 841s ok 1773 /checksum/SHA512/reset/105 841s ok 1774 /checksum/SHA512/reset/106 841s ok 1775 /checksum/SHA512/reset/107 841s ok 1776 /checksum/SHA512/reset/108 841s ok 1777 /checksum/SHA512/reset/109 841s ok 1778 /checksum/SHA512/reset/110 841s ok 1779 /checksum/SHA512/reset/111 841s ok 1780 /checksum/SHA512/reset/112 841s ok 1781 /checksum/SHA512/reset/113 841s ok 1782 /checksum/SHA512/reset/114 841s ok 1783 /checksum/SHA512/reset/115 841s ok 1784 /checksum/SHA512/reset/116 841s ok 1785 /checksum/SHA512/reset/117 841s ok 1786 /checksum/SHA512/reset/118 841s ok 1787 /checksum/SHA512/reset/119 841s ok 1788 /checksum/SHA512/reset/120 841s ok 1789 /checksum/SHA512/reset/121 841s ok 1790 /checksum/SHA512/reset/122 841s ok 1791 /checksum/SHA512/reset/123 841s ok 1792 /checksum/SHA512/reset/124 841s ok 1793 /checksum/SHA512/reset/125 841s ok 1794 /checksum/SHA512/reset/126 841s ok 1795 /checksum/SHA512/reset/127 841s ok 1796 /checksum/SHA512/reset/128 841s ok 1797 /checksum/SHA512/reset/129 841s ok 1798 /checksum/SHA512/reset/130 841s ok 1799 /checksum/SHA512/reset/131 841s ok 1800 /checksum/SHA512/reset/132 841s ok 1801 /checksum/SHA512/reset/133 841s ok 1802 /checksum/SHA512/reset/134 841s ok 1803 /checksum/SHA512/reset/135 841s ok 1804 /checksum/SHA512/reset/136 841s ok 1805 /checksum/SHA512/reset/137 841s ok 1806 /checksum/SHA512/reset/138 841s ok 1807 /checksum/SHA512/reset/139 841s ok 1808 /checksum/SHA512/reset/140 841s ok 1809 /checksum/SHA512/reset/141 841s ok 1810 /checksum/SHA512/reset/142 841s ok 1811 /checksum/SHA512/reset/143 841s ok 1812 /checksum/SHA512/reset/144 841s ok 1813 /checksum/SHA512/reset/145 841s ok 1814 /checksum/SHA512/reset/146 841s ok 1815 /checksum/SHA512/reset/147 841s ok 1816 /checksum/SHA512/reset/148 841s ok 1817 /checksum/SHA512/reset/149 841s ok 1818 /checksum/SHA512/reset/150 841s ok 1819 /checksum/SHA512/reset/151 841s ok 1820 /checksum/SHA512/reset/152 841s ok 1821 /checksum/SHA512/reset/153 841s ok 1822 /checksum/SHA512/reset/154 841s ok 1823 /checksum/SHA512/reset/155 841s ok 1824 /checksum/SHA512/reset/156 841s ok 1825 /checksum/SHA512/reset/157 841s ok 1826 /checksum/SHA512/reset/158 841s ok 1827 /checksum/SHA512/reset/159 841s ok 1828 /checksum/SHA512/reset/160 841s ok 1829 /checksum/SHA512/reset/161 841s ok 1830 /checksum/SHA512/reset/162 841s ok 1831 /checksum/SHA512/reset/163 841s ok 1832 /checksum/SHA512/reset/164 841s ok 1833 /checksum/SHA512/reset/165 841s ok 1834 /checksum/SHA512/reset/166 841s ok 1835 /checksum/SHA512/reset/167 841s ok 1836 /checksum/SHA512/reset/168 841s ok 1837 /checksum/SHA512/reset/169 841s ok 1838 /checksum/SHA512/reset/170 841s ok 1839 /checksum/SHA512/reset/171 841s ok 1840 /checksum/SHA512/reset/172 841s ok 1841 /checksum/SHA512/reset/173 841s ok 1842 /checksum/SHA512/reset/174 841s ok 1843 /checksum/SHA512/reset/175 841s ok 1844 /checksum/SHA512/reset/176 841s ok 1845 /checksum/SHA512/reset/177 841s ok 1846 /checksum/SHA512/reset/178 841s ok 1847 /checksum/SHA512/reset/179 841s ok 1848 /checksum/SHA512/reset/180 841s ok 1849 /checksum/SHA512/reset/181 841s ok 1850 /checksum/SHA512/reset/182 841s ok 1851 /checksum/SHA512/reset/183 841s # End of reset tests 841s # End of SHA512 tests 841s # End of checksum tests 841s ok - glib/checksum.test 841s # Running test: glib/properties-introspection.test 841s TAP version 13 841s # random seed: R02S0df1e0a195b6578f021047c61484d015 841s 1..2 841s # Start of properties tests 841s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 841s ok 1 /properties/introspection 841s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 841s ok 2 /properties/collision 841s # End of properties tests 841s ok - glib/properties-introspection.test 841s # Running test: glib/string.test 841s TAP version 13 841s # random seed: R02S31681c8c1b8b87b43745fb07304f2bae 841s 1..23 841s # Start of string tests 841s ok 1 /string/test-string-chunks 841s ok 2 /string/test-string-chunk-insert 841s ok 3 /string/test-string-new 841s ok 4 /string/test-string-printf 841s ok 5 /string/test-string-assign 841s ok 6 /string/test-string-append-c 841s ok 7 /string/test-string-append 841s ok 8 /string/test-string-append-vprintf 841s ok 9 /string/test-string-prepend-c 841s ok 10 /string/test-string-prepend 841s ok 11 /string/test-string-insert 841s ok 12 /string/test-string-insert-unichar 841s ok 13 /string/test-string-equal 841s ok 14 /string/test-string-truncate 841s ok 15 /string/test-string-overwrite 841s ok 16 /string/test-string-nul-handling 841s ok 17 /string/test-string-up-down 841s ok 18 /string/test-string-set-size 841s ok 19 /string/test-string-to-bytes 841s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 841s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 841s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 841s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 841s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 841s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 841s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 841s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 841s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 841s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 841s # 5: Replacing "o" with "" (limit 0) in "food for foals" 841s # -> 4 replacements, "fd fr fals" 841s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 841s # -> 3 replacements, "aaaaaaaaa" 841s # 7: Replacing "a" with "" (limit 0) in "aaa" 841s # -> 3 replacements, "" 841s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 841s # -> 1 replacements, "bba" 841s # 9: Replacing "" with "bar" (limit 0) in "foo" 841s # -> 4 replacements, "barfbarobarobar" 841s # 10: Replacing "" with "x" (limit 0) in "" 841s # -> 1 replacements, "x" 841s # 11: Replacing "" with "" (limit 0) in "" 841s # -> 1 replacements, "" 841s ok 20 /string/test-string-replace 841s ok 21 /string/test-string-steal 841s ok 22 /string/test-string-new-take 841s # Start of test-string-new-take tests 841s ok 23 /string/test-string-new-take/null 841s # End of test-string-new-take tests 841s # End of string tests 841s ok - glib/string.test 841s # Running test: glib/buffered-input-stream.test 841s TAP version 13 841s # random seed: R02S8a34bf03464b7f965852b282854fd0c7 841s 1..10 841s # Start of buffered-input-stream tests 841s ok 1 /buffered-input-stream/peek 841s ok 2 /buffered-input-stream/peek-buffer 841s ok 3 /buffered-input-stream/set-buffer-size 841s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 841s ok 4 /buffered-input-stream/read-byte 841s ok 5 /buffered-input-stream/read 841s ok 6 /buffered-input-stream/read-async 841s ok 7 /buffered-input-stream/skip 841s ok 8 /buffered-input-stream/skip-async 841s ok 9 /buffered-input-stream/seek 841s # End of buffered-input-stream tests 841s # Start of filter-input-stream tests 841s ok 10 /filter-input-stream/close 841s # End of filter-input-stream tests 841s ok - glib/buffered-input-stream.test 841s # Running test: glib/date.test 841s TAP version 13 841s # random seed: R02S18baf5dfad28fd0fc6f5c17bbae7e1c3 841s 1..121 841s # Start of date tests 841s ok 1 /date/basic 841s ok 2 /date/empty 841s ok 3 /date/dmy 841s ok 4 /date/julian 841s ok 5 /date/compare 841s ok 6 /date/dates 841s ok 7 /date/strftime 841s ok 8 /date/two-digit-years 841s ok 9 /date/parse 841s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 841s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 841s ok 11 /date/month_substring 841s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 841s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 841s ok 13 /date/clamp 841s ok 14 /date/order 841s ok 15 /date/copy 841s # Vector 0: 0000-00-00, invalid 841s # Vector 1: 0001-01-01, valid 841s # Vector 2: 0000-01-01, invalid 841s # Vector 3: 2000-02-30, invalid 841s # Vector 4: 2000-02-29, valid 841s # Vector 5: 2001-02-29, invalid 841s # Vector 6: 65535-01-01, valid 841s ok 16 /date/valid-dmy 841s # Start of parse tests 841s # Test 0 841s # Test 1 841s ok 17 /date/parse/invalid 841s # End of parse tests 841s # Start of year tests 841s ok 18 /date/year/1 841s ok 19 /date/year/2 841s ok 20 /date/year/3 841s ok 21 /date/year/4 841s ok 22 /date/year/5 841s ok 23 /date/year/6 841s ok 24 /date/year/7 841s ok 25 /date/year/8 841s ok 26 /date/year/9 841s ok 27 /date/year/10 841s ok 28 /date/year/11 841s ok 29 /date/year/12 841s ok 30 /date/year/13 841s ok 31 /date/year/14 841s ok 32 /date/year/98 841s ok 33 /date/year/99 841s ok 34 /date/year/100 841s ok 35 /date/year/101 841s ok 36 /date/year/102 841s ok 37 /date/year/103 841s ok 38 /date/year/397 841s ok 39 /date/year/398 841s ok 40 /date/year/399 841s ok 41 /date/year/400 841s ok 42 /date/year/401 841s ok 43 /date/year/402 841s ok 44 /date/year/403 841s ok 45 /date/year/404 841s ok 46 /date/year/405 841s ok 47 /date/year/406 841s ok 48 /date/year/1598 841s ok 49 /date/year/1599 841s ok 50 /date/year/1600 841s ok 51 /date/year/1601 841s ok 52 /date/year/1602 841s ok 53 /date/year/1650 841s ok 54 /date/year/1651 841s ok 55 /date/year/1897 841s ok 56 /date/year/1898 841s ok 57 /date/year/1899 841s ok 58 /date/year/1900 841s ok 59 /date/year/1901 841s ok 60 /date/year/1902 841s ok 61 /date/year/1903 841s ok 62 /date/year/1961 841s ok 63 /date/year/1962 841s ok 64 /date/year/1963 841s ok 65 /date/year/1964 841s ok 66 /date/year/1965 841s ok 67 /date/year/1967 841s ok 68 /date/year/1968 841s ok 69 /date/year/1969 841s ok 70 /date/year/1970 841s ok 71 /date/year/1971 841s ok 72 /date/year/1972 841s ok 73 /date/year/1973 841s ok 74 /date/year/1974 841s ok 75 /date/year/1975 841s ok 76 /date/year/1976 841s ok 77 /date/year/1977 841s ok 78 /date/year/1978 841s ok 79 /date/year/1979 841s ok 80 /date/year/1980 841s ok 81 /date/year/1981 841s ok 82 /date/year/1982 841s ok 83 /date/year/1983 841s ok 84 /date/year/1984 841s ok 85 /date/year/1985 841s ok 86 /date/year/1986 841s ok 87 /date/year/1987 841s ok 88 /date/year/1988 841s ok 89 /date/year/1989 841s ok 90 /date/year/1990 841s ok 91 /date/year/1991 841s ok 92 /date/year/1992 841s ok 93 /date/year/1993 841s ok 94 /date/year/1994 841s ok 95 /date/year/1995 841s ok 96 /date/year/1996 841s ok 97 /date/year/1997 841s ok 98 /date/year/1998 841s ok 99 /date/year/1999 841s ok 100 /date/year/2000 841s ok 101 /date/year/2001 841s ok 102 /date/year/2002 841s ok 103 /date/year/2003 841s ok 104 /date/year/2004 841s ok 105 /date/year/2005 841s ok 106 /date/year/2006 841s ok 107 /date/year/2007 841s ok 108 /date/year/2008 841s ok 109 /date/year/2009 841s ok 110 /date/year/2010 841s ok 111 /date/year/2011 841s ok 112 /date/year/2012 841s ok 113 /date/year/3000 841s ok 114 /date/year/3001 841s ok 115 /date/year/3002 841s ok 116 /date/year/3998 841s ok 117 /date/year/3999 841s ok 118 /date/year/4000 841s ok 119 /date/year/4001 841s ok 120 /date/year/4002 841s ok 121 /date/year/4003 841s # End of year tests 841s # End of date tests 841s ok - glib/date.test 841s # Running test: glib/regex.test 841s TAP version 13 841s # random seed: R02Sdc8ff32c21d8faa687be3e534e3e5a41 841s 1..848 841s # Start of regex tests 841s ok 1 /regex/properties 841s ok 2 /regex/class 841s ok 3 /regex/lookahead 841s ok 4 /regex/lookbehind 841s ok 5 /regex/subpattern 841s ok 6 /regex/condition 841s ok 7 /regex/recursion 841s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 841s ok 8 /regex/multiline 841s ok 9 /regex/explicit-crlf 841s ok 10 /regex/max-lookbehind 841s ok 11 /regex/compile-errors 841s ok 12 /regex/jit-unsupported-matching 841s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 841s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 841s ok 13 /regex/unmatched-named-subpattern 841s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 841s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 841s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 841s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 841s ok 14 /regex/compiled-regex-after-jit-failure 841s # Start of new tests 841s ok 15 /regex/new/1 841s ok 16 /regex/new/2 841s ok 17 /regex/new/3 841s ok 18 /regex/new/4 841s ok 19 /regex/new/5 841s ok 20 /regex/new/6 841s ok 21 /regex/new/7 841s ok 22 /regex/new/8 841s ok 23 /regex/new/9 841s ok 24 /regex/new/10 841s ok 25 /regex/new/11 841s ok 26 /regex/new/12 841s ok 27 /regex/new/13 841s ok 28 /regex/new/14 841s ok 29 /regex/new/15 841s ok 30 /regex/new/16 841s ok 31 /regex/new/17 841s ok 32 /regex/new/18 841s ok 33 /regex/new/19 841s ok 34 /regex/new/71 841s ok 35 /regex/new/80 841s ok 36 /regex/new/82 841s # End of new tests 841s # Start of new-check-flags tests 841s ok 37 /regex/new-check-flags/20 841s ok 38 /regex/new-check-flags/21 841s ok 39 /regex/new-check-flags/22 841s ok 40 /regex/new-check-flags/23 841s ok 41 /regex/new-check-flags/24 841s ok 42 /regex/new-check-flags/25 841s ok 43 /regex/new-check-flags/26 841s ok 44 /regex/new-check-flags/27 841s ok 45 /regex/new-check-flags/28 841s ok 46 /regex/new-check-flags/29 841s ok 47 /regex/new-check-flags/30 841s ok 48 /regex/new-check-flags/31 841s ok 49 /regex/new-check-flags/32 841s ok 50 /regex/new-check-flags/33 841s ok 51 /regex/new-check-flags/34 841s ok 52 /regex/new-check-flags/35 841s ok 53 /regex/new-check-flags/36 841s # End of new-check-flags tests 841s # Start of new-fail tests 841s ok 54 /regex/new-fail/37 841s ok 55 /regex/new-fail/38 841s ok 56 /regex/new-fail/39 841s ok 57 /regex/new-fail/40 841s ok 58 /regex/new-fail/41 841s ok 59 /regex/new-fail/42 841s ok 60 /regex/new-fail/43 841s ok 61 /regex/new-fail/44 841s ok 62 /regex/new-fail/45 841s ok 63 /regex/new-fail/46 841s ok 64 /regex/new-fail/47 841s ok 65 /regex/new-fail/48 841s ok 66 /regex/new-fail/49 841s ok 67 /regex/new-fail/50 841s ok 68 /regex/new-fail/51 841s ok 69 /regex/new-fail/52 841s ok 70 /regex/new-fail/53 841s ok 71 /regex/new-fail/54 841s ok 72 /regex/new-fail/55 841s ok 73 /regex/new-fail/56 841s ok 74 /regex/new-fail/57 841s ok 75 /regex/new-fail/58 841s ok 76 /regex/new-fail/59 841s ok 77 /regex/new-fail/60 841s ok 78 /regex/new-fail/61 841s ok 79 /regex/new-fail/62 841s ok 80 /regex/new-fail/63 841s ok 81 /regex/new-fail/64 841s ok 82 /regex/new-fail/65 841s ok 83 /regex/new-fail/66 841s ok 84 /regex/new-fail/67 841s ok 85 /regex/new-fail/68 841s ok 86 /regex/new-fail/69 841s ok 87 /regex/new-fail/70 841s ok 88 /regex/new-fail/72 841s ok 89 /regex/new-fail/73 841s ok 90 /regex/new-fail/74 841s ok 91 /regex/new-fail/75 841s ok 92 /regex/new-fail/76 841s ok 93 /regex/new-fail/77 841s ok 94 /regex/new-fail/78 841s ok 95 /regex/new-fail/79 841s ok 96 /regex/new-fail/81 841s ok 97 /regex/new-fail/83 841s ok 98 /regex/new-fail/84 841s ok 99 /regex/new-fail/85 841s ok 100 /regex/new-fail/86 841s ok 101 /regex/new-fail/87 841s ok 102 /regex/new-fail/88 841s ok 103 /regex/new-fail/89 841s ok 104 /regex/new-fail/90 841s ok 105 /regex/new-fail/91 841s # End of new-fail tests 841s # Start of match-simple tests 841s ok 106 /regex/match-simple/92 841s ok 107 /regex/match-simple/93 841s ok 108 /regex/match-simple/94 841s ok 109 /regex/match-simple/95 841s ok 110 /regex/match-simple/96 841s ok 111 /regex/match-simple/97 841s ok 112 /regex/match-simple/98 841s ok 113 /regex/match-simple/99 841s ok 114 /regex/match-simple/100 841s ok 115 /regex/match-simple/101 841s ok 116 /regex/match-simple/102 841s ok 117 /regex/match-simple/103 841s ok 118 /regex/match-simple/104 841s ok 119 /regex/match-simple/105 841s ok 120 /regex/match-simple/106 841s ok 121 /regex/match-simple/107 841s ok 122 /regex/match-simple/108 841s ok 123 /regex/match-simple/109 841s ok 124 /regex/match-simple/110 841s ok 125 /regex/match-simple/111 841s ok 126 /regex/match-simple/112 841s ok 127 /regex/match-simple/113 841s ok 128 /regex/match-simple/114 841s ok 129 /regex/match-simple/115 841s ok 130 /regex/match-simple/116 841s ok 131 /regex/match-simple/117 841s ok 132 /regex/match-simple/118 841s ok 133 /regex/match-simple/119 841s ok 134 /regex/match-simple/120 841s ok 135 /regex/match-simple/121 841s ok 136 /regex/match-simple/122 841s ok 137 /regex/match-simple/123 841s ok 138 /regex/match-simple/124 841s ok 139 /regex/match-simple/125 841s ok 140 /regex/match-simple/126 841s ok 141 /regex/match-simple/127 841s ok 142 /regex/match-simple/128 841s ok 143 /regex/match-simple/129 841s ok 144 /regex/match-simple/130 841s ok 145 /regex/match-simple/131 841s ok 146 /regex/match-simple/132 841s ok 147 /regex/match-simple/133 841s ok 148 /regex/match-simple/134 841s ok 149 /regex/match-simple/135 841s ok 150 /regex/match-simple/136 841s ok 151 /regex/match-simple/137 841s ok 152 /regex/match-simple/138 841s ok 153 /regex/match-simple/139 841s ok 154 /regex/match-simple/140 841s ok 155 /regex/match-simple/141 841s ok 156 /regex/match-simple/142 841s ok 157 /regex/match-simple/143 841s ok 158 /regex/match-simple/144 841s ok 159 /regex/match-simple/145 841s ok 160 /regex/match-simple/146 841s ok 161 /regex/match-simple/147 841s ok 162 /regex/match-simple/148 841s ok 163 /regex/match-simple/149 841s ok 164 /regex/match-simple/150 841s ok 165 /regex/match-simple/151 841s ok 166 /regex/match-simple/152 841s ok 167 /regex/match-simple/153 841s ok 168 /regex/match-simple/154 841s ok 169 /regex/match-simple/155 841s ok 170 /regex/match-simple/156 841s ok 171 /regex/match-simple/157 841s ok 172 /regex/match-simple/158 841s ok 173 /regex/match-simple/159 841s ok 174 /regex/match-simple/160 841s ok 175 /regex/match-simple/161 841s ok 176 /regex/match-simple/162 841s ok 177 /regex/match-simple/163 841s ok 178 /regex/match-simple/164 841s # End of match-simple tests 841s # Start of match-simple-optimized tests 841s ok 179 /regex/match-simple-optimized/92 841s ok 180 /regex/match-simple-optimized/93 841s ok 181 /regex/match-simple-optimized/94 841s ok 182 /regex/match-simple-optimized/95 841s ok 183 /regex/match-simple-optimized/96 841s ok 184 /regex/match-simple-optimized/97 841s ok 185 /regex/match-simple-optimized/98 841s ok 186 /regex/match-simple-optimized/99 841s ok 187 /regex/match-simple-optimized/100 841s ok 188 /regex/match-simple-optimized/101 841s ok 189 /regex/match-simple-optimized/102 841s ok 190 /regex/match-simple-optimized/103 841s ok 191 /regex/match-simple-optimized/104 841s ok 192 /regex/match-simple-optimized/105 841s ok 193 /regex/match-simple-optimized/106 841s ok 194 /regex/match-simple-optimized/107 841s ok 195 /regex/match-simple-optimized/108 841s ok 196 /regex/match-simple-optimized/109 841s ok 197 /regex/match-simple-optimized/110 841s ok 198 /regex/match-simple-optimized/111 841s ok 199 /regex/match-simple-optimized/112 841s ok 200 /regex/match-simple-optimized/113 841s ok 201 /regex/match-simple-optimized/114 841s ok 202 /regex/match-simple-optimized/115 841s ok 203 /regex/match-simple-optimized/116 841s ok 204 /regex/match-simple-optimized/117 841s ok 205 /regex/match-simple-optimized/118 841s ok 206 /regex/match-simple-optimized/119 841s ok 207 /regex/match-simple-optimized/120 841s ok 208 /regex/match-simple-optimized/121 841s ok 209 /regex/match-simple-optimized/122 841s ok 210 /regex/match-simple-optimized/123 841s ok 211 /regex/match-simple-optimized/124 841s ok 212 /regex/match-simple-optimized/125 841s ok 213 /regex/match-simple-optimized/126 841s ok 214 /regex/match-simple-optimized/127 841s ok 215 /regex/match-simple-optimized/128 841s ok 216 /regex/match-simple-optimized/129 841s ok 217 /regex/match-simple-optimized/130 841s ok 218 /regex/match-simple-optimized/131 841s ok 219 /regex/match-simple-optimized/132 841s ok 220 /regex/match-simple-optimized/133 841s ok 221 /regex/match-simple-optimized/134 841s ok 222 /regex/match-simple-optimized/135 841s ok 223 /regex/match-simple-optimized/136 841s ok 224 /regex/match-simple-optimized/137 841s ok 225 /regex/match-simple-optimized/138 841s ok 226 /regex/match-simple-optimized/139 841s ok 227 /regex/match-simple-optimized/140 841s ok 228 /regex/match-simple-optimized/141 841s ok 229 /regex/match-simple-optimized/142 841s ok 230 /regex/match-simple-optimized/143 841s ok 231 /regex/match-simple-optimized/144 841s ok 232 /regex/match-simple-optimized/145 841s ok 233 /regex/match-simple-optimized/146 841s ok 234 /regex/match-simple-optimized/147 841s ok 235 /regex/match-simple-optimized/148 841s ok 236 /regex/match-simple-optimized/149 841s ok 237 /regex/match-simple-optimized/150 841s ok 238 /regex/match-simple-optimized/151 841s ok 239 /regex/match-simple-optimized/152 841s ok 240 /regex/match-simple-optimized/153 841s ok 241 /regex/match-simple-optimized/154 841s ok 242 /regex/match-simple-optimized/155 841s ok 243 /regex/match-simple-optimized/156 841s ok 244 /regex/match-simple-optimized/157 841s ok 245 /regex/match-simple-optimized/158 841s ok 246 /regex/match-simple-optimized/159 841s ok 247 /regex/match-simple-optimized/160 841s ok 248 /regex/match-simple-optimized/161 841s ok 249 /regex/match-simple-optimized/162 841s ok 250 /regex/match-simple-optimized/163 841s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 841s ok 251 /regex/match-simple-optimized/164 841s # End of match-simple-optimized tests 841s # Start of match tests 841s ok 252 /regex/match/165 841s ok 253 /regex/match/166 841s ok 254 /regex/match/167 841s ok 255 /regex/match/168 841s ok 256 /regex/match/169 841s ok 257 /regex/match/170 841s ok 258 /regex/match/171 841s ok 259 /regex/match/172 841s ok 260 /regex/match/173 841s ok 261 /regex/match/174 841s ok 262 /regex/match/175 841s ok 263 /regex/match/176 841s ok 264 /regex/match/177 841s ok 265 /regex/match/178 841s ok 266 /regex/match/179 841s ok 267 /regex/match/180 841s ok 268 /regex/match/181 841s ok 269 /regex/match/182 841s ok 270 /regex/match/183 841s ok 271 /regex/match/184 841s ok 272 /regex/match/185 841s ok 273 /regex/match/186 841s ok 274 /regex/match/187 841s ok 275 /regex/match/188 841s ok 276 /regex/match/189 841s ok 277 /regex/match/190 841s ok 278 /regex/match/191 841s ok 279 /regex/match/192 841s ok 280 /regex/match/193 841s ok 281 /regex/match/194 841s ok 282 /regex/match/195 841s ok 283 /regex/match/196 841s ok 284 /regex/match/197 841s ok 285 /regex/match/198 841s ok 286 /regex/match/199 841s ok 287 /regex/match/200 841s ok 288 /regex/match/201 841s ok 289 /regex/match/202 841s ok 290 /regex/match/203 841s ok 291 /regex/match/204 841s ok 292 /regex/match/205 841s ok 293 /regex/match/206 841s ok 294 /regex/match/207 841s ok 295 /regex/match/208 841s ok 296 /regex/match/209 841s ok 297 /regex/match/210 841s ok 298 /regex/match/211 841s ok 299 /regex/match/212 841s ok 300 /regex/match/213 841s ok 301 /regex/match/214 841s ok 302 /regex/match/215 841s ok 303 /regex/match/216 841s ok 304 /regex/match/217 841s ok 305 /regex/match/218 841s ok 306 /regex/match/219 841s ok 307 /regex/match/220 841s ok 308 /regex/match/221 841s ok 309 /regex/match/222 841s ok 310 /regex/match/223 841s ok 311 /regex/match/224 841s ok 312 /regex/match/225 841s ok 313 /regex/match/226 841s ok 314 /regex/match/227 841s ok 315 /regex/match/228 841s ok 316 /regex/match/229 841s ok 317 /regex/match/230 841s ok 318 /regex/match/231 841s ok 319 /regex/match/232 841s ok 320 /regex/match/233 841s ok 321 /regex/match/234 841s ok 322 /regex/match/235 841s ok 323 /regex/match/236 841s ok 324 /regex/match/237 841s ok 325 /regex/match/238 841s ok 326 /regex/match/239 841s ok 327 /regex/match/240 841s ok 328 /regex/match/241 841s ok 329 /regex/match/242 841s ok 330 /regex/match/243 841s ok 331 /regex/match/244 841s ok 332 /regex/match/245 841s ok 333 /regex/match/246 841s ok 334 /regex/match/partial281 841s ok 335 /regex/match/partial282 841s ok 336 /regex/match/partial283 841s ok 337 /regex/match/partial284 841s ok 338 /regex/match/partial285 841s ok 339 /regex/match/partial286 841s ok 340 /regex/match/partial287 841s ok 341 /regex/match/partial288 841s ok 342 /regex/match/partial289 841s ok 343 /regex/match/partial290 841s ok 344 /regex/match/partial291 841s ok 345 /regex/match/partial292 841s ok 346 /regex/match/partial293 841s ok 347 /regex/match/partial294 841s ok 348 /regex/match/partial295 841s ok 349 /regex/match/partial296 841s ok 350 /regex/match/partial297 841s ok 351 /regex/match/partial298 841s ok 352 /regex/match/partial299 841s ok 353 /regex/match/partial300 841s ok 354 /regex/match/partial301 841s ok 355 /regex/match/partial302 841s # Start of next0 tests 841s ok 356 /regex/match/next0/247 841s ok 357 /regex/match/next0/248 841s ok 358 /regex/match/next0/249 841s ok 359 /regex/match/next0/250 841s # End of next0 tests 841s # Start of next1 tests 841s ok 360 /regex/match/next1/251 841s ok 361 /regex/match/next1/252 841s ok 362 /regex/match/next1/253 841s ok 363 /regex/match/next1/254 841s ok 364 /regex/match/next1/255 841s # End of next1 tests 841s # Start of next2 tests 841s ok 365 /regex/match/next2/256 841s ok 366 /regex/match/next2/257 841s ok 367 /regex/match/next2/258 841s ok 368 /regex/match/next2/259 841s ok 369 /regex/match/next2/260 841s ok 370 /regex/match/next2/261 841s ok 371 /regex/match/next2/262 841s ok 372 /regex/match/next2/263 841s # End of next2 tests 841s # Start of next3 tests 841s ok 373 /regex/match/next3/264 841s ok 374 /regex/match/next3/265 841s ok 375 /regex/match/next3/266 841s ok 376 /regex/match/next3/267 841s ok 377 /regex/match/next3/268 841s ok 378 /regex/match/next3/269 841s # End of next3 tests 841s # Start of next4 tests 841s ok 379 /regex/match/next4/270 841s # End of next4 tests 841s # Start of count tests 841s ok 380 /regex/match/count/271 841s ok 381 /regex/match/count/272 841s ok 382 /regex/match/count/273 841s ok 383 /regex/match/count/274 841s ok 384 /regex/match/count/275 841s ok 385 /regex/match/count/276 841s ok 386 /regex/match/count/277 841s ok 387 /regex/match/count/278 841s ok 388 /regex/match/count/279 841s ok 389 /regex/match/count/280 841s # End of count tests 841s # Start of count-optimized tests 841s ok 390 /regex/match/count-optimized/271 841s ok 391 /regex/match/count-optimized/272 841s ok 392 /regex/match/count-optimized/273 841s ok 393 /regex/match/count-optimized/274 841s ok 394 /regex/match/count-optimized/275 841s ok 395 /regex/match/count-optimized/276 841s ok 396 /regex/match/count-optimized/277 841s ok 397 /regex/match/count-optimized/278 841s ok 398 /regex/match/count-optimized/279 841s ok 399 /regex/match/count-optimized/280 841s # End of count-optimized tests 841s # Start of partial-optimized tests 841s ok 400 /regex/match/partial-optimized/281 841s ok 401 /regex/match/partial-optimized/282 841s ok 402 /regex/match/partial-optimized/283 841s ok 403 /regex/match/partial-optimized/284 841s ok 404 /regex/match/partial-optimized/285 841s ok 405 /regex/match/partial-optimized/286 841s ok 406 /regex/match/partial-optimized/287 841s ok 407 /regex/match/partial-optimized/288 841s ok 408 /regex/match/partial-optimized/289 841s ok 409 /regex/match/partial-optimized/290 841s ok 410 /regex/match/partial-optimized/291 841s ok 411 /regex/match/partial-optimized/292 841s ok 412 /regex/match/partial-optimized/293 841s ok 413 /regex/match/partial-optimized/294 841s ok 414 /regex/match/partial-optimized/295 841s ok 415 /regex/match/partial-optimized/296 841s ok 416 /regex/match/partial-optimized/297 841s ok 417 /regex/match/partial-optimized/298 841s ok 418 /regex/match/partial-optimized/299 841s ok 419 /regex/match/partial-optimized/300 841s ok 420 /regex/match/partial-optimized/301 841s ok 421 /regex/match/partial-optimized/302 841s # End of partial-optimized tests 841s # Start of subpattern tests 841s ok 422 /regex/match/subpattern/303 841s ok 423 /regex/match/subpattern/304 841s ok 424 /regex/match/subpattern/305 841s ok 425 /regex/match/subpattern/306 841s ok 426 /regex/match/subpattern/307 841s ok 427 /regex/match/subpattern/308 841s ok 428 /regex/match/subpattern/309 841s ok 429 /regex/match/subpattern/310 841s ok 430 /regex/match/subpattern/311 841s ok 431 /regex/match/subpattern/312 841s ok 432 /regex/match/subpattern/313 841s ok 433 /regex/match/subpattern/314 841s ok 434 /regex/match/subpattern/315 841s # Start of named tests 841s # Start of dupnames tests 841s ok 435 /regex/match/subpattern/named/dupnames/325 841s ok 436 /regex/match/subpattern/named/dupnames/326 841s ok 437 /regex/match/subpattern/named/dupnames/327 841s ok 438 /regex/match/subpattern/named/dupnames/328 841s ok 439 /regex/match/subpattern/named/dupnames/329 841s # End of dupnames tests 841s # End of named tests 841s # End of subpattern tests 841s # Start of subpattern-optimized tests 841s ok 440 /regex/match/subpattern-optimized/303 841s ok 441 /regex/match/subpattern-optimized/304 841s ok 442 /regex/match/subpattern-optimized/305 841s ok 443 /regex/match/subpattern-optimized/306 841s ok 444 /regex/match/subpattern-optimized/307 841s ok 445 /regex/match/subpattern-optimized/308 841s ok 446 /regex/match/subpattern-optimized/309 841s ok 447 /regex/match/subpattern-optimized/310 841s ok 448 /regex/match/subpattern-optimized/311 841s ok 449 /regex/match/subpattern-optimized/312 841s ok 450 /regex/match/subpattern-optimized/313 841s ok 451 /regex/match/subpattern-optimized/314 841s ok 452 /regex/match/subpattern-optimized/315 841s # End of subpattern-optimized tests 841s # Start of named tests 841s # Start of subpattern tests 841s ok 453 /regex/match/named/subpattern/316 841s ok 454 /regex/match/named/subpattern/317 841s ok 455 /regex/match/named/subpattern/318 841s ok 456 /regex/match/named/subpattern/319 841s ok 457 /regex/match/named/subpattern/320 841s ok 458 /regex/match/named/subpattern/321 841s ok 459 /regex/match/named/subpattern/322 841s ok 460 /regex/match/named/subpattern/323 841s ok 461 /regex/match/named/subpattern/324 841s ok 462 /regex/match/named/subpattern/330 841s ok 463 /regex/match/named/subpattern/331 841s ok 464 /regex/match/named/subpattern/332 841s ok 465 /regex/match/named/subpattern/333 841s ok 466 /regex/match/named/subpattern/334 841s # End of subpattern tests 841s # End of named tests 841s # End of match tests 841s # Start of match-optimized tests 841s ok 467 /regex/match-optimized/165 841s ok 468 /regex/match-optimized/166 841s ok 469 /regex/match-optimized/167 841s ok 470 /regex/match-optimized/168 841s ok 471 /regex/match-optimized/169 841s ok 472 /regex/match-optimized/170 841s ok 473 /regex/match-optimized/171 841s ok 474 /regex/match-optimized/172 841s ok 475 /regex/match-optimized/173 841s ok 476 /regex/match-optimized/174 841s ok 477 /regex/match-optimized/175 841s ok 478 /regex/match-optimized/176 841s ok 479 /regex/match-optimized/177 841s ok 480 /regex/match-optimized/178 841s ok 481 /regex/match-optimized/179 841s ok 482 /regex/match-optimized/180 841s ok 483 /regex/match-optimized/181 841s ok 484 /regex/match-optimized/182 841s ok 485 /regex/match-optimized/183 841s ok 486 /regex/match-optimized/184 841s ok 487 /regex/match-optimized/185 841s ok 488 /regex/match-optimized/186 841s ok 489 /regex/match-optimized/187 841s ok 490 /regex/match-optimized/188 841s ok 491 /regex/match-optimized/189 841s ok 492 /regex/match-optimized/190 841s ok 493 /regex/match-optimized/191 841s ok 494 /regex/match-optimized/192 841s ok 495 /regex/match-optimized/193 841s ok 496 /regex/match-optimized/194 841s ok 497 /regex/match-optimized/195 841s ok 498 /regex/match-optimized/196 841s ok 499 /regex/match-optimized/197 841s ok 500 /regex/match-optimized/198 841s ok 501 /regex/match-optimized/199 841s ok 502 /regex/match-optimized/200 841s ok 503 /regex/match-optimized/201 841s ok 504 /regex/match-optimized/202 841s ok 505 /regex/match-optimized/203 841s ok 506 /regex/match-optimized/204 841s ok 507 /regex/match-optimized/205 841s ok 508 /regex/match-optimized/206 841s ok 509 /regex/match-optimized/207 841s ok 510 /regex/match-optimized/208 841s ok 511 /regex/match-optimized/209 841s ok 512 /regex/match-optimized/210 841s ok 513 /regex/match-optimized/211 841s ok 514 /regex/match-optimized/212 841s ok 515 /regex/match-optimized/213 841s ok 516 /regex/match-optimized/214 841s ok 517 /regex/match-optimized/215 841s ok 518 /regex/match-optimized/216 841s ok 519 /regex/match-optimized/217 841s ok 520 /regex/match-optimized/218 841s ok 521 /regex/match-optimized/219 841s ok 522 /regex/match-optimized/220 841s ok 523 /regex/match-optimized/221 841s ok 524 /regex/match-optimized/222 841s ok 525 /regex/match-optimized/223 841s ok 526 /regex/match-optimized/224 841s ok 527 /regex/match-optimized/225 841s ok 528 /regex/match-optimized/226 841s ok 529 /regex/match-optimized/227 841s ok 530 /regex/match-optimized/228 841s ok 531 /regex/match-optimized/229 841s ok 532 /regex/match-optimized/230 841s ok 533 /regex/match-optimized/231 841s ok 534 /regex/match-optimized/232 841s ok 535 /regex/match-optimized/233 841s ok 536 /regex/match-optimized/234 841s ok 537 /regex/match-optimized/235 841s ok 538 /regex/match-optimized/236 841s ok 539 /regex/match-optimized/237 841s ok 540 /regex/match-optimized/238 841s ok 541 /regex/match-optimized/239 841s ok 542 /regex/match-optimized/240 841s ok 543 /regex/match-optimized/241 841s ok 544 /regex/match-optimized/242 841s ok 545 /regex/match-optimized/243 841s ok 546 /regex/match-optimized/244 841s ok 547 /regex/match-optimized/245 841s ok 548 /regex/match-optimized/246 841s # End of match-optimized tests 841s # Start of fetch-all0 tests 841s ok 549 /regex/fetch-all0/335 841s ok 550 /regex/fetch-all0/336 841s # End of fetch-all0 tests 841s # Start of fetch-all1 tests 841s ok 551 /regex/fetch-all1/337 841s ok 552 /regex/fetch-all1/338 841s ok 553 /regex/fetch-all1/339 841s # End of fetch-all1 tests 841s # Start of fetch-all2 tests 841s ok 554 /regex/fetch-all2/340 841s ok 555 /regex/fetch-all2/341 841s ok 556 /regex/fetch-all2/342 841s # End of fetch-all2 tests 841s # Start of fetch-all3 tests 841s ok 557 /regex/fetch-all3/343 841s ok 558 /regex/fetch-all3/344 841s ok 559 /regex/fetch-all3/345 841s ok 560 /regex/fetch-all3/346 841s ok 561 /regex/fetch-all3/347 841s # End of fetch-all3 tests 841s # Start of split tests 841s # Start of simple0 tests 841s ok 562 /regex/split/simple0/348 841s ok 563 /regex/split/simple0/349 841s ok 564 /regex/split/simple0/364 841s ok 565 /regex/split/simple0/365 841s # End of simple0 tests 841s # Start of simple1 tests 841s ok 566 /regex/split/simple1/350 841s ok 567 /regex/split/simple1/351 841s # End of simple1 tests 841s # Start of simple2 tests 841s ok 568 /regex/split/simple2/352 841s ok 569 /regex/split/simple2/358 841s ok 570 /regex/split/simple2/360 841s # End of simple2 tests 841s # Start of simple3 tests 841s ok 571 /regex/split/simple3/353 841s ok 572 /regex/split/simple3/354 841s ok 573 /regex/split/simple3/355 841s ok 574 /regex/split/simple3/356 841s ok 575 /regex/split/simple3/357 841s ok 576 /regex/split/simple3/359 841s ok 577 /regex/split/simple3/361 841s ok 578 /regex/split/simple3/362 841s ok 579 /regex/split/simple3/363 841s # End of simple3 tests 841s # End of split tests 841s # Start of split0 tests 841s ok 580 /regex/split0/366 841s ok 581 /regex/split0/368 841s # End of split0 tests 841s # Start of full-split0 tests 841s ok 582 /regex/full-split0/367 841s ok 583 /regex/full-split0/369 841s ok 584 /regex/full-split0/370 841s ok 585 /regex/full-split0/371 841s ok 586 /regex/full-split0/372 841s # End of full-split0 tests 841s # Start of split1 tests 841s ok 587 /regex/split1/373 841s ok 588 /regex/split1/376 841s # End of split1 tests 841s # Start of full-split1 tests 841s ok 589 /regex/full-split1/374 841s ok 590 /regex/full-split1/375 841s ok 591 /regex/full-split1/377 841s ok 592 /regex/full-split1/378 841s ok 593 /regex/full-split1/404 841s # End of full-split1 tests 841s # Start of split2 tests 841s ok 594 /regex/split2/379 841s ok 595 /regex/split2/383 841s ok 596 /regex/split2/395 841s # End of split2 tests 841s # Start of full-split2 tests 841s ok 597 /regex/full-split2/380 841s ok 598 /regex/full-split2/381 841s ok 599 /regex/full-split2/382 841s ok 600 /regex/full-split2/384 841s ok 601 /regex/full-split2/396 841s ok 602 /regex/full-split2/399 841s ok 603 /regex/full-split2/405 841s # End of full-split2 tests 841s # Start of split3 tests 841s ok 604 /regex/split3/385 841s ok 605 /regex/split3/387 841s ok 606 /regex/split3/389 841s ok 607 /regex/split3/391 841s ok 608 /regex/split3/393 841s ok 609 /regex/split3/397 841s ok 610 /regex/split3/400 841s ok 611 /regex/split3/402 841s # End of split3 tests 841s # Start of full-split3 tests 841s ok 612 /regex/full-split3/386 841s ok 613 /regex/full-split3/388 841s ok 614 /regex/full-split3/390 841s ok 615 /regex/full-split3/392 841s ok 616 /regex/full-split3/394 841s ok 617 /regex/full-split3/398 841s ok 618 /regex/full-split3/401 841s ok 619 /regex/full-split3/403 841s ok 620 /regex/full-split3/406 841s ok 621 /regex/full-split3/407 841s # End of full-split3 tests 841s # Start of check-repacement tests 841s ok 622 /regex/check-repacement/408 841s ok 623 /regex/check-repacement/409 841s ok 624 /regex/check-repacement/410 841s ok 625 /regex/check-repacement/411 841s ok 626 /regex/check-repacement/412 841s ok 627 /regex/check-repacement/413 841s ok 628 /regex/check-repacement/414 841s ok 629 /regex/check-repacement/415 841s # End of check-repacement tests 841s # Start of expand tests 841s ok 630 /regex/expand/416 841s ok 631 /regex/expand/417 841s ok 632 /regex/expand/418 841s ok 633 /regex/expand/419 841s ok 634 /regex/expand/420 841s ok 635 /regex/expand/421 841s ok 636 /regex/expand/422 841s ok 637 /regex/expand/423 841s ok 638 /regex/expand/424 841s ok 639 /regex/expand/425 841s ok 640 /regex/expand/426 841s ok 641 /regex/expand/427 841s ok 642 /regex/expand/428 841s ok 643 /regex/expand/429 841s ok 644 /regex/expand/430 841s ok 645 /regex/expand/431 841s ok 646 /regex/expand/432 841s ok 647 /regex/expand/433 841s ok 648 /regex/expand/434 841s ok 649 /regex/expand/435 841s ok 650 /regex/expand/436 841s ok 651 /regex/expand/437 841s ok 652 /regex/expand/438 841s ok 653 /regex/expand/439 841s ok 654 /regex/expand/440 841s ok 655 /regex/expand/441 841s ok 656 /regex/expand/442 841s ok 657 /regex/expand/443 841s ok 658 /regex/expand/444 841s ok 659 /regex/expand/445 841s ok 660 /regex/expand/446 841s ok 661 /regex/expand/447 841s ok 662 /regex/expand/448 841s ok 663 /regex/expand/449 841s ok 664 /regex/expand/450 841s ok 665 /regex/expand/451 841s ok 666 /regex/expand/452 841s ok 667 /regex/expand/453 841s ok 668 /regex/expand/454 841s ok 669 /regex/expand/455 841s ok 670 /regex/expand/456 841s ok 671 /regex/expand/457 841s ok 672 /regex/expand/458 841s ok 673 /regex/expand/459 841s ok 674 /regex/expand/460 841s ok 675 /regex/expand/461 841s ok 676 /regex/expand/462 841s ok 677 /regex/expand/463 841s ok 678 /regex/expand/464 841s ok 679 /regex/expand/465 841s ok 680 /regex/expand/466 841s ok 681 /regex/expand/467 841s ok 682 /regex/expand/468 841s ok 683 /regex/expand/469 841s ok 684 /regex/expand/470 841s ok 685 /regex/expand/471 841s ok 686 /regex/expand/472 841s ok 687 /regex/expand/473 841s ok 688 /regex/expand/474 841s ok 689 /regex/expand/475 841s ok 690 /regex/expand/476 841s ok 691 /regex/expand/477 841s ok 692 /regex/expand/478 841s ok 693 /regex/expand/479 841s ok 694 /regex/expand/480 841s ok 695 /regex/expand/481 841s # End of expand tests 841s # Start of replace tests 841s ok 696 /regex/replace/482 841s ok 697 /regex/replace/483 841s ok 698 /regex/replace/484 841s ok 699 /regex/replace/485 841s ok 700 /regex/replace/486 841s ok 701 /regex/replace/487 841s ok 702 /regex/replace/488 841s ok 703 /regex/replace/489 841s ok 704 /regex/replace/490 841s ok 705 /regex/replace/491 841s ok 706 /regex/replace/492 841s ok 707 /regex/replace/493 841s ok 708 /regex/replace/494 841s ok 709 /regex/replace/495 841s ok 710 /regex/replace/496 841s ok 711 /regex/replace/497 841s ok 712 /regex/replace/498 841s ok 713 /regex/replace/499 841s ok 714 /regex/replace/500 841s ok 715 /regex/replace/501 841s ok 716 /regex/replace/502 841s ok 717 /regex/replace/503 841s ok 718 /regex/replace/504 841s ok 719 /regex/replace/505 841s ok 720 /regex/replace/506 841s ok 721 /regex/replace/507 841s ok 722 /regex/replace/508 841s ok 723 /regex/replace/509 841s # End of replace tests 841s # Start of replace-optimized tests 841s ok 724 /regex/replace-optimized/482 841s ok 725 /regex/replace-optimized/483 841s ok 726 /regex/replace-optimized/484 841s ok 727 /regex/replace-optimized/485 841s ok 728 /regex/replace-optimized/486 841s ok 729 /regex/replace-optimized/487 841s ok 730 /regex/replace-optimized/488 841s ok 731 /regex/replace-optimized/489 841s ok 732 /regex/replace-optimized/490 841s ok 733 /regex/replace-optimized/491 841s ok 734 /regex/replace-optimized/492 841s ok 735 /regex/replace-optimized/493 841s ok 736 /regex/replace-optimized/494 841s ok 737 /regex/replace-optimized/495 841s ok 738 /regex/replace-optimized/496 841s ok 739 /regex/replace-optimized/497 841s ok 740 /regex/replace-optimized/498 841s ok 741 /regex/replace-optimized/499 841s ok 742 /regex/replace-optimized/500 841s ok 743 /regex/replace-optimized/501 841s ok 744 /regex/replace-optimized/502 841s ok 745 /regex/replace-optimized/503 841s ok 746 /regex/replace-optimized/504 841s ok 747 /regex/replace-optimized/505 841s ok 748 /regex/replace-optimized/506 841s ok 749 /regex/replace-optimized/507 841s ok 750 /regex/replace-optimized/508 841s ok 751 /regex/replace-optimized/509 841s # End of replace-optimized tests 841s # Start of replace-literally tests 841s ok 752 /regex/replace-literally/510 841s ok 753 /regex/replace-literally/511 841s ok 754 /regex/replace-literally/512 841s ok 755 /regex/replace-literally/513 841s ok 756 /regex/replace-literally/514 841s ok 757 /regex/replace-literally/515 841s ok 758 /regex/replace-literally/516 841s ok 759 /regex/replace-literally/517 841s ok 760 /regex/replace-literally/518 841s ok 761 /regex/replace-literally/519 841s ok 762 /regex/replace-literally/520 841s ok 763 /regex/replace-literally/521 841s ok 764 /regex/replace-literally/522 841s ok 765 /regex/replace-literally/523 841s ok 766 /regex/replace-literally/524 841s ok 767 /regex/replace-literally/525 841s ok 768 /regex/replace-literally/526 841s ok 769 /regex/replace-literally/527 841s ok 770 /regex/replace-literally/528 841s ok 771 /regex/replace-literally/529 841s # End of replace-literally tests 841s # Start of string-number tests 841s ok 772 /regex/string-number/530 841s ok 773 /regex/string-number/531 841s ok 774 /regex/string-number/532 841s ok 775 /regex/string-number/533 841s ok 776 /regex/string-number/534 841s ok 777 /regex/string-number/535 841s ok 778 /regex/string-number/536 841s ok 779 /regex/string-number/537 841s ok 780 /regex/string-number/538 841s ok 781 /regex/string-number/539 841s ok 782 /regex/string-number/540 841s ok 783 /regex/string-number/541 841s ok 784 /regex/string-number/542 841s ok 785 /regex/string-number/543 841s ok 786 /regex/string-number/544 841s # End of string-number tests 841s # Start of escape_nul tests 841s ok 787 /regex/escape_nul/545 841s ok 788 /regex/escape_nul/546 841s ok 789 /regex/escape_nul/547 841s ok 790 /regex/escape_nul/548 841s ok 791 /regex/escape_nul/549 841s ok 792 /regex/escape_nul/550 841s ok 793 /regex/escape_nul/551 841s ok 794 /regex/escape_nul/552 841s ok 795 /regex/escape_nul/553 841s ok 796 /regex/escape_nul/554 841s ok 797 /regex/escape_nul/555 841s ok 798 /regex/escape_nul/556 841s ok 799 /regex/escape_nul/557 841s ok 800 /regex/escape_nul/558 841s ok 801 /regex/escape_nul/559 841s # End of escape_nul tests 841s # Start of escape tests 841s ok 802 /regex/escape/560 841s ok 803 /regex/escape/561 841s ok 804 /regex/escape/562 841s ok 805 /regex/escape/563 841s ok 806 /regex/escape/564 841s ok 807 /regex/escape/565 841s ok 808 /regex/escape/566 841s ok 809 /regex/escape/567 841s ok 810 /regex/escape/568 841s ok 811 /regex/escape/569 841s ok 812 /regex/escape/570 841s ok 813 /regex/escape/571 841s ok 814 /regex/escape/572 841s ok 815 /regex/escape/573 841s ok 816 /regex/escape/574 841s ok 817 /regex/escape/575 841s ok 818 /regex/escape/576 841s ok 819 /regex/escape/577 841s # End of escape tests 841s # Start of match-all0 tests 841s ok 820 /regex/match-all0/578 841s ok 821 /regex/match-all0/580 841s # End of match-all0 tests 841s # Start of match-all-full0 tests 841s ok 822 /regex/match-all-full0/579 841s ok 823 /regex/match-all-full0/581 841s ok 824 /regex/match-all-full0/582 841s ok 825 /regex/match-all-full0/583 841s # End of match-all-full0 tests 841s # Start of match-all1 tests 841s ok 826 /regex/match-all1/584 841s ok 827 /regex/match-all1/586 841s ok 828 /regex/match-all1/591 841s # End of match-all1 tests 841s # Start of match-all-full1 tests 841s ok 829 /regex/match-all-full1/585 841s ok 830 /regex/match-all-full1/587 841s ok 831 /regex/match-all-full1/588 841s ok 832 /regex/match-all-full1/589 841s ok 833 /regex/match-all-full1/590 841s ok 834 /regex/match-all-full1/592 841s # End of match-all-full1 tests 841s # Start of match-all2 tests 841s ok 835 /regex/match-all2/593 841s ok 836 /regex/match-all2/595 841s ok 837 /regex/match-all2/597 841s # End of match-all2 tests 841s # Start of match-all-full2 tests 841s ok 838 /regex/match-all-full2/594 841s ok 839 /regex/match-all-full2/596 841s ok 840 /regex/match-all-full2/598 841s # End of match-all-full2 tests 841s # Start of match-all3 tests 841s ok 841 /regex/match-all3/599 841s ok 842 /regex/match-all3/601 841s # End of match-all3 tests 841s # Start of match-all-full3 tests 841s ok 843 /regex/match-all-full3/600 841s ok 844 /regex/match-all-full3/602 841s # End of match-all-full3 tests 841s # Start of match-notempty tests 841s ok 845 /regex/match-notempty/603 841s # End of match-notempty tests 841s # Start of match-notempty-optimized tests 841s ok 846 /regex/match-notempty-optimized/603 841s # End of match-notempty-optimized tests 841s # Start of match-notempty-atstart tests 841s ok 847 /regex/match-notempty-atstart/604 841s # End of match-notempty-atstart tests 841s # Start of match-notempty-atstart-optimized tests 841s ok 848 /regex/match-notempty-atstart-optimized/604 841s # End of match-notempty-atstart-optimized tests 841s # End of regex tests 841s ok - glib/regex.test 841s # Running test: glib/guuid.test 841s TAP version 13 841s # random seed: R02S7162f35f1b0f8f275c4af9afe7221315 841s 1..2 841s # Start of uuid tests 841s ok 1 /uuid/string 841s ok 2 /uuid/random 841s # End of uuid tests 841s ok - glib/guuid.test 841s # Running test: glib/macros-c-11.test 841s TAP version 13 841s # random seed: R02Sac36e308657b7f24e1dbe66da54e5280 841s 1..4 841s # Start of C tests 841s ok 1 /C/standard-11 841s # End of C tests 841s # Start of alignof tests 841s ok 2 /alignof/fallback 841s # End of alignof tests 841s # Start of assert tests 841s ok 3 /assert/static 841s # End of assert tests 841s # Start of struct tests 841s ok 4 /struct/sizeof_member 841s # End of struct tests 841s ok - glib/macros-c-11.test 841s # Running test: glib/threadtests.test 841s TAP version 13 841s # random seed: R02Se3a9d4a6a742e5ce75b2a6d3c782476f 841s 1..5 841s # Start of GObject tests 841s ok 1 /GObject/threaded-object-init 842s # Executing: glib/threadtests.test 842s ok 2 /GObject/threaded-weak-ref 842s # slow test /GObject/threaded-weak-ref executed in 0.95 secs 842s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 842s # /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 842s ok 3 /GObject/threaded-toggle-notify 842s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 842s # Start of threaded-weak-ref tests 842s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 842s # /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. 842s ok 5 /GObject/threaded-weak-ref/on-finalization 842s # End of threaded-weak-ref tests 842s # End of GObject tests 842s ok - glib/threadtests.test 842s # Running test: glib/gsubprocess.test 842s TAP version 13 842s # random seed: R02Scbd943de577822e281e9c79fb049934b 842s 1..83 842s # Start of gsubprocess tests 842s ok 1 /gsubprocess/noop 842s ok 2 /gsubprocess/noop-all-to-null 842s ok 3 /gsubprocess/noop-no-wait 842s ok 4 /gsubprocess/noop-stdin-inherit 842s ok 5 /gsubprocess/search-path 842s ok 6 /gsubprocess/search-path-from-envp 846s ok 7 /gsubprocess/signal 846s # slow test /gsubprocess/signal executed in 3.55 secs 846s ok 8 /gsubprocess/exit1 846s ok 9 /gsubprocess/echo1 846s ok 10 /gsubprocess/echo-merged 846s ok 11 /gsubprocess/cat-utf8 847s # Executing: glib/gsubprocess.test 847s ok 12 /gsubprocess/cat-eof 847s # slow test /gsubprocess/cat-eof executed in 1.00 secs 850s ok 13 /gsubprocess/multi1 850s # slow test /gsubprocess/multi1 executed in 3.02 secs 850s ok 14 /gsubprocess/communicate 852s # Executing: glib/gsubprocess.test 853s ok 15 /gsubprocess/terminate 853s # slow test /gsubprocess/terminate executed in 2.97 secs 853s ok 16 /gsubprocess/env 853s ok 17 /gsubprocess/cwd 853s ok 18 /gsubprocess/launcher-close 853s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 853s ok 19 /gsubprocess/stdout-file 853s ok 20 /gsubprocess/stdout-fd 853s ok 21 /gsubprocess/child-setup 853s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 853s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 853s ok 22 /gsubprocess/launcher-environment 853s # Start of exit1 tests 853s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 853s ok 23 /gsubprocess/exit1/cancel 853s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 853s ok 24 /gsubprocess/exit1/cancel_in_cb 853s # End of exit1 tests 853s # Start of communicate tests 853s ok 25 /gsubprocess/communicate/cancelled 853s ok 26 /gsubprocess/communicate/async 853s ok 27 /gsubprocess/communicate/utf8 853s # hello world 853s ok 28 /gsubprocess/communicate/no-pipes 853s ok 29 /gsubprocess/communicate/separate-stderr 853s ok 30 /gsubprocess/communicate/stdout-only 853s # hello world 853s ok 31 /gsubprocess/communicate/stderr-only 853s ok 32 /gsubprocess/communicate/stdout-silence 853s ok 33 /gsubprocess/communicate/nothing 853s # Start of async tests 853s ok 34 /gsubprocess/communicate/async/cancelled 853s # hello world 853s ok 35 /gsubprocess/communicate/async/no-pipes 853s ok 36 /gsubprocess/communicate/async/separate-stderr 853s ok 37 /gsubprocess/communicate/async/stdout-only 853s # hello world 853s ok 38 /gsubprocess/communicate/async/stderr-only 853s ok 39 /gsubprocess/communicate/async/stdout-silence 853s # Start of cancelled tests 853s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 853s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 853s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 853s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 853s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 853s # End of cancelled tests 853s # End of async tests 853s # Start of utf8 tests 853s ok 45 /gsubprocess/communicate/utf8/cancelled 853s ok 46 /gsubprocess/communicate/utf8/async 853s # hello world 853s ok 47 /gsubprocess/communicate/utf8/no-pipes 853s ok 48 /gsubprocess/communicate/utf8/separate-stderr 853s ok 49 /gsubprocess/communicate/utf8/stdout-only 853s # hello world 853s ok 50 /gsubprocess/communicate/utf8/stderr-only 853s ok 51 /gsubprocess/communicate/utf8/stdout-silence 853s ok 52 /gsubprocess/communicate/utf8/invalid 853s # Start of async tests 853s ok 53 /gsubprocess/communicate/utf8/async/cancelled 853s # hello world 853s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 853s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 853s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 853s # hello world 853s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 853s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 853s ok 59 /gsubprocess/communicate/utf8/async/invalid 853s # Start of cancelled tests 853s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 853s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 853s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 853s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 853s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 853s # End of cancelled tests 853s # End of async tests 853s # Start of cancelled tests 853s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 853s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 853s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 853s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 853s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 853s # End of cancelled tests 853s # End of utf8 tests 853s # Start of cancelled tests 853s ok 70 /gsubprocess/communicate/cancelled/no-pipes 853s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 853s ok 72 /gsubprocess/communicate/cancelled/stdout-only 853s ok 73 /gsubprocess/communicate/cancelled/stderr-only 853s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 853s # End of cancelled tests 853s # End of communicate tests 853s # Start of env tests 853s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 853s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 853s ok 75 /gsubprocess/env/inherit 853s # End of env tests 853s # Start of pass-fd tests 853s ok 76 /gsubprocess/pass-fd/basic 853s ok 77 /gsubprocess/pass-fd/empty-child-setup 853s ok 78 /gsubprocess/pass-fd/inherit-fds 853s # End of pass-fd tests 853s # Start of fd-conflation tests 853s ok 79 /gsubprocess/fd-conflation/basic 853s ok 80 /gsubprocess/fd-conflation/empty-child-setup 853s ok 81 /gsubprocess/fd-conflation/inherit-fds 853s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 853s # End of fd-conflation tests 853s # Start of exit-status tests 853s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 853s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 853s ok 83 /gsubprocess/exit-status/trapped 853s # End of exit-status tests 853s # End of gsubprocess tests 853s ok - glib/gsubprocess.test 853s # Running test: glib/include.test 853s TAP version 13 853s # random seed: R02S9027ecf997300fc526da52a161c2c46e 853s 1..1 853s # Start of include tests 853s ok 1 /include/rwlock 853s # End of include tests 853s ok - glib/include.test 853s # Running test: glib/gdbus-connection-flush.test 853s TAP version 13 853s # random seed: R02S0f8748891f2ccd38ca529421d5dd4ce7 853s 1..2 853s # Start of gdbus tests 853s # Start of connection tests 853s # Start of flush tests 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_MB7ZK2/gdbus/connection/flush/busy/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_MB7ZK2/gdbus/connection/flush/busy/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_MB7ZK2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_MB7ZK2/gdbus/connection/flush/busy/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_MB7ZK2/gdbus/connection/flush/busy/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_MB7ZK2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_MB7ZK2/gdbus/connection/flush/busy/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_MB7ZK2/gdbus/connection/flush/busy/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_MB7ZK2/gdbus/connection/flush/busy/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_MB7ZK2/gdbus/connection/flush/busy/.dirs/runtime 853s ok 1 /gdbus/connection/flush/busy 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_MB7ZK2/gdbus/connection/flush/idle/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_MB7ZK2/gdbus/connection/flush/idle/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_MB7ZK2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_MB7ZK2/gdbus/connection/flush/idle/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_MB7ZK2/gdbus/connection/flush/idle/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_MB7ZK2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_MB7ZK2/gdbus/connection/flush/idle/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_MB7ZK2/gdbus/connection/flush/idle/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_MB7ZK2/gdbus/connection/flush/idle/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_MB7ZK2/gdbus/connection/flush/idle/.dirs/runtime 853s ok 2 /gdbus/connection/flush/idle 853s # End of flush tests 853s # End of connection tests 853s # End of gdbus tests 853s ok - glib/gdbus-connection-flush.test 853s # Running test: glib/gdbus-test-codegen-old.test 853s TAP version 13 853s # random seed: R02S908d4514ee17026d5b428bc00e05a224 853s 1..8 853s # Start of gdbus tests 853s # Start of codegen tests 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/annotations/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/annotations/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/annotations/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/annotations/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/annotations/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/annotations/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/annotations/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/annotations/.dirs/runtime 853s ok 1 /gdbus/codegen/annotations 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/interface_stability/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/interface_stability/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/interface_stability/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/interface_stability/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/interface_stability/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/interface_stability/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/interface_stability/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/interface_stability/.dirs/runtime 853s ok 2 /gdbus/codegen/interface_stability 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/object-manager/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/object-manager/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/object-manager/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/object-manager/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/object-manager/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/object-manager/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/object-manager/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/object-manager/.dirs/runtime 853s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 853s ok 3 /gdbus/codegen/object-manager 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/property-naming/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/property-naming/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/property-naming/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/property-naming/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/property-naming/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/property-naming/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/property-naming/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/property-naming/.dirs/runtime 853s ok 4 /gdbus/codegen/property-naming 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/autocleanups/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/autocleanups/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/autocleanups/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/autocleanups/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/autocleanups/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/autocleanups/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/autocleanups/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/autocleanups/.dirs/runtime 853s ok 5 /gdbus/codegen/autocleanups 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/deprecations/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/deprecations/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/deprecations/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/deprecations/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/deprecations/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/deprecations/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/deprecations/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/deprecations/.dirs/runtime 853s ok 6 /gdbus/codegen/deprecations 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/standalone-interface-info/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/standalone-interface-info/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/standalone-interface-info/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/standalone-interface-info/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/standalone-interface-info/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 853s ok 7 /gdbus/codegen/standalone-interface-info 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/unix-fd-list/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/unix-fd-list/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/unix-fd-list/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/unix-fd-list/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/unix-fd-list/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_DDZZK2/gdbus/codegen/unix-fd-list/.dirs/runtime 853s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 853s ok 8 /gdbus/codegen/unix-fd-list 853s # End of codegen tests 853s # End of gdbus tests 853s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 853s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 853s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 853s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 853s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 853s ok - glib/gdbus-test-codegen-old.test 853s # Running test: glib/type-flags.test 853s TAP version 13 853s # random seed: R02Sb6146674e3018de0da6c234df2d7efc3 853s 1..4 853s # Start of type tests 853s # Start of flags tests 853s ok 1 /type/flags/interface 853s ok 2 /type/flags/final 853s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 853s ok 3 /type/flags/deprecated 853s # Start of final tests 853s ok 4 /type/flags/final/instance-check 853s # End of final tests 853s # End of flags tests 853s # End of type tests 853s ok - glib/type-flags.test 853s # Running test: glib/utf8-pointer.test 853s TAP version 13 853s # random seed: R02S4b54d0157eef86763fa9f1768bedff8f 853s 1..3 853s # Start of utf8 tests 854s ok 1 /utf8/offsets 854s # slow test /utf8/offsets executed in 0.72 secs 854s ok 2 /utf8/lengths 854s ok 3 /utf8/find 854s # End of utf8 tests 854s ok - glib/utf8-pointer.test 854s # Running test: glib/gdbus-exit-on-close.test 854s TAP version 13 854s # random seed: R02Saffee4f9ee98447d14bc9cb11d465900 854s 1..4 854s # Start of gdbus tests 854s # Start of exit-on-close tests 854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/default/.dirs/home 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/default/.dirs/cache 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/default/.dirs/system-config2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/default/.dirs/config 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/default/.dirs/system-data2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/default/.dirs/data 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/default/.dirs/state 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/default/.dirs/runtime 854s ok 1 /gdbus/exit-on-close/default 854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/true/.dirs/home 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/true/.dirs/cache 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/true/.dirs/system-config2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/true/.dirs/config 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/true/.dirs/system-data2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/true/.dirs/data 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/true/.dirs/state 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/true/.dirs/runtime 854s ok 2 /gdbus/exit-on-close/true 854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/false/.dirs/home 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/false/.dirs/cache 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/false/.dirs/system-config2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/false/.dirs/config 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/false/.dirs/system-data2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/false/.dirs/data 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/false/.dirs/state 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/false/.dirs/runtime 854s ok 3 /gdbus/exit-on-close/false 854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/we-close/.dirs/home 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/we-close/.dirs/cache 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/we-close/.dirs/system-config2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/we-close/.dirs/config 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/we-close/.dirs/system-data2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/we-close/.dirs/data 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/we-close/.dirs/state 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_H9Q3K2/gdbus/exit-on-close/we-close/.dirs/runtime 854s ok 4 /gdbus/exit-on-close/we-close 854s # Start of default tests 854s # End of default tests 854s # Start of true tests 854s # End of true tests 854s # Start of false tests 854s # End of false tests 854s # Start of we-close tests 854s # End of we-close tests 854s # End of exit-on-close tests 854s # End of gdbus tests 854s ok - glib/gdbus-exit-on-close.test 854s # Running test: glib/gdbus-non-socket.test 854s TAP version 13 854s # random seed: R02Sd4840f089546a5d551250f58da275948 854s 1..1 854s # Start of gdbus tests 854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_BYSLK2/gdbus/non-socket/.dirs/home 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_BYSLK2/gdbus/non-socket/.dirs/cache 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_BYSLK2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_BYSLK2/gdbus/non-socket/.dirs/system-config2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_BYSLK2/gdbus/non-socket/.dirs/config 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_BYSLK2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_BYSLK2/gdbus/non-socket/.dirs/system-data2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_BYSLK2/gdbus/non-socket/.dirs/data 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_BYSLK2/gdbus/non-socket/.dirs/state 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_BYSLK2/gdbus/non-socket/.dirs/runtime 854s ok 1 /gdbus/non-socket 854s # End of gdbus tests 854s ok - glib/gdbus-non-socket.test 854s # Running test: glib/markup-subparser.test 854s TAP version 13 854s # random seed: R02S6b4bbbc0f84366c51e5eda86b0a85dce 854s 1..14 854s # Start of glib tests 854s # Start of markup tests 854s # Start of subparser tests 854s # Start of success tests 854s ok 1 /glib/markup/subparser/success/0 854s ok 2 /glib/markup/subparser/success/1 854s ok 3 /glib/markup/subparser/success/2 854s ok 4 /glib/markup/subparser/success/3 854s ok 5 /glib/markup/subparser/success/4 854s ok 6 /glib/markup/subparser/success/5 854s ok 7 /glib/markup/subparser/success/6 854s # End of success tests 854s # Start of failure tests 854s ok 8 /glib/markup/subparser/failure/0 854s ok 9 /glib/markup/subparser/failure/1 854s ok 10 /glib/markup/subparser/failure/2 854s ok 11 /glib/markup/subparser/failure/3 854s ok 12 /glib/markup/subparser/failure/4 854s ok 13 /glib/markup/subparser/failure/5 854s ok 14 /glib/markup/subparser/failure/6 854s # End of failure tests 854s # End of subparser tests 854s # End of markup tests 854s # End of glib tests 854s ok - glib/markup-subparser.test 854s # Running test: glib/gdbus-proxy-threads.test 854s TAP version 13 854s # random seed: R02Se543e7c1168c35cb4b6bd60e22d09235 854s 1..1 854s # Start of gdbus tests 854s # Start of proxy tests 854s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_6HOLK2/gdbus/proxy/vs-threads/.dirs/home 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_6HOLK2/gdbus/proxy/vs-threads/.dirs/cache 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_6HOLK2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_6HOLK2/gdbus/proxy/vs-threads/.dirs/system-config2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_6HOLK2/gdbus/proxy/vs-threads/.dirs/config 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_6HOLK2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_6HOLK2/gdbus/proxy/vs-threads/.dirs/system-data2 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_6HOLK2/gdbus/proxy/vs-threads/.dirs/data 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_6HOLK2/gdbus/proxy/vs-threads/.dirs/state 854s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_6HOLK2/gdbus/proxy/vs-threads/.dirs/runtime 854s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 856s ok 1 /gdbus/proxy/vs-threads 856s # slow test /gdbus/proxy/vs-threads executed in 1.95 secs 856s # End of proxy tests 856s # End of gdbus tests 856s cleaning up pid 14678 856s ok - glib/gdbus-proxy-threads.test 856s # Running test: glib/once.test 856s TAP version 13 856s # random seed: R02Se88a75654d85ee8c3a870f6679be96f4 856s 1..5 856s # Start of once tests 856s # /once/single-threaded summary: Test g_once() usage from a single thread 856s ok 1 /once/single-threaded 856s # /once/multi-threaded summary: Test g_once() usage from multiple threads 856s ok 2 /once/multi-threaded 856s # End of once tests 856s # Start of once-init tests 856s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 856s ok 3 /once-init/single-threaded 856s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 856s ok 4 /once-init/multi-threaded 856s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 856s ok 5 /once-init/string 856s # End of once-init tests 856s ok - glib/once.test 856s # Running test: glib/boxed.test 856s TAP version 13 856s # random seed: R02S160812a83b2c335e776e8a5538add563 856s 1..27 856s # Start of boxed tests 856s ok 1 /boxed/define 856s ok 2 /boxed/ownership 856s ok 3 /boxed/closure 856s ok 4 /boxed/date 856s ok 5 /boxed/value 856s ok 6 /boxed/string 856s ok 7 /boxed/hashtable 856s ok 8 /boxed/array 856s ok 9 /boxed/ptrarray 856s ok 10 /boxed/regex 856s ok 11 /boxed/varianttype 856s ok 12 /boxed/error 856s ok 13 /boxed/datetime 856s ok 14 /boxed/matchinfo 856s ok 15 /boxed/keyfile 856s ok 16 /boxed/mainloop 856s ok 17 /boxed/maincontext 856s ok 18 /boxed/source 856s ok 19 /boxed/variantbuilder 856s ok 20 /boxed/timezone 856s ok 21 /boxed/pollfd 856s ok 22 /boxed/markup 856s ok 23 /boxed/thread 856s ok 24 /boxed/checksum 856s ok 25 /boxed/tree 856s ok 26 /boxed/patternspec 856s ok 27 /boxed/rand 856s # End of boxed tests 856s ok - glib/boxed.test 856s # Running test: glib/defaultiface.test 856s TAP version 13 856s # random seed: R02S00ff4582c95c113a23319ceddef85c31 856s 1..2 856s # Start of gobject tests 856s ok 1 /gobject/static-iface 856s ok 2 /gobject/dynamic-iface 856s # End of gobject tests 856s ok - glib/defaultiface.test 856s # Running test: glib/option-context.test 856s TAP version 13 856s # random seed: R02S345024640a22c10a9c90d6142c793d94 856s 1..57 856s # Start of option tests 856s ok 1 /option/basic 856s ok 2 /option/translate 856s ok 3 /option/strict-posix 856s # Start of help tests 856s ok 4 /option/help/options 856s ok 5 /option/help/no-options 856s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 856s ok 6 /option/help/no-help-options 856s # End of help tests 856s # Start of group tests 856s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 856s ok 7 /option/group/captions 856s ok 8 /option/group/main 856s ok 9 /option/group/error-hook 856s ok 10 /option/group/parse 856s # Start of captions tests 856s # Start of subprocess tests 856s # End of subprocess tests 856s # End of captions tests 856s # End of group tests 856s # Start of restoration tests 856s ok 11 /option/restoration/int 856s ok 12 /option/restoration/string 856s ok 13 /option/restoration/boolean 856s # End of restoration tests 856s # Start of arg tests 856s ok 14 /option/arg/reverse-string 856s ok 15 /option/arg/optional-int 856s # Start of repetition tests 856s ok 16 /option/arg/repetition/int 856s ok 17 /option/arg/repetition/string 856s ok 18 /option/arg/repetition/filename 856s ok 19 /option/arg/repetition/double 856s ok 20 /option/arg/repetition/locale 856s ok 21 /option/arg/repetition/int64 856s # End of repetition tests 856s # Start of array tests 856s ok 22 /option/arg/array/string 856s # End of array tests 856s # Start of callback tests 856s ok 23 /option/arg/callback/string 856s ok 24 /option/arg/callback/count 856s ok 25 /option/arg/callback/optional1 856s ok 26 /option/arg/callback/optional2 856s ok 27 /option/arg/callback/optional3 856s ok 28 /option/arg/callback/optional4 856s ok 29 /option/arg/callback/optional5 856s ok 30 /option/arg/callback/optional6 856s ok 31 /option/arg/callback/optional7 856s ok 32 /option/arg/callback/optional8 856s # End of callback tests 856s # Start of remaining tests 856s ok 33 /option/arg/remaining/callback 856s ok 34 /option/arg/remaining/callback-false 856s ok 35 /option/arg/remaining/non-option 856s ok 36 /option/arg/remaining/separator 856s ok 37 /option/arg/remaining/array 856s # End of remaining tests 856s # Start of ignore tests 856s ok 38 /option/arg/ignore/long 856s ok 39 /option/arg/ignore/short 856s ok 40 /option/arg/ignore/arg 856s # End of ignore tests 856s # Start of rest tests 856s ok 41 /option/arg/rest/non-option 856s ok 42 /option/arg/rest/separator1 856s ok 43 /option/arg/rest/separator2 856s ok 44 /option/arg/rest/separator3 856s ok 45 /option/arg/rest/separator4 856s ok 46 /option/arg/rest/separator5 856s # End of rest tests 856s # End of arg tests 856s # Start of context tests 856s ok 47 /option/context/add 856s ok 48 /option/context/empty2 856s ok 49 /option/context/empty3 856s # End of context tests 856s # Start of bug tests 856s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 856s ok 50 /option/bug/unknown-short 856s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 856s ok 51 /option/bug/lonely-dash 856s ok 52 /option/bug/triple-dash 856s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 856s ok 53 /option/bug/missing-arg 856s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 856s ok 54 /option/bug/dash-arg 856s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 856s ok 55 /option/bug/short-remaining 856s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 856s ok 56 /option/bug/double-free 856s ok 57 /option/bug/double-zero 856s # End of bug tests 856s # End of option tests 856s ok - glib/option-context.test 856s # Running test: glib/genmarshal.py.test 856s TAP version 13 856s ok 1 __main__.TestGenmarshal.test_empty_list 856s # tmpdir: /tmp/tmpn6p48nn5 856s # genmarshal: /usr/bin/glib-genmarshal 856s # /tmp/tmpn6p48nn5/tmp7idetaq2.list: 856s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpn6p48nn5/tmp7idetaq2.list', '--header', '--quiet'] 856s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 856s # 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. */ 856s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 856s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 856s # 856s # #include 856s # 856s # G_BEGIN_DECLS 856s # 856s # 856s # G_END_DECLS 856s # 856s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 856s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpn6p48nn5/tmp7idetaq2.list', '--body', '--quiet'] 856s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 856s # 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. */ 856s # #include 856s # 856s # #ifdef G_ENABLE_DEBUG 856s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 856s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 856s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 856s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 856s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 856s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 856s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 856s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 856s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 856s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 856s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 856s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 856s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 856s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 856s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 856s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 856s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 856s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 856s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 856s # #else /* !G_ENABLE_DEBUG */ 856s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 856s # * Do not access GValues directly in your code. Instead, use the 856s # * g_value_get_*() functions 856s # */ 856s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 856s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 856s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 856s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 856s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 856s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 856s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 856s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 856s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 856s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 856s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 856s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 856s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 856s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 856s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 856s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 856s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 856s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 856s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 856s # #endif /* !G_ENABLE_DEBUG */ 856s ok 2 __main__.TestGenmarshal.test_help 856s # tmpdir: /tmp/tmp6vqdg32c 856s # genmarshal: /usr/bin/glib-genmarshal 856s # Running: ['/usr/bin/glib-genmarshal', '--help'] 856s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 856s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 856s # [--internal] [--valist-marshallers] [-v] 856s # [--g-fatal-warnings] [--include-header [HEADER]] 856s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 856s # [--prototypes] [--header] [--body] 856s # [--stdinc | --nostdinc] [--quiet | --verbose] 856s # [FILE ...] 856s # 856s # Generate signal marshallers for GObject 856s # 856s # positional arguments: 856s # FILE Files with lists of marshallers to generate, or "-" 856s # for standard input 856s # 856s # options: 856s # -h, --help show this help message and exit 856s # --prefix STRING Specify marshaller prefix 856s # --output FILE Write output into the specified file 856s # --skip-source Skip source location comments 856s # --internal Mark generated functions as internal 856s # --valist-marshallers Generate va_list marshallers 856s # -v, --version Print version information, and exit 856s # --g-fatal-warnings Make warnings fatal 856s # --include-header [HEADER] 856s # Include the specified header in the body 856s # --pragma-once Use "pragma once" as the inclusion guard 856s # -D CPP_DEFINES Pre-processor define 856s # -U CPP_UNDEFINES Pre-processor undefine 856s # --prototypes Generate the marshallers prototype in the C code 856s # --header Generate C headers 856s # --body Generate C code 856s # --stdinc Include standard marshallers 856s # --nostdinc Use standard marshallers 856s # --quiet Only print warnings and errors 856s # --verbose Be verbose, and include debugging information 856s ok 3 __main__.TestGenmarshal.test_no_args 856s # tmpdir: /tmp/tmpx4bmhvva 856s # genmarshal: /usr/bin/glib-genmarshal 856s # Running: ['/usr/bin/glib-genmarshal'] 856s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 856s # Output: 856s ok 4 __main__.TestGenmarshal.test_void_boolean 856s # tmpdir: /tmp/tmpzopnqmjg 856s # genmarshal: /usr/bin/glib-genmarshal 856s # /tmp/tmpzopnqmjg/tmp4pn24s19.list: VOID:BOOLEAN 856s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzopnqmjg/tmp4pn24s19.list', '--header', '--quiet'] 856s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 856s # 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. */ 856s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 856s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 856s # 856s # #include 856s # 856s # G_BEGIN_DECLS 856s # 856s # /* VOID:BOOLEAN (/tmp/tmpzopnqmjg/tmp4pn24s19.list:1) */ 856s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 856s # 856s # 856s # G_END_DECLS 856s # 856s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 856s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzopnqmjg/tmp4pn24s19.list', '--body', '--quiet'] 856s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 856s # 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. */ 856s # #include 856s # 856s # #ifdef G_ENABLE_DEBUG 856s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 856s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 856s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 856s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 856s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 856s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 856s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 856s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 856s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 856s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 856s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 856s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 856s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 856s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 856s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 856s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 856s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 856s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 856s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 856s # #else /* !G_ENABLE_DEBUG */ 856s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 856s # * Do not access GValues directly in your code. Instead, use the 856s # * g_value_get_*() functions 856s # */ 856s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 856s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 856s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 856s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 856s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 856s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 856s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 856s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 856s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 856s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 856s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 856s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 856s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 856s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 856s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 856s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 856s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 856s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 856s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 856s # #endif /* !G_ENABLE_DEBUG */ 857s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 857s # tmpdir: /tmp/tmp0dwli6wb 857s # genmarshal: /usr/bin/glib-genmarshal 857s # /tmp/tmp0dwli6wb/tmpw9mfxbyp.list: VOID:BOOLEAN,INT64 857s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp0dwli6wb/tmpw9mfxbyp.list', '--header', '--quiet'] 857s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 857s # 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. */ 857s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 857s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 857s # 857s # #include 857s # 857s # G_BEGIN_DECLS 857s # 857s # /* VOID:BOOLEAN,INT64 (/tmp/tmp0dwli6wb/tmpw9mfxbyp.list:1) */ 857s # extern 857s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 857s # GValue *return_value, 857s # guint n_param_values, 857s # const GValue *param_values, 857s # gpointer invocation_hint, 857s # gpointer marshal_data); 857s # 857s # 857s # G_END_DECLS 857s # 857s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 857s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp0dwli6wb/tmpw9mfxbyp.list', '--body', '--quiet'] 857s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 857s # 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. */ 857s # #include 857s # 857s # #ifdef G_ENABLE_DEBUG 857s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 857s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 857s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 857s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 857s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 857s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 857s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 857s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 857s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 857s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 857s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 857s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 857s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 857s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 857s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 857s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 857s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 857s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 857s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 857s # #else /* !G_ENABLE_DEBUG */ 857s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 857s # * Do not access GValues directly in your code. Instead, use the 857s # * g_value_get_*() functions 857s # */ 857s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 857s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 857s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 857s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 857s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 857s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 857s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 857s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 857s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 857s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 857s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 857s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 857s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 857s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 857s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 857s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 857s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 857s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 857s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 857s # #endif /* !G_ENABLE_DEBUG */ 857s # 857s # /* VOID:BOOLEAN,INT64 (/tmp/tmp0dwli6wb/tmpw9mfxbyp.list:1) */ 857s # void 857s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 857s # GValue *return_value G_GNUC_UNUSED, 857s # guint n_param_values, 857s # const GValue *param_values, 857s # gpointer invocation_hint G_GNUC_UNUSED, 857s # gpointer marshal_data) 857s # { 857s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 857s # gboolean arg1, 857s # gint64 arg2, 857s # gpointer data2); 857s # GCClosure *cc = (GCClosure *) closure; 857s # gpointer data1, data2; 857s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 857s # 857s # g_return_if_fail (n_param_values == 3); 857s # 857s # if (G_CCLOSURE_SWAP_DATA (closure)) 857s # { 857s # data1 = closure->data; 857s # data2 = g_value_peek_pointer (param_values + 0); 857s # } 857s # else 857s # { 857s # data1 = g_value_peek_pointer (param_values + 0); 857s # data2 = closure->data; 857s # } 857s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 857s # 857s # callback (data1, 857s # g_marshal_value_peek_boolean (param_values + 1), 857s # g_marshal_value_peek_int64 (param_values + 2), 857s # data2); 857s # } 857s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 857s # tmpdir: /tmp/tmp56m4nk_y 857s # genmarshal: /usr/bin/glib-genmarshal 857s # /tmp/tmp56m4nk_y/tmplb330_v9.list: VOID:PARAM 857s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp56m4nk_y/tmplb330_v9.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 857s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 857s # 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. */ 857s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 857s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 857s # 857s # G_BEGIN_DECLS 857s # 857s # /* VOID:PARAM (/tmp/tmp56m4nk_y/tmplb330_v9.list:1) */ 857s # extern 857s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 857s # GValue *return_value, 857s # guint n_param_values, 857s # const GValue *param_values, 857s # gpointer invocation_hint, 857s # gpointer marshal_data); 857s # extern 857s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 857s # GValue *return_value, 857s # gpointer instance, 857s # va_list args, 857s # gpointer marshal_data, 857s # int n_params, 857s # GType *param_types); 857s # 857s # 857s # G_END_DECLS 857s # 857s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 857s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp56m4nk_y/tmplb330_v9.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 857s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 857s # 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. */ 857s # #ifdef G_ENABLE_DEBUG 857s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 857s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 857s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 857s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 857s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 857s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 857s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 857s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 857s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 857s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 857s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 857s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 857s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 857s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 857s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 857s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 857s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 857s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 857s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 857s # #else /* !G_ENABLE_DEBUG */ 857s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 857s # * Do not access GValues directly in your code. Instead, use the 857s # * g_value_get_*() functions 857s # */ 857s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 857s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 857s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 857s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 857s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 857s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 857s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 857s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 857s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 857s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 857s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 857s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 857s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 857s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 857s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 857s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 857s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 857s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 857s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 857s # #endif /* !G_ENABLE_DEBUG */ 857s # 857s # /* VOID:PARAM (/tmp/tmp56m4nk_y/tmplb330_v9.list:1) */ 857s # void 857s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 857s # GValue *return_value G_GNUC_UNUSED, 857s # guint n_param_values, 857s # const GValue *param_values, 857s # gpointer invocation_hint G_GNUC_UNUSED, 857s # gpointer marshal_data) 857s # { 857s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 857s # gpointer arg1, 857s # gpointer data2); 857s # GCClosure *cc = (GCClosure *) closure; 857s # gpointer data1, data2; 857s # GMarshalFunc_VOID__PARAM callback; 857s # 857s # g_return_if_fail (n_param_values == 2); 857s # 857s # if (G_CCLOSURE_SWAP_DATA (closure)) 857s # { 857s # data1 = closure->data; 857s # data2 = g_value_peek_pointer (param_values + 0); 857s # } 857s # else 857s # { 857s # data1 = g_value_peek_pointer (param_values + 0); 857s # data2 = closure->data; 857s # } 857s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 857s # 857s # callback (data1, 857s # g_marshal_value_peek_param (param_values + 1), 857s # data2); 857s # } 857s # 857s # void 857s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 857s # GValue *return_value G_GNUC_UNUSED, 857s # gpointer instance, 857s # va_list args, 857s # gpointer marshal_data, 857s # int n_params, 857s # GType *param_types) 857s # { 857s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 857s # gpointer arg1, 857s # gpointer data2); 857s # GCClosure *cc = (GCClosure *) closure; 857s # gpointer data1, data2; 857s # GMarshalFunc_VOID__PARAM callback; 857s # gpointer arg0; 857s # va_list args_copy; 857s # 857s # va_copy (args_copy, args); 857s # arg0 = (gpointer) va_arg (args_copy, gpointer); 857s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 857s # arg0 = g_param_spec_ref (arg0); 857s # va_end (args_copy); 857s # 857s # 857s # if (G_CCLOSURE_SWAP_DATA (closure)) 857s # { 857s # data1 = closure->data; 857s # data2 = instance; 857s # } 857s # else 857s # { 857s # data1 = instance; 857s # data2 = closure->data; 857s # } 857s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 857s # 857s # callback (data1, 857s # arg0, 857s # data2); 857s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 857s # g_param_spec_unref (arg0); 857s # } 857s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 857s # tmpdir: /tmp/tmpmb6z_2f2 857s # genmarshal: /usr/bin/glib-genmarshal 857s # /tmp/tmpmb6z_2f2/tmp9ycuu88c.list: VOID:STRING 857s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpmb6z_2f2/tmp9ycuu88c.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 857s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 857s # 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. */ 857s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 857s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 857s # 857s # G_BEGIN_DECLS 857s # 857s # /* VOID:STRING (/tmp/tmpmb6z_2f2/tmp9ycuu88c.list:1) */ 857s # extern 857s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 857s # GValue *return_value, 857s # guint n_param_values, 857s # const GValue *param_values, 857s # gpointer invocation_hint, 857s # gpointer marshal_data); 857s # extern 857s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 857s # GValue *return_value, 857s # gpointer instance, 857s # va_list args, 857s # gpointer marshal_data, 857s # int n_params, 857s # GType *param_types); 857s # 857s # 857s # G_END_DECLS 857s # 857s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 857s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpmb6z_2f2/tmp9ycuu88c.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 857s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 857s # 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. */ 857s # #ifdef G_ENABLE_DEBUG 857s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 857s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 857s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 857s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 857s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 857s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 857s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 857s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 857s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 857s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 857s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 857s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 857s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 857s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 857s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 857s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 857s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 857s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 857s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 857s # #else /* !G_ENABLE_DEBUG */ 857s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 857s # * Do not access GValues directly in your code. Instead, use the 857s # * g_value_get_*() functions 857s # */ 857s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 857s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 857s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 857s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 857s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 857s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 857s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 857s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 857s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 857s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 857s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 857s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 857s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 857s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 857s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 857s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 857s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 857s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 857s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 857s # #endif /* !G_ENABLE_DEBUG */ 857s # 857s # /* VOID:STRING (/tmp/tmpmb6z_2f2/tmp9ycuu88c.list:1) */ 857s # void 857s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 857s # GValue *return_value G_GNUC_UNUSED, 857s # guint n_param_values, 857s # const GValue *param_values, 857s # gpointer invocation_hint G_GNUC_UNUSED, 857s # gpointer marshal_data) 857s # { 857s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 857s # gpointer arg1, 857s # gpointer data2); 857s # GCClosure *cc = (GCClosure *) closure; 857s # gpointer data1, data2; 857s # GMarshalFunc_VOID__STRING callback; 857s # 857s # g_return_if_fail (n_param_values == 2); 857s # 857s # if (G_CCLOSURE_SWAP_DATA (closure)) 857s # { 857s # data1 = closure->data; 857s # data2 = g_value_peek_pointer (param_values + 0); 857s # } 857s # else 857s # { 857s # data1 = g_value_peek_pointer (param_values + 0); 857s # data2 = closure->data; 857s # } 857s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 857s # 857s # callback (data1, 857s # g_marshal_value_peek_string (param_values + 1), 857s # data2); 857s # } 857s # 857s # void 857s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 857s # GValue *return_value G_GNUC_UNUSED, 857s # gpointer instance, 857s # va_list args, 857s # gpointer marshal_data, 857s # int n_params, 857s # GType *param_types) 857s # { 857s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 857s # gpointer arg1, 857s # gpointer data2); 857s # GCClosure *cc = (GCClosure *) closure; 857s # gpointer data1, data2; 857s # GMarshalFunc_VOID__STRING callback; 857s # gpointer arg0; 857s # va_list args_copy; 857s # 857s # va_copy (args_copy, args); 857s # arg0 = (gpointer) va_arg (args_copy, gpointer); 857s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 857s # arg0 = g_strdup (arg0); 857s # va_end (args_copy); 857s # 857s # 857s # if (G_CCLOSURE_SWAP_DATA (closure)) 857s # { 857s # data1 = closure->data; 857s # data2 = instance; 857s # } 857s # else 857s # { 857s # data1 = instance; 857s # data2 = closure->data; 857s # } 857s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 857s # 857s # callback (data1, 857s # arg0, 857s # data2); 857s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 857s # g_free (arg0); 857s # } 857s # Executing: glib/genmarshal.py.test 857s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 857s # tmpdir: /tmp/tmpu6ew5wf3 857s # genmarshal: /usr/bin/glib-genmarshal 857s # /tmp/tmpu6ew5wf3/tmpcui_mfxu.list: VOID:VARIANT 857s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpu6ew5wf3/tmpcui_mfxu.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 857s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 857s # 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. */ 857s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 857s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 857s # 857s # G_BEGIN_DECLS 857s # 857s # /* VOID:VARIANT (/tmp/tmpu6ew5wf3/tmpcui_mfxu.list:1) */ 857s # extern 857s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 857s # GValue *return_value, 857s # guint n_param_values, 857s # const GValue *param_values, 857s # gpointer invocation_hint, 857s # gpointer marshal_data); 857s # extern 857s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 857s # GValue *return_value, 857s # gpointer instance, 857s # va_list args, 857s # gpointer marshal_data, 857s # int n_params, 857s # GType *param_types); 857s # 857s # 857s # G_END_DECLS 857s # 857s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 857s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpu6ew5wf3/tmpcui_mfxu.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 857s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 857s # 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. */ 857s # #ifdef G_ENABLE_DEBUG 857s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 857s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 857s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 857s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 857s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 857s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 857s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 857s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 857s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 857s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 857s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 857s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 857s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 857s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 857s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 857s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 857s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 857s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 857s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 857s # #else /* !G_ENABLE_DEBUG */ 857s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 857s # * Do not access GValues directly in your code. Instead, use the 857s # * g_value_get_*() functions 857s # */ 857s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 857s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 857s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 857s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 857s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 857s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 857s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 857s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 857s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 857s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 857s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 857s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 857s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 857s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 857s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 857s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 857s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 857s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 857s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 857s # #endif /* !G_ENABLE_DEBUG */ 857s # 857s # /* VOID:VARIANT (/tmp/tmpu6ew5wf3/tmpcui_mfxu.list:1) */ 857s # void 857s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 857s # GValue *return_value G_GNUC_UNUSED, 857s # guint n_param_values, 857s # const GValue *param_values, 857s # gpointer invocation_hint G_GNUC_UNUSED, 857s # gpointer marshal_data) 857s # { 857s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 857s # gpointer arg1, 857s # gpointer data2); 857s # GCClosure *cc = (GCClosure *) closure; 857s # gpointer data1, data2; 857s # GMarshalFunc_VOID__VARIANT callback; 857s # 857s # g_return_if_fail (n_param_values == 2); 857s # 857s # if (G_CCLOSURE_SWAP_DATA (closure)) 857s # { 857s # data1 = closure->data; 857s # data2 = g_value_peek_pointer (param_values + 0); 857s # } 857s # else 857s # { 857s # data1 = g_value_peek_pointer (param_values + 0); 857s # data2 = closure->data; 857s # } 857s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 857s # 857s # callback (data1, 857s # g_marshal_value_peek_variant (param_values + 1), 857s # data2); 857s # } 857s # 857s # void 857s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 857s # GValue *return_value G_GNUC_UNUSED, 857s # gpointer instance, 857s # va_list args, 857s # gpointer marshal_data, 857s # int n_params, 857s # GType *param_types) 857s # { 857s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 857s # gpointer arg1, 857s # gpointer data2); 857s # GCClosure *cc = (GCClosure *) closure; 857s # gpointer data1, data2; 857s # GMarshalFunc_VOID__VARIANT callback; 857s # gpointer arg0; 857s # va_list args_copy; 857s # 857s # va_copy (args_copy, args); 857s # arg0 = (gpointer) va_arg (args_copy, gpointer); 857s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 857s # arg0 = g_variant_ref_sink (arg0); 857s # va_end (args_copy); 857s # 857s # 857s # if (G_CCLOSURE_SWAP_DATA (closure)) 857s # { 857s # data1 = closure->data; 857s # data2 = instance; 857s # } 857s # else 857s # { 857s # data1 = instance; 857s # data2 = closure->data; 857s # } 857s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 857s # 857s # callback (data1, 857s # arg0, 857s # data2); 857s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 857s # g_variant_unref (arg0); 857s # } 857s 1..8 857s ok - glib/genmarshal.py.test 857s # Running test: glib/proxy-test.test 857s TAP version 13 857s # random seed: R02S0bb7503dddcd3f0cad85e65211b3164a 857s 1..11 857s # Start of proxy tests 857s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 857s ok 1 /proxy/direct_sync 857s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 857s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa323ca980 and GSocketClientAsyncConnectData 0x2aa323c0260 857s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 857s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa323cb390 for GSocketClientAsyncConnectData 0x2aa323c0260 857s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 857s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 857s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 857s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 857s ok 2 /proxy/direct_async 857s ok 3 /proxy/single_sync 857s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 857s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa323ccc90 and GSocketClientAsyncConnectData 0x2aa323cbde0 857s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 857s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa323cd7f0 for GSocketClientAsyncConnectData 0x2aa323cbde0 857s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 857s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 857s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 857s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 857s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 857s ok 4 /proxy/single_async 857s ok 5 /proxy/multiple_sync 857s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 857s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa323cd520 and GSocketClientAsyncConnectData 0x2aa323cd2f0 857s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 857s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa323cde70 for GSocketClientAsyncConnectData 0x2aa323cd2f0 857s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 857s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 857s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 857s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 857s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 857s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa323cd880 for GSocketClientAsyncConnectData 0x2aa323cd2f0 857s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 857s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 857s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 857s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 857s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 857s ok 6 /proxy/multiple_async 857s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 857s ok 7 /proxy/invalid-uris-sync 857s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 857s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 857s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa323cdc00 and GSocketClientAsyncConnectData 0x2aa323cd100 857s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 857s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 857s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 857s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa323cdc00 and GSocketClientAsyncConnectData 0x2aa323cd100 857s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 857s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 857s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 857s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa323cdc00 and GSocketClientAsyncConnectData 0x2aa323cd100 857s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 857s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa323cbba0 for GSocketClientAsyncConnectData 0x2aa323cd100 857s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 857s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 857s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 857s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 857s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 857s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa323cd520 and GSocketClientAsyncConnectData 0x2aa323cd5e0 857s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 857s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa323cb0a0 for GSocketClientAsyncConnectData 0x2aa323cd5e0 857s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 857s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 857s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 857s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 857s ok 8 /proxy/invalid-uris-async 857s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 857s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa323cdc00 and GSocketClientAsyncConnectData 0x2aa323cd100 857s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 857s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 857s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 857s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 857s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 857s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa323cd520 and GSocketClientAsyncConnectData 0x2aa323cd5e0 857s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 857s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa323cbba0 for GSocketClientAsyncConnectData 0x2aa323cd5e0 857s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 857s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 857s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 857s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 857s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 857s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 857s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 857s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa323ccdb0 and GSocketClientAsyncConnectData 0x2aa323ce110 857s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 857s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa323cdf30 for GSocketClientAsyncConnectData 0x2aa323ce110 857s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 857s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 857s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 857s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 857s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 857s ok 9 /proxy/dns 857s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 857s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa323cd7f0 and GSocketClientAsyncConnectData 0x2aa323c79c0 857s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 857s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa323cd8b0 for GSocketClientAsyncConnectData 0x2aa323c79c0 857s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 857s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 857s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 857s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 857s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 857s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 857s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 857s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa323cb7d0 and GSocketClientAsyncConnectData 0x2aa323ce330 857s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 857s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa323cd8b0 for GSocketClientAsyncConnectData 0x2aa323ce330 857s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 857s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 857s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 857s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 857s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 857s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 857s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa323cc9a0 and GSocketClientAsyncConnectData 0x2aa323c79c0 857s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 857s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa323ce490 for GSocketClientAsyncConnectData 0x2aa323c79c0 857s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 857s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 857s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 857s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 857s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 857s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 857s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 857s ok 10 /proxy/override 857s ok 11 /proxy/enumerator-ports 857s # End of proxy tests 857s ok - glib/proxy-test.test 857s # Running test: glib/gdbus-connection.test 857s TAP version 13 857s # random seed: R02S1bf20b148938bbae94a83cdc960ada71 857s 1..9 857s # Start of gdbus tests 857s # Start of connection tests 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/bus-failure/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/bus-failure/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_64W2K2/gdbus/connection/bus-failure/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/bus-failure/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_64W2K2/gdbus/connection/bus-failure/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/bus-failure/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/bus-failure/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/bus-failure/.dirs/runtime 857s ok 1 /gdbus/connection/bus-failure 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/basic/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/basic/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_64W2K2/gdbus/connection/basic/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/basic/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_64W2K2/gdbus/connection/basic/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/basic/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/basic/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/basic/.dirs/runtime 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 857s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s ok 2 /gdbus/connection/basic 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/life-cycle/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/life-cycle/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_64W2K2/gdbus/connection/life-cycle/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/life-cycle/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_64W2K2/gdbus/connection/life-cycle/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/life-cycle/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/life-cycle/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/life-cycle/.dirs/runtime 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 857s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s ok 3 /gdbus/connection/life-cycle 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/send/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/send/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_64W2K2/gdbus/connection/send/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/send/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_64W2K2/gdbus/connection/send/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/send/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/send/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/send/.dirs/runtime 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 857s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s ok 4 /gdbus/connection/send 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/signals/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/signals/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_64W2K2/gdbus/connection/signals/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/signals/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_64W2K2/gdbus/connection/signals/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/signals/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/signals/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/signals/.dirs/runtime 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 857s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s ok 5 /gdbus/connection/signals 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/signal-match-rules/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/signal-match-rules/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_64W2K2/gdbus/connection/signal-match-rules/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/signal-match-rules/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_64W2K2/gdbus/connection/signal-match-rules/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/signal-match-rules/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/signal-match-rules/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/signal-match-rules/.dirs/runtime 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 857s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s ok 6 /gdbus/connection/signal-match-rules 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/filter/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/filter/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_64W2K2/gdbus/connection/filter/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/filter/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_64W2K2/gdbus/connection/filter/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/filter/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/filter/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/filter/.dirs/runtime 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 857s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s ok 7 /gdbus/connection/filter 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/serials/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/serials/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_64W2K2/gdbus/connection/serials/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/serials/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_64W2K2/gdbus/connection/serials/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/serials/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/serials/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/serials/.dirs/runtime 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 857s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s ok 8 /gdbus/connection/serials 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/cancel/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/cancel/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_64W2K2/gdbus/connection/cancel/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/cancel/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_64W2K2/gdbus/connection/cancel/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/cancel/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/cancel/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_64W2K2/gdbus/connection/cancel/.dirs/runtime 857s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 857s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s ok 9 /gdbus/connection/cancel 857s # End of connection tests 857s # End of gdbus tests 857s ok - glib/gdbus-connection.test 857s # Running test: glib/utils-c-11.test 857s TAP version 13 857s # random seed: R02Se025a16d9f21225d4d4c289d11aa5ae5 857s 1..40 857s # Start of utils tests 857s ok 1 /utils/language-names 857s ok 2 /utils/locale-variants 857s ok 3 /utils/version 857s ok 4 /utils/appname 857s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 857s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 857s ok 5 /utils/prgname-thread-safety 857s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 857s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 857s ok 6 /utils/tmpdir 857s ok 7 /utils/basic_bits 857s ok 8 /utils/bits 857s ok 9 /utils/swap 857s ok 10 /utils/find-program 857s ok 11 /utils/find-program-for-path 857s ok 12 /utils/debug 857s ok 13 /utils/codeset 857s ok 14 /utils/codeset2 857s ok 15 /utils/console-charset 857s ok 16 /utils/gettext 857s ok 17 /utils/username 857s ok 18 /utils/realname 857s ok 19 /utils/hostname 857s ok 20 /utils/xdgdirs 857s ok 21 /utils/specialdir 857s # NAME: Ubuntu 857s ok 22 /utils/os-info 857s ok 23 /utils/clear-pointer 857s ok 24 /utils/clear-pointer-cast 857s ok 25 /utils/take-pointer 857s ok 26 /utils/clear-source 857s ok 27 /utils/misc-mem 857s # /utils/aligned-mem summary: Aligned memory allocator 857s # Alignment must not be zero 857s # Alignment must be a power of two 857s # Alignment must be a multiple of sizeof(void*) 857s ok 28 /utils/aligned-mem 857s # /utils/free-sized summary: Check that g_free_sized() works 857s ok 29 /utils/free-sized 857s ok 30 /utils/nullify 857s ok 31 /utils/atexit 857s ok 32 /utils/check-setuid 857s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 857s ok 33 /utils/int-limits 857s ok 34 /utils/clear-list 857s ok 35 /utils/clear-slist 857s # Start of specialdir tests 857s ok 36 /utils/specialdir/desktop 857s # End of specialdir tests 857s # Start of clear-pointer tests 857s ok 37 /utils/clear-pointer/side-effects 857s # End of clear-pointer tests 857s # Start of aligned-mem tests 857s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 857s ok 38 /utils/aligned-mem/alignment 857s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 857s ok 39 /utils/aligned-mem/zeroed 857s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 857s ok 40 /utils/aligned-mem/free-sized 857s # Start of subprocess tests 857s # End of subprocess tests 857s # End of aligned-mem tests 857s # End of utils tests 857s ok - glib/utils-c-11.test 857s # Running test: glib/async-splice-output-stream.test 857s TAP version 13 857s # random seed: R02S36042e87c56b2729f76fce7f032bc88c 857s 1..5 857s # Start of async-splice tests 857s ok 1 /async-splice/copy-chunks 857s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 857s ok 2 /async-splice/copy-chunks-threaded-input 857s ok 3 /async-splice/copy-chunks-threaded-output 857s ok 4 /async-splice/copy-chunks-threaded 857s ok 5 /async-splice/cancelled 857s # End of async-splice tests 857s ok - glib/async-splice-output-stream.test 857s # Running test: glib/portal-support-flatpak-network-only.test 857s TAP version 13 857s # random seed: R02S8f63b8a0aa4a7c8790a02c36ba42ddb9 857s 1..1 857s # Start of portal-support tests 857s # Start of flatpak tests 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_04E0K2/portal-support/flatpak/network/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_04E0K2/portal-support/flatpak/network/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_04E0K2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_04E0K2/portal-support/flatpak/network/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_04E0K2/portal-support/flatpak/network/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_04E0K2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_04E0K2/portal-support/flatpak/network/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_04E0K2/portal-support/flatpak/network/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_04E0K2/portal-support/flatpak/network/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_04E0K2/portal-support/flatpak/network/.dirs/runtime 857s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_04E0K2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 857s ok 1 /portal-support/flatpak/network 857s # End of flatpak tests 857s # End of portal-support tests 857s ok - glib/portal-support-flatpak-network-only.test 857s # Running test: glib/types.test 857s TAP version 13 857s # random seed: R02S15c799939afe3ae7a8abd49c245932ac 857s 1..1 857s # Start of types tests 857s ok 1 /types/basic_types 857s # End of types tests 857s ok - glib/types.test 857s # Running test: glib/struct-info.test 857s TAP version 13 857s # random seed: R02S10a4bc0a929df969e87eb261c2dc9912 857s 1..4 857s # Start of struct-info tests 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_FGVMK2/struct-info/field-iterators/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_FGVMK2/struct-info/field-iterators/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_FGVMK2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_FGVMK2/struct-info/field-iterators/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_FGVMK2/struct-info/field-iterators/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_FGVMK2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_FGVMK2/struct-info/field-iterators/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_FGVMK2/struct-info/field-iterators/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_FGVMK2/struct-info/field-iterators/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_FGVMK2/struct-info/field-iterators/.dirs/runtime 857s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 857s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 857s ok 1 /struct-info/field-iterators 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_FGVMK2/struct-info/sizeof-gvalue/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_FGVMK2/struct-info/sizeof-gvalue/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_FGVMK2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_FGVMK2/struct-info/sizeof-gvalue/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_FGVMK2/struct-info/sizeof-gvalue/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_FGVMK2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_FGVMK2/struct-info/sizeof-gvalue/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_FGVMK2/struct-info/sizeof-gvalue/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_FGVMK2/struct-info/sizeof-gvalue/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_FGVMK2/struct-info/sizeof-gvalue/.dirs/runtime 857s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 857s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 857s ok 2 /struct-info/sizeof-gvalue 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_FGVMK2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_FGVMK2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_FGVMK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_FGVMK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_FGVMK2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_FGVMK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_FGVMK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_FGVMK2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_FGVMK2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_FGVMK2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 857s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 857s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 857s ok 3 /struct-info/is-pointer-for-struct-method-arg 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_FGVMK2/struct-info/boxed/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_FGVMK2/struct-info/boxed/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_FGVMK2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_FGVMK2/struct-info/boxed/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_FGVMK2/struct-info/boxed/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_FGVMK2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_FGVMK2/struct-info/boxed/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_FGVMK2/struct-info/boxed/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_FGVMK2/struct-info/boxed/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_FGVMK2/struct-info/boxed/.dirs/runtime 857s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 857s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 857s ok 4 /struct-info/boxed 857s # End of struct-info tests 857s ok - glib/struct-info.test 857s # Running test: glib/union-info.test 857s TAP version 13 857s # random seed: R02Sd08d50217a3829fce7368176e724b34e 857s 1..2 857s # Start of union-info tests 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_0ZQMK2/union-info/basic/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_0ZQMK2/union-info/basic/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_0ZQMK2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_0ZQMK2/union-info/basic/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_0ZQMK2/union-info/basic/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_0ZQMK2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_0ZQMK2/union-info/basic/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_0ZQMK2/union-info/basic/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_0ZQMK2/union-info/basic/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_0ZQMK2/union-info/basic/.dirs/runtime 857s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 857s # /union-info/basic summary: Test basic properties of GIUnionInfo 857s ok 1 /union-info/basic 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_0ZQMK2/union-info/methods/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_0ZQMK2/union-info/methods/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_0ZQMK2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_0ZQMK2/union-info/methods/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_0ZQMK2/union-info/methods/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_0ZQMK2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_0ZQMK2/union-info/methods/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_0ZQMK2/union-info/methods/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_0ZQMK2/union-info/methods/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_0ZQMK2/union-info/methods/.dirs/runtime 857s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 857s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 857s ok 2 /union-info/methods 857s # End of union-info tests 857s ok - glib/union-info.test 857s # Running test: glib/protocol.test 857s TAP version 13 857s # random seed: R02Saafc788339905bfb97f3abd3e1be9dd6 857s 1..9 857s # Start of glib tests 857s # Start of testing tests 857s # Start of protocol tests 857s ok 1 /glib/testing/protocol/debug 857s ok 2 /glib/testing/protocol/info 857s ok 3 /glib/testing/protocol/message 857s ok 4 /glib/testing/protocol/warning 857s ok 5 /glib/testing/protocol/critical 857s ok 6 /glib/testing/protocol/error 857s ok 7 /glib/testing/protocol/gtest-message 857s ok 8 /glib/testing/protocol/test-message 857s ok 9 /glib/testing/protocol/test-error 857s # End of protocol tests 857s # End of testing tests 857s # End of glib tests 857s ok - glib/protocol.test 857s # Running test: glib/basics-gobject.test 857s TAP version 13 857s # random seed: R02Sc0dee6d81b92f17832ce2ebf9349747c 857s 1..1 857s # Start of gobject tests 857s # private data during initialization: 54321 == 54321 857s # MAIN: emit test-signal: 857s # ::test_signal default_handler called 857s # ::test_signal default_handler called 857s # ::test_signal default_handler called 857s # signal return: "" 857s # MAIN: call iface print-string on test and derived object: 857s # Iface-FOO: "iface-string-from-test-type" from 0x2aa162ab7a0 857s # Iface-BAR: "iface-string-from-derived-type" from 0x2aa162ab6c0 857s # chaining: 857s # Iface-FOO: "iface-string-from-derived-type" from 0x2aa162ab6c0 857s # private data after initialization: 54321 == 54321 857s ok 1 /gobject/basics 857s # End of gobject tests 857s ok - glib/basics-gobject.test 857s # Running test: glib/gdbus-names.test 857s TAP version 13 857s # random seed: R02S072c4d10ee97492fcf315a992d7f3a17 857s 1..10 857s # Start of gdbus tests 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/validate-names/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/validate-names/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_PK1MK2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_PK1MK2/gdbus/validate-names/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/validate-names/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_PK1MK2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_PK1MK2/gdbus/validate-names/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/validate-names/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/validate-names/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_PK1MK2/gdbus/validate-names/.dirs/runtime 857s ok 1 /gdbus/validate-names 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-own-name/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-own-name/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_PK1MK2/gdbus/bus-own-name/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-own-name/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_PK1MK2/gdbus/bus-own-name/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-own-name/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-own-name/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-own-name/.dirs/runtime 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 857s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s ok 2 /gdbus/bus-own-name 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name/.dirs/runtime 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 857s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s ok 3 /gdbus/bus-watch-name 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-auto-start/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-auto-start/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-auto-start/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-auto-start/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-auto-start/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-auto-start/.dirs/runtime 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 857s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s ok 4 /gdbus/bus-watch-name-auto-start 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 857s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 857s dbus-daemon[15045]: [session uid=1000 pid=15045] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=15036 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 857s # Acquired a message bus connection 857s dbus-daemon[15045]: [session uid=1000 pid=15045] Successfully activated service 'org.gtk.GDBus.FakeService' 857s # Acquired the name org.gtk.GDBus.FakeService 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-closures/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-closures/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-closures/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-closures/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-closures/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-closures/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-closures/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-closures/.dirs/runtime 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 857s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s ok 6 /gdbus/bus-watch-name-closures 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 857s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s ok 7 /gdbus/bus-watch-name-closures-auto-start 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-different-context/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-different-context/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-different-context/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-different-context/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-different-context/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-different-context/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-different-context/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-watch-different-context/.dirs/runtime 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 857s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s ok 8 /gdbus/bus-watch-different-context 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-unwatch-early/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-unwatch-early/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_PK1MK2/gdbus/bus-unwatch-early/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-unwatch-early/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_PK1MK2/gdbus/bus-unwatch-early/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-unwatch-early/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-unwatch-early/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_PK1MK2/gdbus/bus-unwatch-early/.dirs/runtime 857s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 857s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 857s ok 9 /gdbus/bus-unwatch-early 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/escape-object-path/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/escape-object-path/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_PK1MK2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_PK1MK2/gdbus/escape-object-path/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/escape-object-path/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_PK1MK2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_PK1MK2/gdbus/escape-object-path/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/escape-object-path/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_PK1MK2/gdbus/escape-object-path/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_PK1MK2/gdbus/escape-object-path/.dirs/runtime 857s ok 10 /gdbus/escape-object-path 857s # End of gdbus tests 857s ok - glib/gdbus-names.test 857s # Running test: glib/bindinggroup.test 857s TAP version 13 857s # random seed: R02S727deae660d9109dd1f238d95e5851ab 857s 1..11 857s # Start of GObject tests 857s # Start of BindingGroup tests 857s ok 1 /GObject/BindingGroup/invalid 857s ok 2 /GObject/BindingGroup/default 857s ok 3 /GObject/BindingGroup/bidirectional 857s ok 4 /GObject/BindingGroup/transform 857s ok 5 /GObject/BindingGroup/transform-closures 857s ok 6 /GObject/BindingGroup/same-object 857s ok 7 /GObject/BindingGroup/weak-ref-source 857s ok 8 /GObject/BindingGroup/weak-ref-target 857s ok 9 /GObject/BindingGroup/properties 857s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 857s ok 11 /GObject/BindingGroup/empty-closures 857s # End of BindingGroup tests 857s # End of GObject tests 857s ok - glib/bindinggroup.test 857s # Running test: glib/utils-c-17.test 857s TAP version 13 857s # random seed: R02S2001c27a7a2e99e156eec2bfb86d39b1 857s 1..40 857s # Start of utils tests 857s ok 1 /utils/language-names 857s ok 2 /utils/locale-variants 857s ok 3 /utils/version 857s ok 4 /utils/appname 857s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 857s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 857s ok 5 /utils/prgname-thread-safety 857s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 857s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 857s ok 6 /utils/tmpdir 857s ok 7 /utils/basic_bits 857s ok 8 /utils/bits 857s ok 9 /utils/swap 857s ok 10 /utils/find-program 857s ok 11 /utils/find-program-for-path 857s ok 12 /utils/debug 857s ok 13 /utils/codeset 857s ok 14 /utils/codeset2 857s ok 15 /utils/console-charset 857s ok 16 /utils/gettext 857s ok 17 /utils/username 857s ok 18 /utils/realname 857s ok 19 /utils/hostname 857s ok 20 /utils/xdgdirs 857s ok 21 /utils/specialdir 857s # NAME: Ubuntu 857s ok 22 /utils/os-info 857s ok 23 /utils/clear-pointer 857s ok 24 /utils/clear-pointer-cast 857s ok 25 /utils/take-pointer 857s ok 26 /utils/clear-source 857s ok 27 /utils/misc-mem 857s # /utils/aligned-mem summary: Aligned memory allocator 857s # Alignment must not be zero 857s # Alignment must be a power of two 857s # Alignment must be a multiple of sizeof(void*) 857s ok 28 /utils/aligned-mem 857s # /utils/free-sized summary: Check that g_free_sized() works 857s ok 29 /utils/free-sized 857s ok 30 /utils/nullify 857s ok 31 /utils/atexit 857s ok 32 /utils/check-setuid 857s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 857s ok 33 /utils/int-limits 857s ok 34 /utils/clear-list 857s ok 35 /utils/clear-slist 857s # Start of specialdir tests 857s ok 36 /utils/specialdir/desktop 857s # End of specialdir tests 857s # Start of clear-pointer tests 857s ok 37 /utils/clear-pointer/side-effects 857s # End of clear-pointer tests 857s # Start of aligned-mem tests 857s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 857s ok 38 /utils/aligned-mem/alignment 857s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 857s ok 39 /utils/aligned-mem/zeroed 857s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 857s ok 40 /utils/aligned-mem/free-sized 857s # Start of subprocess tests 857s # End of subprocess tests 857s # End of aligned-mem tests 857s # End of utils tests 857s ok - glib/utils-c-17.test 857s # Running test: glib/thread.test 857s TAP version 13 857s # random seed: R02Secef690e7c451cabad4a1b7f5d4fa539 857s 1..7 857s # Start of thread tests 857s ok 1 /thread/thread1 857s ok 2 /thread/thread2 857s ok 3 /thread/thread3 857s ok 4 /thread/thread4 857s ok 5 /thread/thread5 857s ok 6 /thread/thread6 857s ok 7 /thread/thread7 857s # End of thread tests 857s ok - glib/thread.test 857s # Running test: glib/node.test 857s TAP version 13 857s # random seed: R02S67bdf9f2e6ab63f518392d5835b105e6 857s 1..6 857s # Start of node tests 857s ok 1 /node/allocation 857s ok 2 /node/construction 857s ok 3 /node/traversal 857s ok 4 /node/misc 857s ok 5 /node/unlink 857s ok 6 /node/copy 857s # End of node tests 857s ok - glib/node.test 857s # Running test: glib/gdbus-close-pending.test 857s TAP version 13 857s # random seed: R02S23439295c0cbd48edf9ef1eec4c4796f 857s 1..2 857s # Start of gdbus tests 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_46WJK2/gdbus/close-pending/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_46WJK2/gdbus/close-pending/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_46WJK2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_46WJK2/gdbus/close-pending/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_46WJK2/gdbus/close-pending/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_46WJK2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_46WJK2/gdbus/close-pending/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_46WJK2/gdbus/close-pending/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_46WJK2/gdbus/close-pending/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_46WJK2/gdbus/close-pending/.dirs/runtime 857s ok 1 /gdbus/close-pending 857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_46WJK2/gdbus/unref-pending/.dirs/home 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_46WJK2/gdbus/unref-pending/.dirs/cache 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_46WJK2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_46WJK2/gdbus/unref-pending/.dirs/system-config2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_46WJK2/gdbus/unref-pending/.dirs/config 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_46WJK2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_46WJK2/gdbus/unref-pending/.dirs/system-data2 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_46WJK2/gdbus/unref-pending/.dirs/data 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_46WJK2/gdbus/unref-pending/.dirs/state 857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_46WJK2/gdbus/unref-pending/.dirs/runtime 858s ok 2 /gdbus/unref-pending 858s # End of gdbus tests 858s ok - glib/gdbus-close-pending.test 858s # Running test: glib/assert-msg-test.py.test 858s TAP version 13 858s ok 1 __main__.TestAssertMessage.test_gassert 858s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 858s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 858s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1', 'AUTOPKGTEST_TEST_ARCH': 's390x', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-iEZ947Gp88,guid=ee6b9691826c8b1744389aa765fb2a8b', 'AUTOPKGTEST_TESTBED_ARCH': 's390x', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.Juhcat/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.C7xFfAekeb', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.9xNkWz/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.Juhcat/wrapper.sh --artifacts=/tmp/autopkgtest.Juhcat/installed-tests-artifacts --chdir=/tmp/autopkgtest.Juhcat/build.p5c/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.Juhcat/installed-tests-stderr --stdout=/tmp/autopkgtest.Juhcat/installed-tests-stdout --tmp=/tmp/autopkgtest.Juhcat/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=desktop-file-utils/0.27-2 shared-mime-info/2.4-1build1' --make-executable=/tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests -- /tmp/autopkgtest.Juhcat/build.p5c/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.Juhcat/build.p5c/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.Juhcat/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 858s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 858s # Error: ** 858s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 858s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 858s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 858s 1..2 858s ok - glib/assert-msg-test.py.test 858s # Running test: glib/shell.test 858s TAP version 13 858s # random seed: R02S0b5c7280a3c39ca8e6fa6bbc3089ec26 858s 1..51 858s # Start of shell tests 858s # Start of cmdline tests 858s test cmdline: foo bar 858s ok 1 /shell/cmdline/0 858s test cmdline: foo 'bar' 858s ok 2 /shell/cmdline/1 858s test cmdline: foo "bar" 858s ok 3 /shell/cmdline/2 858s test cmdline: foo '' 'bar' 858s ok 4 /shell/cmdline/3 858s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 858s ok 5 /shell/cmdline/4 858s test cmdline: foo blah foo bar baz 858s ok 6 /shell/cmdline/5 858s test cmdline: foo ' spaces more spaces lots of spaces in this ' 858s ok 7 /shell/cmdline/6 858s test cmdline: foo \ 858s bar 858s ok 8 /shell/cmdline/7 858s test cmdline: foo '' '' 858s ok 9 /shell/cmdline/8 858s test cmdline: foo \" la la la 858s ok 10 /shell/cmdline/9 858s test cmdline: foo \ foo woo woo\ 858s ok 11 /shell/cmdline/10 858s test cmdline: foo "yada yada \$\"" 858s ok 12 /shell/cmdline/11 858s test cmdline: foo "c:\\" 858s ok 13 /shell/cmdline/12 858s test cmdline: foo # bla bla bla 858s bar 858s ok 14 /shell/cmdline/13 858s test cmdline: foo a#b 858s ok 15 /shell/cmdline/14 858s test cmdline: #foo 858s ok 16 /shell/cmdline/15 858s test cmdline: foo bar \ 858s ok 17 /shell/cmdline/16 858s test cmdline: foo 'bar baz 858s ok 18 /shell/cmdline/17 858s test cmdline: foo '"bar" baz 858s ok 19 /shell/cmdline/18 858s test cmdline: 858s ok 20 /shell/cmdline/19 858s test cmdline: 858s ok 21 /shell/cmdline/20 858s test cmdline: # foo bar 858s ok 22 /shell/cmdline/21 858s test cmdline: foo '/bar/summer'\''09 tours.pdf' 858s ok 23 /shell/cmdline/22 858s # End of cmdline tests 858s # Start of quote tests 858s ok 24 /shell/quote/0 858s ok 25 /shell/quote/1 858s ok 26 /shell/quote/2 858s ok 27 /shell/quote/3 858s ok 28 /shell/quote/4 858s ok 29 /shell/quote/5 858s ok 30 /shell/quote/6 858s # End of quote tests 858s # Start of unquote tests 858s ok 31 /shell/unquote/0 858s ok 32 /shell/unquote/1 858s ok 33 /shell/unquote/2 858s ok 34 /shell/unquote/3 858s ok 35 /shell/unquote/4 858s ok 36 /shell/unquote/5 858s ok 37 /shell/unquote/6 858s ok 38 /shell/unquote/7 858s ok 39 /shell/unquote/8 858s ok 40 /shell/unquote/9 858s ok 41 /shell/unquote/10 858s ok 42 /shell/unquote/11 858s ok 43 /shell/unquote/12 858s ok 44 /shell/unquote/13 858s ok 45 /shell/unquote/14 858s ok 46 /shell/unquote/15 858s ok 47 /shell/unquote/16 858s ok 48 /shell/unquote/17 858s ok 49 /shell/unquote/18 858s ok 50 /shell/unquote/19 858s ok 51 /shell/unquote/20 858s # End of unquote tests 858s # End of shell tests 858s ok - glib/shell.test 858s # Running test: glib/live-g-file.test 858s TAP version 13 858s # random seed: R02S1800d8dab968b214aa03ebbf61115407 858s 1..13 858s # Start of live-g-file tests 858s # Cleaning target testing structure in 'testdir_live-g-file'... 858s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 858s ok 1 /live-g-file/prep_clean_structure 858s # 858s # Going to create testing structure in 'testdir_live-g-file'... 858s # Creating directory 'dir1'... 858s # Creating directory 'dir1/subdir'... 858s # Creating directory 'dir2'... 858s # Creating directory 'dir-target'... 858s # Creating directory 'dir_no-access'... 858s # Creating directory 'dir_no-write'... 858s # Creating file 'target-file'... 858s # Creating file 'normal_file'... 858s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 858s # Creating file 'executable_file'... 858s # Creating file 'private_file'... 858s # Creating file 'normal_file2'... 858s # Creating file 'readonly_file'... 858s # Creating file 'UTF_pr?i?lis? z'... 858s # Creating directory 'dir_pr?i?lis? z'... 858s # Creating symlink 'lost_symlink' --> 'nowhere'... 858s # Creating directory 'dir_hidden'... 858s # Creating file 'dir_hidden/.a-hidden-file'... 858s # Creating file 'dir_hidden/file-in-.hidden1'... 858s # Creating file 'dir_hidden/file-in-.hidden2'... 858s # Creating pattern file... 858s # done. 858s ok 2 /live-g-file/create_structure 858s # Testing sample structure in 'testdir_live-g-file'... 858s # Testing file 'dir1'... 858s # Testing file 'dir1/subdir'... 858s # Testing file 'dir2'... 858s # Testing file 'dir-target'... 858s # Testing file 'dir_no-access'... 858s # Testing file 'dir_no-write'... 858s # Testing file 'target-file'... 858s # Testing file 'normal_file'... 858s # Testing file 'normal_file-symlink'... 858s # Testing file 'executable_file'... 858s # Testing file 'private_file'... 858s # Testing file 'normal_file2'... 858s # Testing file 'readonly_file'... 858s # Testing file 'UTF_pr?i?lis? z'... 858s # Testing file 'dir_pr?i?lis? z'... 858s # Testing file 'lost_symlink'... 858s # Testing file 'dir_hidden'... 858s # Testing file 'dir_hidden/.a-hidden-file'... 858s # Testing file 'dir_hidden/file-in-.hidden1'... 858s # Testing file 'dir_hidden/file-in-.hidden2'... 858s # Testing pattern file... 858s # read 65536 bytes, total = 65536 of 65536. 858s ok 3 /live-g-file/test_initial_structure 858s # Traversing through the sample structure in 'testdir_live-g-file'... 858s # Found file dir1, relative to root: dir1 858s # Found file subdir, relative to root: dir1/subdir 858s # Found file dir2, relative to root: dir2 858s # Found file dir-target, relative to root: dir-target 858s # Found file dir_no-access, relative to root: dir_no-access 858s # Found file dir_no-write, relative to root: dir_no-write 858s # Found file target-file, relative to root: target-file 858s # Found file normal_file, relative to root: normal_file 858s # Found file normal_file-symlink, relative to root: normal_file-symlink 858s # Found file executable_file, relative to root: executable_file 858s # Found file private_file, relative to root: private_file 858s # Found file normal_file2, relative to root: normal_file2 858s # Found file readonly_file, relative to root: readonly_file 858s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 858s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 858s # Found file lost_symlink, relative to root: lost_symlink 858s # Found file dir_hidden, relative to root: dir_hidden 858s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 858s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 858s # Found file .hidden, relative to root: dir_hidden/.hidden 858s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 858s # Found file pattern_file, relative to root: pattern_file 858s ok 4 /live-g-file/test_traverse_structure 858s # Test enumerate 'testdir_live-g-file'... 858s # Testing file 'dir_no-access' 858s # Testing file 'normal_file' 858s # Testing file 'normal_file-symlink' 858s # Testing file 'not_exists' 858s # Testing file 'not_exists' 858s # Testing file 'not_exists2' 858s # Testing file 'not_exists3' 858s # Testing file 'not_exists4' 858s # Testing file 'dir_no-execute/file' 858s ok 5 /live-g-file/test_enumerate 858s # test_open: 'dir1' 858s # test_open: 'dir_no-access' 858s # test_open: 'target-file' 858s # test_open: 'normal_file-symlink' 858s # test_open: 'executable_file' 858s # test_open: 'private_file' 858s # test_open: 'readonly_file' 858s # test_open: 'UTF_pr?i?lis? z' 858s # test_open: 'pattern_file' 858s # test_open: 'not_exists' 858s # test_open: 'dir_no-execute/file' 858s # test_open: 'lost_symlink' 858s ok 6 /live-g-file/test_open 858s # test_create: 'dir1' 858s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir1?: Is a directory 858s # test_create: 'dir1/subdir' 858s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir1/subdir?: Is a directory 858s # test_create: 'dir2' 858s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir2?: File exists 858s # test_create: 'normal_file' 858s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/normal_file?: File exists 858s # test_create: 'executable_file' 858s # test_create: 'private_file' 858s # test_create: 'normal_file2' 858s # test_create: 'UTF_pr?i?lis? z' 858s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 858s # test_create: 'dir_pr?i?lis? z' 858s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 858s # test_create: 'pattern_file' 858s # test_create: 'not_exists2' 858s # test_create: 'not_exists3' 858s # test_create: 'not_exists4' 858s ok 7 /live-g-file/test_create 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'dir1/subdir' --> 'dir-target' 858s # res = 0, error code 25 = Can?t recursively copy directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'dir1/subdir' --> '.' 858s # res = 0, error code 2 = Target file exists 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'dir1/subdir' --> 'target-file' 858s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'dir1/subdir' --> 'not_exists' 858s # res = 0, error code 25 = Can?t recursively copy directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 858s # res = 0, error code 25 = Can?t recursively copy directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 858s # res = 0, error code 25 = Can?t recursively copy directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'dir2' --> 'dir-target' 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'dir-target' --> 'dir-target' 858s # res = 0, error code 25 = Can?t recursively copy directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'dir-target' --> '.' 858s # res = 0, error code 2 = Target file exists 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'dir-target' --> 'target-file' 858s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/target-file/dir-target?: Not a directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'dir-target' --> 'not_exists' 858s # res = 0, error code 25 = Can?t recursively copy directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'dir-target' --> 'dir_no-access' 858s # res = 0, error code 25 = Can?t recursively copy directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'dir-target' --> 'dir_no-write' 858s # res = 0, error code 25 = Can?t recursively copy directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'target-file' --> 'dir-target' 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'target-file' --> '.' 858s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/target-file?: File exists 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'target-file' --> 'target-file' 858s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/target-file/target-file?: Not a directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'target-file' --> 'not_exists' 858s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/not_exists/target-file?: No such file or directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'target-file' --> 'dir_no-access' 858s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'target-file' --> 'dir_no-write' 858s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'normal_file-symlink' --> '.' 858s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/normal_file-symlink: File exists 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'normal_file-symlink' --> 'target-file' 858s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 858s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 858s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 858s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'executable_file' --> 'dir-target' 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'executable_file' --> 'dir-target' 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'executable_file' --> '.' 858s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/executable_file?: File exists 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'executable_file' --> 'target-file' 858s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/target-file/executable_file?: Not a directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'executable_file' --> 'not_exists' 858s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'executable_file' --> 'dir_no-access' 858s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'executable_file' --> 'dir_no-write' 858s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'private_file' --> 'dir-target' 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'private_file' --> 'dir-target' 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'private_file' --> '.' 858s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/private_file?: File exists 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'private_file' --> 'target-file' 858s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/target-file/private_file?: Not a directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'private_file' --> 'not_exists' 858s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/not_exists/private_file?: No such file or directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'private_file' --> 'dir_no-access' 858s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'private_file' --> 'dir_no-write' 858s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'normal_file2' --> 'dir-target' 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'normal_file2' --> 'dir-target' 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'normal_file2' --> '.' 858s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/normal_file2?: File exists 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'normal_file2' --> 'target-file' 858s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/target-file/normal_file2?: Not a directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'normal_file2' --> 'not_exists' 858s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'normal_file2' --> 'dir_no-access' 858s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'normal_file2' --> 'dir_no-write' 858s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 858s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 858s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 858s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 858s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 858s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'pattern_file' --> 'dir-target' 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'pattern_file' --> '.' 858s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/pattern_file?: File exists 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'pattern_file' --> 'target-file' 858s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/target-file/pattern_file?: Not a directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'pattern_file' --> 'not_exists' 858s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'pattern_file' --> 'dir_no-access' 858s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'pattern_file' --> 'dir_no-write' 858s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'not_exists' --> 'dir-target' 858s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/not_exists?: No such file or directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'not_exists' --> '.' 858s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/not_exists?: No such file or directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'not_exists' --> 'target-file' 858s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/not_exists?: No such file or directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'not_exists' --> 'not_exists' 858s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/not_exists?: No such file or directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'not_exists' --> 'dir_no-access' 858s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/not_exists?: No such file or directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'not_exists' --> 'dir_no-write' 858s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/not_exists?: No such file or directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'not_exists' --> 'dir-target' 858s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/not_exists: No such file or directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'lost_symlink' --> 'dir-target' 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'lost_symlink' --> '.' 858s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/lost_symlink: File exists 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'lost_symlink' --> 'target-file' 858s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/target-file/lost_symlink: Not a directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'lost_symlink' --> 'not_exists' 858s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 858s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 858s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 858s ok 8 /live-g-file/test_copy_move 858s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir1 858s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir1: Directory not empty 858s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir2 858s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir2: No such file or directory 858s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/executable_file 858s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/readonly_file 858s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir_pr?i?lis? z 858s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/not_exists 858s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/not_exists: No such file or directory 858s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/not_exists 858s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/not_exists: No such file or directory 858s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir_no-execute/file 858s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/dir_no-execute/file: No such file or directory 858s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-3EM3K2/testdir_live-g-file/lost_symlink 858s ok 9 /live-g-file/test_delete 858s # We do not have CAP_DAC_OVERRIDE or equivalent 858s ok 10 /live-g-file/test_make_directory_with_parents 858s # Cleaning target testing structure in 'testdir_live-g-file'... 858s # deleting 'dir1' 858s # deleting 'subdir' 858s # deleting 'dir-target' 858s # deleting 'dir2' 858s # deleting 'target-file' 858s # deleting 'normal_file-symlink' 858s # deleting 'pattern_file' 858s # deleting 'executable_file' 858s # deleting 'private_file' 858s # deleting 'normal_file2' 858s # deleting 'UTF_pr?i?lis? z' 858s # deleting 'lost_symlink' 858s # deleting 'dir_no-access' 858s # deleting 'dir_no-write' 858s # deleting 'target-file' 858s # deleting 'normal_file' 858s # deleting 'normal_file-symlink' 858s # deleting 'executable_file~' 858s # deleting 'private_file' 858s # deleting 'normal_file2~' 858s # deleting 'a' 858s # deleting 'UTF_pr?i?lis? z' 858s # deleting 'dir_hidden' 858s # deleting '.a-hidden-file' 858s # deleting 'file-in-.hidden1' 858s # deleting '.hidden' 858s # deleting 'file-in-.hidden2' 858s # deleting 'pattern_file' 858s # deleting 'normal_file2' 858s # deleting 'not_exists2' 858s # deleting 'not_exists3' 858s # deleting 'not_exists4' 858s ok 11 /live-g-file/final_clean 858s # Start of test_unix_is_mountpoint tests 858s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 858s ok 13 /live-g-file/test_unix_is_mountpoint/proc 858s # End of test_unix_is_mountpoint tests 858s # End of live-g-file tests 858s ok - glib/live-g-file.test 858s # Running test: glib/basic-signals.test 858s TAP version 13 858s # random seed: R02Sdee1405f99a2fdc60c5b0d24224293ff 858s 1..1 858s # Start of gobject tests 858s ok 1 /gobject/basic-signals 858s # End of gobject tests 858s ok - glib/basic-signals.test 858s # Running test: glib/refstring.test 858s TAP version 13 858s # random seed: R02S716d3245754f4f6ccfa472798918aa83 858s 1..5 858s # Start of refstring tests 858s # s = 'hello, world' (0x2aa19ad95d0) 858s ok 1 /refstring/base 858s ok 2 /refstring/length 858s ok 3 /refstring/length-auto 858s ok 4 /refstring/length-nuls 858s # s = 'hello, world' (0x2aa19ad95d0) 858s # p = s = 'hello, world' (0x2aa19ad95d0) 858s # releasing p[0x2aa19ad95d0] ('hello, world') 858s # p = 'goodbye, world' (0x2aa19ad96a0) 858s # releasing p[0x2aa19ad96a0] ('goodbye, world') 858s # releasing s[0x2aa19ad95d0] ('hello, world') 858s ok 5 /refstring/intern 858s # End of refstring tests 858s ok - glib/refstring.test 858s # Running test: glib/notify-init2.test 858s TAP version 13 858s # random seed: R02S7df4dcb5ac8219b125c4e51a4f4df843 858s 1..1 858s # Start of properties tests 858s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 858s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 858s ok 1 /properties/notify-in-init2 858s # End of properties tests 858s ok - glib/notify-init2.test 858s # Running test: glib/cxx-03.test 858s TAP version 13 858s # random seed: R02S90352c4f683788ae934530bd34fa9765 858s 1..2 858s # Start of gtask tests 858s # 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. 858s ok 1 /gtask/name 858s # Start of name tests 858s # 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. 858s ok 2 /gtask/name/macro-wrapper 858s # End of name tests 858s # End of gtask tests 858s ok - glib/cxx-03.test 858s # Running test: glib/option-argv0.test 858s TAP version 13 858s # random seed: R02S4f115f18efa3587adbdf53268277cc1d 858s 1..1 858s # Start of option tests 858s ok 1 /option/argv0 858s # End of option tests 858s ok - glib/option-argv0.test 858s # Running test: glib/dbus-appinfo.test 858s TAP version 13 858s # random seed: R02Sc14e8fa1a6ba30a02e48c0e69cab56a1 858s 1..3 858s # Start of appinfo tests 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 858s ok 1 /appinfo/dbusappinfo 858s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 858s dbus-daemon[15117]: [session uid=1000 pid=15117] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=15116 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 858s # Acquired a message bus connection 858s dbus-daemon[15117]: [session uid=1000 pid=15117] Successfully activated service 'org.freedesktop.portal.Documents' 858s # Acquired the name org.freedesktop.portal.Documents 858s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 858s ok 2 /appinfo/flatpak-doc-export 858s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 858s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 858s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 858s ok 3 /appinfo/flatpak-missing-doc-export 858s # End of appinfo tests 858s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 858s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 858s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 858s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 858s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 858s cleaning up pid 15117 858s # Lost the name org.freedesktop.portal.Documents 858s ok - glib/dbus-appinfo.test 858s # Running test: glib/gdbus-auth.test 858s TAP version 13 858s # random seed: R02Sa9514b731b56bd236ff019c2866f3aa8 858s 1..5 858s # Start of gdbus tests 858s # Start of auth tests 858s # Start of client tests 858s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/client/EXTERNAL/.dirs/home 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/client/EXTERNAL/.dirs/cache 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_J8N0K2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/client/EXTERNAL/.dirs/config 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_J8N0K2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/client/EXTERNAL/.dirs/data 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/client/EXTERNAL/.dirs/state 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/client/EXTERNAL/.dirs/runtime 858s ok 1 /gdbus/auth/client/EXTERNAL 858s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_J8N0K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_J8N0K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 858s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 858s # End of client tests 858s # Start of server tests 858s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/ANONYMOUS/.dirs/home 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/ANONYMOUS/.dirs/cache 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/ANONYMOUS/.dirs/config 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/ANONYMOUS/.dirs/data 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/ANONYMOUS/.dirs/state 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 858s ok 3 /gdbus/auth/server/ANONYMOUS 858s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/EXTERNAL/.dirs/home 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/EXTERNAL/.dirs/cache 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/EXTERNAL/.dirs/config 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/EXTERNAL/.dirs/data 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/EXTERNAL/.dirs/state 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/EXTERNAL/.dirs/runtime 858s ok 4 /gdbus/auth/server/EXTERNAL 858s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_J8N0K2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 858s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 858s # End of server tests 858s # End of auth tests 858s # End of gdbus tests 858s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 858s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 858s ok - glib/gdbus-auth.test 858s # Running test: glib/object.test 858s TAP version 13 858s # random seed: R02S37c342b14cfc88750d59bbd52d1af1a9 858s 1..2 858s # Start of object tests 858s # Start of constructor tests 858s ok 1 /object/constructor/singleton 858s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 858s # End of constructor tests 858s # End of object tests 858s ok - glib/object.test 858s # Running test: glib/value.test 858s TAP version 13 858s # random seed: R02S8b24fbc1ca32893b6c1494d688262a87 858s 1..8 858s # Start of value tests 858s ok 1 /value/basic 858s ok 2 /value/collection 858s ok 3 /value/copying 858s ok 4 /value/enum-transformation 858s ok 5 /value/gtype 858s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 858s ok 6 /value/string 858s # Next: GObject object in GValue of GObject to GValue of GObject 858s # Next: GObject object in GValue of GObject to GValue of TestInterface 858s # Next: GObject object in GValue of GObject to GValue of TestObjectA 858s # Next: GObject object in GValue of GObject to GValue of TestObjectB 858s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 858s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 858s # Next: TestObjectA object in GValue of GObject to GValue of GObject 858s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 858s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 858s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 858s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 858s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 858s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 858s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 858s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 858s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 858s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 858s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 858s # Next: TestObjectB object in GValue of GObject to GValue of GObject 858s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 858s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 858s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 858s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 858s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 858s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 858s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 858s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 858s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 858s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 858s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 858s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 858s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 858s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 858s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 858s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 858s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 858s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 858s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 858s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 858s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 858s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 858s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 858s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 858s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 858s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 858s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 858s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 858s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 858s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 858s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 858s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 858s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 858s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 858s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 858s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 858s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 858s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 858s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 858s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 858s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 858s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 858s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 858s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 858s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 858s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 858s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 858s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 858s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 858s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 858s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 858s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 858s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 858s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 858s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 858s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 858s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 858s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 858s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 858s ok 7 /value/transform-object 858s # Start of array tests 858s ok 8 /value/array/basic 858s # End of array tests 858s # End of value tests 858s ok - glib/value.test 858s # Running test: glib/trash.test 858s TAP version 13 858s # random seed: R02S3464d0d1690131fee5552a354781700a 858s 1..2 858s # Start of trash tests 858s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 858s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 858s # File: /tmp/test-trashWJ10K2 (parent st_dev: 2049) 858s # Home: /home/ubuntu (st_dev: 2049) 858s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 858s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 858s # Target: /home/ubuntu/.local (mount: /) 858s # Tmp: /tmp/test-trashWR50K2 (mount: /) 858s ok 2 /trash/symlinks # SKIP The tmp has to be on another mount than the home to run this test 858s # End of trash tests 858s ok - glib/trash.test 858s # Running test: glib/giomodule.test 858s TAP version 13 858s # random seed: R02Sd4053767b299533c9d229629aa956e20 858s 1..3 858s # Start of giomodule tests 858s ok 1 /giomodule/extension-point 858s ok 2 /giomodule/module-scan-all 858s ok 3 /giomodule/module-scan-all-with-scope 858s # End of giomodule tests 858s ok - glib/giomodule.test 858s # Running test: glib/macros-c-90.test 858s TAP version 13 858s # random seed: R02S6e518245b784fed72659f321a3b3a638 858s 1..4 858s # Start of C tests 858s ok 1 /C/standard-90 858s # End of C tests 858s # Start of alignof tests 858s ok 2 /alignof/fallback 858s # End of alignof tests 858s # Start of assert tests 858s ok 3 /assert/static 858s # End of assert tests 858s # Start of struct tests 858s ok 4 /struct/sizeof_member 858s # End of struct tests 858s ok - glib/macros-c-90.test 858s # Running test: glib/portal-support-snap.test 858s TAP version 13 858s # random seed: R02Sa5237afd3ef252003d28d2e368a8744b 858s 1..7 858s # Start of portal-support tests 858s # Start of snap tests 858s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/no-snapctl/.dirs/home 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/no-snapctl/.dirs/cache 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/no-snapctl/.dirs/system-config2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/no-snapctl/.dirs/config 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/no-snapctl/.dirs/system-data2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/no-snapctl/.dirs/data 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/no-snapctl/.dirs/state 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/no-snapctl/.dirs/runtime 858s # Created snap.yaml in /tmp/test_portal-support-snap_ZOE1K2/meta/snap.yaml 858s ok 1 /portal-support/snap/no-snapctl 858s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/none/.dirs/home 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/none/.dirs/cache 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/none/.dirs/system-config2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/none/.dirs/config 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/none/.dirs/system-data2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/none/.dirs/data 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/none/.dirs/state 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/none/.dirs/runtime 858s # Created snap.yaml in /tmp/test_portal-support-snap_ZOE1K2/meta/snap.yaml 858s # Created snapctl in /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/none/.dirs/runtime/snapctl 858s ok 2 /portal-support/snap/none 858s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/all/.dirs/home 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/all/.dirs/cache 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/all/.dirs/system-config2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/all/.dirs/config 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/all/.dirs/system-data2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/all/.dirs/data 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/all/.dirs/state 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/all/.dirs/runtime 858s # Created snap.yaml in /tmp/test_portal-support-snap_ZOE1K2/meta/snap.yaml 858s # Created snapctl in /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/all/.dirs/runtime/snapctl 858s ok 3 /portal-support/snap/all 858s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/desktop-only/.dirs/home 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/desktop-only/.dirs/cache 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/desktop-only/.dirs/system-config2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/desktop-only/.dirs/config 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/desktop-only/.dirs/system-data2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/desktop-only/.dirs/data 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/desktop-only/.dirs/state 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/desktop-only/.dirs/runtime 858s # Created snap.yaml in /tmp/test_portal-support-snap_ZOE1K2/meta/snap.yaml 858s # Created snapctl in /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 858s ok 4 /portal-support/snap/desktop-only 858s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/network-only/.dirs/home 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/network-only/.dirs/cache 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/network-only/.dirs/system-config2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/network-only/.dirs/config 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/network-only/.dirs/system-data2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/network-only/.dirs/data 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/network-only/.dirs/state 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/network-only/.dirs/runtime 858s # Created snap.yaml in /tmp/test_portal-support-snap_ZOE1K2/meta/snap.yaml 858s # Created snapctl in /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/network-only/.dirs/runtime/snapctl 858s ok 5 /portal-support/snap/network-only 858s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/gsettings-only/.dirs/home 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/gsettings-only/.dirs/cache 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/gsettings-only/.dirs/system-config2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/gsettings-only/.dirs/config 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/gsettings-only/.dirs/system-data2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/gsettings-only/.dirs/data 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/gsettings-only/.dirs/state 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/gsettings-only/.dirs/runtime 858s # Created snap.yaml in /tmp/test_portal-support-snap_ZOE1K2/meta/snap.yaml 858s # Created snapctl in /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 858s ok 6 /portal-support/snap/gsettings-only 858s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/updates-dynamically/.dirs/home 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/updates-dynamically/.dirs/cache 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/updates-dynamically/.dirs/system-config2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/updates-dynamically/.dirs/config 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/updates-dynamically/.dirs/system-data2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/updates-dynamically/.dirs/data 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/updates-dynamically/.dirs/state 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/updates-dynamically/.dirs/runtime 858s # Created snap.yaml in /tmp/test_portal-support-snap_ZOE1K2/meta/snap.yaml 858s # Created snapctl in /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 858s # Created snapctl in /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 858s # Created snapctl in /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 858s # Created snapctl in /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 858s # Created snapctl in /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 858s # Created snapctl in /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 858s # Created snapctl in /tmp/test_portal-support-snap_ZOE1K2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 858s ok 7 /portal-support/snap/updates-dynamically 858s # End of snap tests 858s # End of portal-support tests 858s ok - glib/portal-support-snap.test 858s # Running test: glib/gdbus-sasl.test 858s TAP version 13 858s # random seed: R02Sa897138678b442c51a5a3d23fa4b4411 858s 1..1 858s # Start of gdbus tests 858s # Start of sasl tests 858s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_KCQZK2/gdbus/sasl/server/.dirs/home 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_KCQZK2/gdbus/sasl/server/.dirs/cache 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_KCQZK2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_KCQZK2/gdbus/sasl/server/.dirs/system-config2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_KCQZK2/gdbus/sasl/server/.dirs/config 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_KCQZK2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_KCQZK2/gdbus/sasl/server/.dirs/system-data2 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_KCQZK2/gdbus/sasl/server/.dirs/data 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_KCQZK2/gdbus/sasl/server/.dirs/state 858s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_KCQZK2/gdbus/sasl/server/.dirs/runtime 858s # New handshake: EXTERNAL with incorrect initial response 858s # C:“AUTH EXTERNAL 30†858s # Expect: /^REJECTED.*$/ 858s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†858s # New handshake: EXTERNAL without initial response, failing to authenticate 858s # C:“AUTH EXTERNAL†858s # Expect: /^DATA$/ 858s # S:“DATA†858s # C:“DATA 30†858s # Expect: /^REJECTED.*$/ 858s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1†858s # New handshake: EXTERNAL with initial response 858s # C:“AUTH EXTERNAL 31303030†858s # Expect: /^OK [0-9a-f]+$/ 858s # S:“OK 621a143ae0ecc61b16476d9765fb2bc3†858s # New handshake: EXTERNAL without initial response 858s # C:“AUTH EXTERNAL†858s # Expect: /^DATA$/ 858s # S:“DATA†858s # C:“DATA 31303030†858s # Expect: /^OK [0-9a-f]+$/ 858s # S:“OK 621a143ae0ecc61b16476d9765fb2bc3†858s # New handshake: EXTERNAL with empty authorization identity 858s # C:“AUTH EXTERNAL†858s # Expect: /^DATA$/ 858s # S:“DATA†858s # C:“DATA†858s # Expect: /^OK [0-9a-f]+$/ 858s # S:“OK 621a143ae0ecc61b16476d9765fb2bc3†858s # New handshake: EXTERNAL with empty authorization identity and whitespace 858s # C:“AUTH EXTERNAL†858s # Expect: /^DATA$/ 858s # S:“DATA†858s # C:“DATA †858s # Expect: /^OK [0-9a-f]+$/ 858s # S:“OK 621a143ae0ecc61b16476d9765fb2bc3†858s ok 1 /gdbus/sasl/server 858s # End of sasl tests 858s # End of gdbus tests 858s ok - glib/gdbus-sasl.test 858s # Running test: glib/portal-support-none.test 858s TAP version 13 858s # random seed: R02S4edb89195c8b361bf4f6a42dec8cd27f 858s 1..1 858s # Start of portal-support tests 858s ok 1 /portal-support/none 858s # End of portal-support tests 858s ok - glib/portal-support-none.test 858s # Running test: glib/unix.test 858s TAP version 13 858s # random seed: R02Sc0cd1564121594a872d72ef44521d9db 858s 1..17 858s # Start of glib-unix tests 858s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 858s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 858s ok 1 /glib-unix/closefrom 858s ok 2 /glib-unix/pipe 858s # /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 858s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 858s ok 3 /glib-unix/pipe-stdio-overwrite 858s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 858s ok 4 /glib-unix/pipe-struct 858s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 858s ok 5 /glib-unix/pipe-struct-auto 858s ok 6 /glib-unix/error 858s ok 7 /glib-unix/nonblocking 859s ok 8 /glib-unix/sighup 859s # slow test /glib-unix/sighup executed in 0.50 secs 859s ok 9 /glib-unix/sigterm 859s # slow test /glib-unix/sigterm executed in 0.50 secs 860s ok 10 /glib-unix/sighup_again 860s # slow test /glib-unix/sighup_again executed in 0.50 secs 860s ok 11 /glib-unix/sighup_add_remove 860s ok 12 /glib-unix/sighup_nested 862s ok 13 /glib-unix/callback_after_signal 862s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 862s ok 14 /glib-unix/child-wait 862s # Start of closefrom tests 862s # Start of subprocess tests 862s # End of subprocess tests 862s # End of closefrom tests 862s # Start of pipe tests 862s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 862s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 862s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 862s ok 15 /glib-unix/pipe/fd-cloexec 862s # End of pipe tests 862s # Start of get-passwd-entry tests 862s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 862s ok 16 /glib-unix/get-passwd-entry/root 862s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 862s ok 17 /glib-unix/get-passwd-entry/nonexistent 862s # End of get-passwd-entry tests 862s # End of glib-unix tests 862s ok - glib/unix.test 862s # Running test: glib/gdbus-error.test 862s TAP version 13 862s # random seed: R02S1fc2df62e66e425b203014cbf55cb6f9 862s 1..4 862s # Start of gdbus tests 862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_ZL4YK2/gdbus/registered-errors/.dirs/home 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_ZL4YK2/gdbus/registered-errors/.dirs/cache 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_ZL4YK2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_ZL4YK2/gdbus/registered-errors/.dirs/system-config2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_ZL4YK2/gdbus/registered-errors/.dirs/config 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_ZL4YK2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_ZL4YK2/gdbus/registered-errors/.dirs/system-data2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_ZL4YK2/gdbus/registered-errors/.dirs/data 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_ZL4YK2/gdbus/registered-errors/.dirs/state 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_ZL4YK2/gdbus/registered-errors/.dirs/runtime 862s ok 1 /gdbus/registered-errors 862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_ZL4YK2/gdbus/unregistered-errors/.dirs/home 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_ZL4YK2/gdbus/unregistered-errors/.dirs/cache 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_ZL4YK2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_ZL4YK2/gdbus/unregistered-errors/.dirs/system-config2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_ZL4YK2/gdbus/unregistered-errors/.dirs/config 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_ZL4YK2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_ZL4YK2/gdbus/unregistered-errors/.dirs/system-data2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_ZL4YK2/gdbus/unregistered-errors/.dirs/data 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_ZL4YK2/gdbus/unregistered-errors/.dirs/state 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_ZL4YK2/gdbus/unregistered-errors/.dirs/runtime 862s ok 2 /gdbus/unregistered-errors 862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_ZL4YK2/gdbus/transparent-gerror/.dirs/home 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_ZL4YK2/gdbus/transparent-gerror/.dirs/cache 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_ZL4YK2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_ZL4YK2/gdbus/transparent-gerror/.dirs/system-config2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_ZL4YK2/gdbus/transparent-gerror/.dirs/config 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_ZL4YK2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_ZL4YK2/gdbus/transparent-gerror/.dirs/system-data2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_ZL4YK2/gdbus/transparent-gerror/.dirs/data 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_ZL4YK2/gdbus/transparent-gerror/.dirs/state 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_ZL4YK2/gdbus/transparent-gerror/.dirs/runtime 862s ok 3 /gdbus/transparent-gerror 862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_ZL4YK2/gdbus/register-error/.dirs/home 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_ZL4YK2/gdbus/register-error/.dirs/cache 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_ZL4YK2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_ZL4YK2/gdbus/register-error/.dirs/system-config2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_ZL4YK2/gdbus/register-error/.dirs/config 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_ZL4YK2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_ZL4YK2/gdbus/register-error/.dirs/system-data2 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_ZL4YK2/gdbus/register-error/.dirs/data 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_ZL4YK2/gdbus/register-error/.dirs/state 862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_ZL4YK2/gdbus/register-error/.dirs/runtime 862s ok 4 /gdbus/register-error 862s # End of gdbus tests 862s ok - glib/gdbus-error.test 862s # Running test: glib/atomic-c-99.test 862s TAP version 13 862s # random seed: R02Sbe7ac4ca276985dca9bd16d622a08f1a 862s 1..2 862s # Start of atomic tests 862s ok 1 /atomic/types 862s ok 2 /atomic/threaded 862s # End of atomic tests 862s ok - glib/atomic-c-99.test 862s # Running test: glib/bytes.test 862s TAP version 13 862s # random seed: R02S9fd40d123d61bdd203e7f85e97e8fe3c 862s 1..21 862s # Start of bytes tests 862s ok 1 /bytes/new 862s ok 2 /bytes/new-take 862s ok 3 /bytes/new-static 862s ok 4 /bytes/new-with-free-func 862s ok 5 /bytes/new-from-bytes 862s ok 6 /bytes/new-from-bytes-slice 862s ok 7 /bytes/new-from-bytes-shared-ref 862s ok 8 /bytes/hash 862s ok 9 /bytes/equal 862s ok 10 /bytes/compare 862s ok 11 /bytes/null 862s ok 12 /bytes/get-region 862s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 862s ok 13 /bytes/unref-null 862s # Start of to-data tests 862s ok 14 /bytes/to-data/transferred 862s ok 15 /bytes/to-data/two-refs 862s ok 16 /bytes/to-data/non-malloc 862s ok 17 /bytes/to-data/different-free-func 862s # End of to-data tests 862s # Start of to-array tests 862s ok 18 /bytes/to-array/transferred 862s ok 19 /bytes/to-array/two-refs 862s ok 20 /bytes/to-array/non-malloc 862s # Start of transferred tests 862s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 862s ok 21 /bytes/to-array/transferred/oversize 862s # End of transferred tests 862s # End of to-array tests 862s # End of bytes tests 862s ok - glib/bytes.test 862s # Running test: glib/hostutils.test 862s TAP version 13 862s # random seed: R02S3b6e27df32160bf061eeb26309a4aeb8 862s 1..3 862s # Start of hostutils tests 862s ok 1 /hostutils/to_ascii 862s ok 2 /hostutils/to_unicode 862s ok 3 /hostutils/is_ip_addr 862s # End of hostutils tests 862s ok - glib/hostutils.test 862s # Running test: glib/stream-rw_all.test 862s TAP version 13 862s # random seed: R02S57b314b0eb2fe4ad424ee934afb0d882 862s 1..3 862s # Start of stream tests 862s # Start of read_all_async tests 862s ok 1 /stream/read_all_async/memory 862s # End of read_all_async tests 862s # Start of write_all_async tests 862s ok 2 /stream/write_all_async/memory 862s # End of write_all_async tests 862s # Start of read_write_all_async tests 862s ok 3 /stream/read_write_all_async/pipe 862s # End of read_write_all_async tests 862s # End of stream tests 862s ok - glib/stream-rw_all.test 862s # Running test: glib/signals-refcount3.test 862s TAP version 13 862s # random seed: R02S1f7baa65a3f4a5dd917cb44613c203fa 862s 1..1 862s # Start of gobject tests 862s # Start of refcount tests 862s # init 0x2aa1f752420 862s # 862s # init 0x2aa1f7525c0 862s # 862s # Executing: glib/signals-refcount3.test 867s # dispose 0x2aa1f752420! 867s # 867s # dispose 0x2aa1f7525c0! 867s # 867s ok 1 /gobject/refcount/signals 867s # slow test /gobject/refcount/signals executed in 5.00 secs 867s # End of refcount tests 867s # End of gobject tests 867s ok - glib/signals-refcount3.test 867s # Running test: glib/collate.test 867s TAP version 13 867s # random seed: R02S132bb162d640391763ae0b7ee65745bd 867s 1..9 867s # Start of unicode tests 867s # Start of collate tests 867s ok 1 /unicode/collate/0 867s ok 2 /unicode/collate/1 867s ok 3 /unicode/collate/2 867s # End of collate tests 867s # Start of collate-key tests 867s ok 4 /unicode/collate-key/0 867s ok 5 /unicode/collate-key/1 867s ok 6 /unicode/collate-key/2 867s # End of collate-key tests 867s # Start of collate-filename tests 867s ok 7 /unicode/collate-filename/0 867s ok 8 /unicode/collate-filename/1 867s ok 9 /unicode/collate-filename/2 867s # End of collate-filename tests 867s # End of unicode tests 867s ok - glib/collate.test 867s # Running test: glib/convert.test 867s TAP version 13 867s # random seed: R02Se72fd3f03a82abdb8adc6c4a0e7376cb 867s 1..14 867s # Start of conversion tests 867s ok 1 /conversion/no-conv 867s ok 2 /conversion/iconv-state 867s ok 3 /conversion/illegal-sequence 867s ok 4 /conversion/byte-order 867s ok 5 /conversion/unicode 867s ok 6 /conversion/filename-utf8 867s ok 7 /conversion/filename-display 867s ok 8 /conversion/convert-embedded-nul 867s # Start of locale-to-utf8 tests 867s ok 9 /conversion/locale-to-utf8/embedded-nul 867s # Start of embedded-nul tests 867s # Start of subprocess tests 867s # End of subprocess tests 867s # End of embedded-nul tests 867s # End of locale-to-utf8 tests 867s # Start of locale-from-utf8 tests 867s ok 10 /conversion/locale-from-utf8/embedded-nul 867s # Start of embedded-nul tests 867s # Start of subprocess tests 867s # End of subprocess tests 867s # End of embedded-nul tests 867s # End of locale-from-utf8 tests 867s # Start of filename-to-utf8 tests 867s ok 11 /conversion/filename-to-utf8/embedded-nul 867s # Start of embedded-nul tests 867s # Start of subprocess tests 867s # End of subprocess tests 867s # End of embedded-nul tests 867s # End of filename-to-utf8 tests 867s # Start of filename-from-utf8 tests 867s ok 12 /conversion/filename-from-utf8/embedded-nul 867s # Start of embedded-nul tests 867s # Start of subprocess tests 867s # End of subprocess tests 867s # End of embedded-nul tests 867s # End of filename-from-utf8 tests 867s # Start of filename-from-uri tests 867s ok 13 /conversion/filename-from-uri/query-is-ignored 867s ok 14 /conversion/filename-from-uri/fragment-is-ignored 867s # End of filename-from-uri tests 867s # End of conversion tests 867s ok - glib/convert.test 867s # Running test: glib/socket-listener.test 867s TAP version 13 867s # random seed: R02S954df8bd60a168a134088426263f2b0d 867s 1..1 867s # Start of socket-listener tests 867s ok 1 /socket-listener/event-signal 867s # End of socket-listener tests 867s ok - glib/socket-listener.test 867s # Running test: glib/gdatetime.test 867s TAP version 13 867s # random seed: R02S6e2ebbbb73de382d5cee9cea989ce791 867s 1..68 867s # Start of GDateTime tests 867s # Bug Reference: http://bugzilla.gnome.org/702674 867s ok 1 /GDateTime/invalid 867s ok 2 /GDateTime/add_days 867s ok 3 /GDateTime/add_full 867s ok 4 /GDateTime/add_hours 867s ok 5 /GDateTime/add_minutes 867s ok 6 /GDateTime/add_months 867s ok 7 /GDateTime/add_seconds 867s ok 8 /GDateTime/add_weeks 867s ok 9 /GDateTime/add_years 867s ok 10 /GDateTime/compare 867s ok 11 /GDateTime/diff 867s ok 12 /GDateTime/equal 867s ok 13 /GDateTime/get_day_of_week 867s ok 14 /GDateTime/get_day_of_month 867s ok 15 /GDateTime/get_day_of_year 867s ok 16 /GDateTime/get_hour 867s ok 17 /GDateTime/get_microsecond 867s ok 18 /GDateTime/get_minute 867s ok 19 /GDateTime/get_month 867s ok 20 /GDateTime/get_second 867s ok 21 /GDateTime/get_utc_offset 867s ok 22 /GDateTime/get_year 867s ok 23 /GDateTime/hash 867s ok 24 /GDateTime/new_from_unix 867s ok 25 /GDateTime/new_from_unix_utc 867s ok 26 /GDateTime/new_from_timeval 867s ok 27 /GDateTime/new_from_timeval_utc 867s ok 28 /GDateTime/new_from_iso8601 867s ok 29 /GDateTime/new_full 867s ok 30 /GDateTime/now 867s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 867s ok 31 /GDateTime/test-6-days-until-end-of-the-month 867s # %a -> expected: Sat 867s # %a -> actual: Sat 867s # %A -> expected: Saturday 867s # %A -> actual: Saturday 867s # %b -> expected: Oct 867s # %b -> actual: Oct 867s # %B -> expected: October 867s # %B -> actual: October 867s # %d -> expected: 24 867s # %d -> actual: 24 867s # %d -> expected: 01 867s # %d -> actual: 01 867s # %e -> expected: 24 867s # %e -> actual: 24 867s # %e -> expected:  1 867s # %e -> actual:  1 867s # %f -> expected: 001000 867s # %f -> actual: 001000 867s # %h -> expected: Oct 867s # %h -> actual: Oct 867s # %H -> expected: 00 867s # %H -> actual: 00 867s # %H -> expected: 15 867s # %H -> actual: 15 867s # %I -> expected: 12 867s # %I -> actual: 12 867s # %I -> expected: 12 867s # %I -> actual: 12 867s # %I -> expected: 03 867s # %I -> actual: 03 867s # %j -> expected: 297 867s # %j -> actual: 297 867s # %k -> expected:  0 867s # %k -> actual:  0 867s # %k -> expected: 13 867s # %k -> actual: 13 867s # %l -> expected: 12 867s # %l -> actual: 12 867s # %I -> expected: 12 867s # %I -> actual: 12 867s # %l -> expected:  1 867s # %l -> actual:  1 867s # %l -> expected: 10 867s # %l -> actual: 10 867s # %m -> expected: 10 867s # %m -> actual: 10 867s # %M -> expected: 00 867s # %M -> actual: 00 867s # %p -> expected: AM 867s # %p -> actual: AM 867s # %p -> expected: PM 867s # %p -> actual: PM 867s # %P -> expected: am 867s # %P -> actual: am 867s # %P -> expected: pm 867s # %P -> actual: pm 867s # %r -> expected: 12:00:00 AM 867s # %r -> actual: 12:00:00 AM 867s # %r -> expected: 01:13:13 PM 867s # %r -> actual: 01:13:13 PM 867s # %R -> expected: 00:00 867s # %R -> actual: 00:00 867s # %R -> expected: 13:13 867s # %R -> actual: 13:13 867s # %S -> expected: 00 867s # %S -> actual: 00 867s # %t -> expected: 867s # %t -> actual: 867s # %u -> expected: 6 867s # %u -> actual: 6 867s # %x -> expected: 10/24/09 867s # %x -> actual: 10/24/09 867s # %X -> expected: 00:00:00 867s # %X -> actual: 00:00:00 867s # %X -> expected: 13:14:15 867s # %X -> actual: 13:14:15 867s # %y -> expected: 09 867s # %y -> actual: 09 867s # %Y -> expected: 2009 867s # %Y -> actual: 2009 867s # %% -> expected: % 867s # %% -> actual: % 867s # % -> expected: 867s # % -> actual: 867s # %9 -> expected: (null) 867s # %9 -> actual: (null) 867s # %Z -> expected: UTC 867s # %Z -> actual: UTC 867s ok 32 /GDateTime/printf 867s # %a -> expected: ÅÚ 867s # %a -> actual: ÅÚ 867s # %A -> expected: ÅÚÍËÆü 867s # %A -> actual: ÅÚÍËÆü 867s # %b -> expected: 10·î 867s # %b -> actual: 10·î 867s # %B -> expected: 10·î 867s # %B -> actual: 10·î 867s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 867s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 867s # %C -> expected: 20 867s # %C -> actual: 20 867s # %d -> expected: 24 867s # %d -> actual: 24 867s # %d -> expected: 01 867s # %d -> actual: 01 867s # %e -> expected: 24 867s # %e -> actual: 24 867s # %h -> expected: 10·î 867s # %h -> actual: 10·î 867s # %H -> expected: 00 867s # %H -> actual: 00 867s # %H -> expected: 15 867s # %H -> actual: 15 867s # %I -> expected: 12 867s # %I -> actual: 12 867s # %I -> expected: 12 867s # %I -> actual: 12 867s # %I -> expected: 03 867s # %I -> actual: 03 867s # %j -> expected: 297 867s # %j -> actual: 297 867s # %k -> expected: ?0 867s # %k -> actual: ?0 867s # %k -> expected: 13 867s # %k -> actual: 13 867s # %l -> expected: 12 867s # %l -> actual: 12 867s # %I -> expected: 12 867s # %I -> actual: 12 867s # %l -> expected: ?1 867s # %l -> actual: ?1 867s # %l -> expected: 10 867s # %l -> actual: 10 867s # %m -> expected: 10 867s # %m -> actual: 10 867s # %M -> expected: 00 867s # %M -> actual: 00 867s # %p -> expected: ¸áÁ° 867s # %p -> actual: ¸áÁ° 867s # %p -> expected: ¸á¸å 867s # %p -> actual: ¸á¸å 867s # %P -> expected: ¸áÁ° 867s # %P -> actual: ¸áÁ° 867s # %P -> expected: ¸á¸å 867s # %P -> actual: ¸á¸å 867s # %r -> expected: ¸áÁ°12»þ00ʬ00Éà 867s # %r -> actual: ¸áÁ°12»þ00ʬ00Éà 867s # %r -> expected: ¸á¸å01»þ13ʬ13Éà 867s # %r -> actual: ¸á¸å01»þ13ʬ13Éà 867s # %R -> expected: 00:00 867s # %R -> actual: 00:00 867s # %R -> expected: 13:13 867s # %R -> actual: 13:13 867s # %S -> expected: 00 867s # %S -> actual: 00 867s # %t -> expected: 867s # %t -> actual: 867s # %u -> expected: 6 867s # %u -> actual: 6 867s # %x -> expected: 2009ǯ10·î24Æü 867s # %x -> actual: 2009ǯ10·î24Æü 867s # %X -> expected: 00»þ00ʬ00Éà 867s # %X -> actual: 00»þ00ʬ00Éà 867s # %X -> expected: 13»þ14ʬ15Éà 867s # %X -> actual: 13»þ14ʬ15Éà 867s # %y -> expected: 09 867s # %y -> actual: 09 867s # %Y -> expected: 2009 867s # %Y -> actual: 2009 867s # %% -> expected: % 867s # %% -> actual: % 867s # % -> expected: 867s # % -> actual: 867s # %9 -> expected: (null) 867s # %9 -> actual: (null) 867s # %Ec -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 867s # %Ec -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00Éà 867s # %EC -> expected: 20 867s # %EC -> actual: 20 867s # %Ex -> expected: 2009ǯ10·î24Æü 867s # %Ex -> actual: 2009ǯ10·î24Æü 867s # %EX -> expected: 00»þ00ʬ00Éà 867s # %EX -> actual: 00»þ00ʬ00Éà 867s # %Ey -> expected: 09 867s # %Ey -> actual: 09 867s # %EY -> expected: 2009 867s # %EY -> actual: 2009 867s ok 33 /GDateTime/non_utf8_printf 867s # ???? -> expected: ???? 867s # ???? -> actual: ???? 867s # %H?%M -> expected: 23?15 867s # %H?%M -> actual: 23?15 867s # %H?%M -> expected: 23?15 867s # %H?%M -> actual: 23?15 867s ok 34 /GDateTime/format_unrepresentable 867s ok 35 /GDateTime/format_iso8601 867s # Executing: glib/gdatetime.test 867s ok 36 /GDateTime/strftime 867s # %d -> expected: 01 867s # %d -> actual: 01 867s # %_d -> expected: 1 867s # %_d -> actual: 1 867s # %-d -> expected: 1 867s # %-d -> actual: 1 867s # %0d -> expected: 01 867s # %0d -> actual: 01 867s # %d -> expected: 21 867s # %d -> actual: 21 867s # %_d -> expected: 21 867s # %_d -> actual: 21 867s # %-d -> expected: 21 867s # %-d -> actual: 21 867s # %0d -> expected: 21 867s # %0d -> actual: 21 867s # %e -> expected:  1 867s # %e -> actual:  1 867s # %_e -> expected: 1 867s # %_e -> actual: 1 867s # %-e -> expected: 1 867s # %-e -> actual: 1 867s # %0e -> expected: 01 867s # %0e -> actual: 01 867s # %e -> expected: 21 867s # %e -> actual: 21 867s # %_e -> expected: 21 867s # %_e -> actual: 21 867s # %-e -> expected: 21 867s # %-e -> actual: 21 867s # %0e -> expected: 21 867s # %0e -> actual: 21 867s # %a -> expected: Thu 867s # %a -> actual: Thu 867s # %^a -> expected: THU 867s # %^a -> actual: THU 867s # %#a -> expected: THU 867s # %#a -> actual: THU 867s # %A -> expected: Thursday 867s # %A -> actual: Thursday 867s # %^A -> expected: THURSDAY 867s # %^A -> actual: THURSDAY 867s # %#A -> expected: THURSDAY 867s # %#A -> actual: THURSDAY 867s # %b -> expected: Jan 867s # %b -> actual: Jan 867s # %^b -> expected: JAN 867s # %^b -> actual: JAN 867s # %#b -> expected: JAN 867s # %#b -> actual: JAN 867s # %B -> expected: January 867s # %B -> actual: January 867s # %^B -> expected: JANUARY 867s # %^B -> actual: JANUARY 867s # %#B -> expected: JANUARY 867s # %#B -> actual: JANUARY 867s # %h -> expected: Jan 867s # %h -> actual: Jan 867s # %^h -> expected: JAN 867s # %^h -> actual: JAN 867s # %#h -> expected: JAN 867s # %#h -> actual: JAN 867s # %Z -> expected: UTC 867s # %Z -> actual: UTC 867s # %^Z -> expected: UTC 867s # %^Z -> actual: UTC 867s # %#Z -> expected: utc 867s # %#Z -> actual: utc 867s # %H -> expected: 01 867s # %H -> actual: 01 867s # %_H -> expected: 1 867s # %_H -> actual: 1 867s # %-H -> expected: 1 867s # %-H -> actual: 1 867s # %0H -> expected: 01 867s # %0H -> actual: 01 867s # %H -> expected: 21 867s # %H -> actual: 21 867s # %_H -> expected: 21 867s # %_H -> actual: 21 867s # %-H -> expected: 21 867s # %-H -> actual: 21 867s # %0H -> expected: 21 867s # %0H -> actual: 21 867s # %I -> expected: 01 867s # %I -> actual: 01 867s # %_I -> expected: 1 867s # %_I -> actual: 1 867s # %-I -> expected: 1 867s # %-I -> actual: 1 867s # %0I -> expected: 01 867s # %0I -> actual: 01 867s # %I -> expected: 11 867s # %I -> actual: 11 867s # %_I -> expected: 11 867s # %_I -> actual: 11 867s # %-I -> expected: 11 867s # %-I -> actual: 11 867s # %0I -> expected: 11 867s # %0I -> actual: 11 867s # %k -> expected:  1 867s # %k -> actual:  1 867s # %_k -> expected: 1 867s # %_k -> actual: 1 867s # %-k -> expected: 1 867s # %-k -> actual: 1 867s # %0k -> expected: 01 867s # %0k -> actual: 01 867s # %l -> expected:  1 867s # %l -> actual:  1 867s # %_l -> expected: 1 867s # %_l -> actual: 1 867s # %-l -> expected: 1 867s # %-l -> actual: 1 867s # %0l -> expected: 01 867s # %0l -> actual: 01 867s # %l -> expected: 11 867s # %l -> actual: 11 867s # %_l -> expected: 11 867s # %_l -> actual: 11 867s # %-l -> expected: 11 867s # %-l -> actual: 11 867s # %0l -> expected: 11 867s # %0l -> actual: 11 867s # %p -> expected: AM 867s # %p -> actual: AM 867s # %^p -> expected: AM 867s # %^p -> actual: AM 867s # %#p -> expected: am 867s # %#p -> actual: am 867s # %P -> expected: am 867s # %P -> actual: am 867s # %^P -> expected: AM 867s # %^P -> actual: AM 867s # %#P -> expected: am 867s # %#P -> actual: am 867s # %OH -> expected: Û²Û³ 867s # %OH -> actual: Û²Û³ 867s # %OI -> expected: Û±Û± 867s # %OI -> actual: Û±Û± 867s # %OM -> expected: Û°Û° 867s # %OM -> actual: Û°Û° 867s # %Om -> expected: Û°Û· 867s # %Om -> actual: Û°Û· 867s # %0Om -> expected: Û°Û· 867s # %0Om -> actual: Û°Û· 867s # %-Om -> expected: Û· 867s # %-Om -> actual: Û· 867s # %_Om -> expected: Û· 867s # %_Om -> actual: Û· 867s # %c -> expected: thu 01 jan 2009 00:00:00 utc 867s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 867s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 867s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 867s # %C -> expected: 20 867s # %C -> actual: 20 867s # %EC -> expected: 20 867s # %EC -> actual: 20 867s # %x -> expected: 02/01/09 867s # %x -> actual: 02/01/09 867s # %Ex -> expected: 02/01/09 867s # %Ex -> actual: 02/01/09 867s # %X -> expected: 01:02:03 867s # %X -> actual: 01:02:03 867s # %EX -> expected: 01:02:03 867s # %EX -> actual: 01:02:03 867s # %y -> expected: 09 867s # %y -> actual: 09 867s # %Ey -> expected: 09 867s # %Ey -> actual: 09 867s # %Y -> expected: 2009 867s # %Y -> actual: 2009 867s # %EY -> expected: 2009 867s # %EY -> actual: 2009 867s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 867s # Bug Reference: http://bugzilla.gnome.org/749206 867s # %B -> expected: January 867s # %B -> actual: January 867s # %OB -> expected: February 867s # %OB -> actual: February 867s # %b -> expected: Mar 867s # %b -> actual: Mar 867s # %Ob -> expected: Apr 867s # %Ob -> actual: Apr 867s # %h -> expected: May 867s # %h -> actual: May 867s # %Oh -> expected: Jun 867s # %Oh -> actual: Jun 867s # %B -> expected: Juli 867s # %B -> actual: Juli 867s # %OB -> expected: August 867s # %OB -> actual: August 867s # %b -> expected: Sep 867s # %b -> actual: Sep 867s # %Ob -> expected: Okt 867s # %Ob -> actual: Okt 867s # %h -> expected: Nov 867s # %h -> actual: Nov 867s # %Oh -> expected: Dez 867s # %Oh -> actual: Dez 867s # %B -> expected: enero 867s # %B -> actual: enero 867s # %OB -> expected: febrero 867s # %OB -> actual: febrero 867s # %b -> expected: mar 867s # %b -> actual: mar 867s # %Ob -> expected: abr 867s # %Ob -> actual: abr 867s # %h -> expected: may 867s # %h -> actual: may 867s # %Oh -> expected: jun 867s # %Oh -> actual: jun 867s # %B -> expected: juillet 867s # %B -> actual: juillet 867s # %OB -> expected: août 867s # %OB -> actual: août 867s # %b -> expected: sept. 867s # %b -> actual: sept. 867s # %Ob -> expected: oct. 867s # %Ob -> actual: oct. 867s # %h -> expected: nov. 867s # %h -> actual: nov. 867s # %Oh -> expected: déc. 867s # %Oh -> actual: déc. 867s # %B -> expected: ΙανουαÏίου 867s # %B -> actual: ΙανουαÏίου 867s # %B -> expected: ΦεβÏουαÏίου 867s # %B -> actual: ΦεβÏουαÏίου 867s # %B -> expected: ΜαÏτίου 867s # %B -> actual: ΜαÏτίου 867s # %OB -> expected: ΑπÏίλιος 867s # %OB -> actual: ΑπÏίλιος 867s # %OB -> expected: Μάιος 867s # %OB -> actual: Μάιος 867s # %OB -> expected: ΙοÏνιος 867s # %OB -> actual: ΙοÏνιος 867s # %b -> expected: Ιουλ 867s # %b -> actual: Ιουλ 867s # %Ob -> expected: ΑÏγ 867s # %Ob -> actual: ΑÏγ 867s # %B -> expected: svibnja 867s # %B -> actual: svibnja 867s # %B -> expected: lipnja 867s # %B -> actual: lipnja 867s # %B -> expected: srpnja 867s # %B -> actual: srpnja 867s # %OB -> expected: Kolovoz 867s # %OB -> actual: kolovoz 867s # %OB -> expected: Rujan 867s # %OB -> actual: rujan 867s # %OB -> expected: Listopad 867s # %OB -> actual: listopad 867s # %b -> expected: Stu 867s # %b -> actual: stu 867s # %Ob -> expected: Pro 867s # %Ob -> actual: pro 867s # %B -> expected: sausio 867s # %B -> actual: sausio 867s # %B -> expected: vasario 867s # %B -> actual: vasario 867s # %B -> expected: kovo 867s # %B -> actual: kovo 867s # %OB -> expected: balandis 867s # %OB -> actual: balandis 867s # %OB -> expected: gegužė 867s # %OB -> actual: gegužė 867s # %OB -> expected: birželis 867s # %OB -> actual: birželis 867s # %b -> expected: liep. 867s # %b -> actual: liep. 867s # %Ob -> expected: rugp. 867s # %Ob -> actual: rugp. 867s # %B -> expected: maja 867s # %B -> actual: maja 867s # %B -> expected: czerwca 867s # %B -> actual: czerwca 867s # %B -> expected: lipca 867s # %B -> actual: lipca 867s # %OB -> expected: sierpieÅ„ 867s # %OB -> actual: sierpieÅ„ 867s # %OB -> expected: wrzesieÅ„ 867s # %OB -> actual: wrzesieÅ„ 867s # %OB -> expected: październik 867s # %OB -> actual: październik 867s # %b -> expected: lis 867s # %b -> actual: lis 867s # %Ob -> expected: gru 867s # %Ob -> actual: gru 867s # %B -> expected: ÑÐ½Ð²Ð°Ñ€Ñ 867s # %B -> actual: ÑÐ½Ð²Ð°Ñ€Ñ 867s # %B -> expected: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 867s # %B -> actual: Ñ„ÐµÐ²Ñ€Ð°Ð»Ñ 867s # %B -> expected: марта 867s # %B -> actual: марта 867s # %OB -> expected: Ðпрель 867s # %OB -> actual: Ðпрель 867s # %OB -> expected: Май 867s # %OB -> actual: Май 867s # %OB -> expected: Июнь 867s # %OB -> actual: Июнь 867s # %b -> expected: июл 867s # %b -> actual: июл 867s # %Ob -> expected: авг 867s # %Ob -> actual: авг 867s # %b -> expected: Ð¼Ð°Ñ 867s # %b -> actual: Ð¼Ð°Ñ 867s # %Ob -> expected: май 867s # %Ob -> actual: май 867s ok 38 /GDateTime/month_names 867s ok 39 /GDateTime/to_local 867s ok 40 /GDateTime/to_unix 867s ok 41 /GDateTime/to_timeval 867s ok 42 /GDateTime/to_utc 867s ok 43 /GDateTime/now_utc 867s ok 44 /GDateTime/dst 867s # Bug Reference: http://bugzilla.gnome.org/642935 867s ok 45 /GDateTime/test_z 869s ok 46 /GDateTime/test-all-dates 869s # slow test /GDateTime/test-all-dates executed in 1.44 secs 869s ok 47 /GDateTime/unix_usec 869s # Start of new_from_unix tests 869s # Bug Reference: http://bugzilla.gnome.org/782089 869s ok 48 /GDateTime/new_from_unix/overflow 869s # End of new_from_unix tests 869s # Start of new_from_timeval tests 869s # Bug Reference: http://bugzilla.gnome.org/782089 869s # Maximum supported GTimeVal.tv_sec = 253402300799 869s ok 49 /GDateTime/new_from_timeval/overflow 869s # End of new_from_timeval tests 869s # Start of new_from_iso8601 tests 869s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 869s # Vector 0: 1990-11-01T10:21:17Z 869s # Vector 1: 19901101T102117Z 869s # Vector 2: 1970-01-01T00:00:17.12Z 869s # Vector 3: 1970-01-01T00:00:17.1234Z 869s # Vector 4: 1970-01-01T00:00:17.123456Z 869s # Vector 5: 1980-02-22T12:36:00+02:00 869s # Vector 6: 1990-12-31T15:59:60-08:00 869s # Vector 7: 869s # Vector 8: x 869s # Vector 9: 123x 869s # Vector 10: 2001-10+x 869s # Vector 11: 1980-02-22T 869s # Vector 12: 2001-10-08Tx 869s # Vector 13: 2001-10-08T10:11x 869s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 869s # Vector 15: 1980-02-22T10:36:00Zulu 869s # Vector 16: 2T0+819855292164632335 869s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 869s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 869s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 869s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 869s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 869s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 869s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 869s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 869s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 869s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 869s # Vector 27: 20180803T140805.446178377+0100 869s # Vector 28: 21474836480803T140805.446178377+0100 869s # Vector 29: 20181303T140805.446178377+0100 869s # Vector 30: 20180003T140805.446178377+0100 869s # Vector 31: 20180800T140805.446178377+0100 869s # Vector 32: 20180832T140805.446178377+0100 869s # Vector 33: 20180803T240805.446178377+0100 869s # Vector 34: 20180803T146005.446178377+0100 869s # Vector 35: 20180803T140863.446178377+0100 869s # Vector 36: 20180803T140805.446178377+10000 869s # Vector 37: -0005-01-01T00:00:00Z 869s # Vector 38: 2018-08-06 869s # Vector 39: 20180803T140805,446178377+0100 869s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 869s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 869s # Vector 42: 1990-11-01T10:21:17 869s # Vector 43: 1719W462 407777-07 869s # Vector 44: 4011090 260528Z 869s # Vector 45: 0000W011 228214-22 869s ok 50 /GDateTime/new_from_iso8601/2 869s # End of new_from_iso8601 tests 869s # Start of format_mixed tests 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 869s # %b -> expected: mar 869s # %b -> actual: Mar 869s # %B -> expected: march 869s # %B -> actual: March 869s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 869s # %b -> expected: mar 869s # %b -> actual: Mar 869s # %B -> expected: march 869s # %B -> actual: March 869s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 869s # %b -> expected: Mär 869s # %b -> actual: Mär 869s # %B -> expected: März 869s # %B -> actual: März 869s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 869s # %b -> expected: Mär 869s # %b -> actual: Mär 869s # %B -> expected: März 869s # %B -> actual: März 869s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 869s # End of format_mixed tests 869s # Start of strftime tests 869s # %r -> expected: (null) 869s # %r -> actual: (null) 869s ok 55 /GDateTime/strftime/error_handling 869s # End of strftime tests 869s # Start of eras tests 869s ok 56 /GDateTime/eras/japan # SKIP nl_langinfo(ERA) not supported, skipping era tests 869s ok 57 /GDateTime/eras/thailand # SKIP nl_langinfo(ERA) not supported, skipping era tests 869s # Vector 0: 869s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 869s # 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å¹´ 869s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Eyå¹´ 869s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Eyå¹´ 869s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Eyå¹´ 869s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Eyå¹´ 869s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Eyå¹´ 869s # Vector 8: + 869s # Vector 9: +: 869s # Vector 10: +:: 869s # Vector 11: +:200 869s # Vector 12: +:2nonsense 869s # Vector 13: +:2nonsense: 869s # Vector 14: +:2: 869s # Vector 15: +:2:: 869s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Eyå¹´ 869s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Eyå¹´ 869s # Vector 18: +:2:2020:+*:令和:%EC%Eyå¹´ 869s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Eyå¹´ 869s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Eyå¹´ 869s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Eyå¹´ 869s # Vector 22: +:2:2020/01:+*:令和:%EC%Eyå¹´ 869s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Eyå¹´ 869s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Eyå¹´ 869s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Eyå¹´ 869s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Eyå¹´ 869s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Eyå¹´ 869s # Vector 28: +:2:2020/01/01 869s # Vector 29: +:2:2020/01/01: 869s # Vector 30: +:2:2020/01/01:: 869s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Eyå¹´ 869s # Vector 32: +:2:2020/01/01:+* 869s # Vector 33: +:2:2020/01/01:+*: 869s # Vector 34: +:2:2020/01/01:+*:: 869s # Vector 35: +:2:2020/01/01:+*:令和 869s # Vector 36: +:2:2020/01/01:+*:令和: 869s # Vector 37: +:2:2020/01/01:+*:令和:; 869s ok 58 /GDateTime/eras/parsing 869s # End of eras tests 869s # End of GDateTime tests 869s # Start of GTimeZone tests 869s ok 59 /GTimeZone/find-interval 869s ok 60 /GTimeZone/adjust-time 869s ok 61 /GTimeZone/no-header 869s ok 62 /GTimeZone/no-header-identifier 869s ok 63 /GTimeZone/posix-parse 869s # Bug Reference: http://bugzilla.gnome.org/697715 869s ok 64 /GTimeZone/floating-point 869s # System time zone identifier: Etc/UTC 869s ok 65 /GTimeZone/identifier 869s # Vector 0: -158400 869s # Vector 1: -10000 869s # Vector 2: -3600 869s # Vector 3: -61 869s # Vector 4: -60 869s # Vector 5: -59 869s # Vector 6: 0 869s # Vector 7: 59 869s # Vector 8: 60 869s # Vector 9: 61 869s # Vector 10: 3600 869s # Vector 11: 10000 869s # Vector 12: 158400 869s ok 66 /GTimeZone/new-offset 869s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 869s ok 67 /GTimeZone/parse-rfc8536 869s # /GTimeZone/caching summary: GTimeZone instances are cached 869s ok 68 /GTimeZone/caching 869s # End of GTimeZone tests 869s ok - glib/gdatetime.test 869s # Running test: glib/gmenumodel.test 869s TAP version 13 869s # random seed: R02S4dbc0ced828b22640bc0891a1a6b4cda 869s 1..14 869s # Start of gmenu tests 869s ok 1 /gmenu/equality 869s # slow test /gmenu/equality executed in 0.56 secs 870s ok 2 /gmenu/random 870s # slow test /gmenu/random executed in 0.62 secs 870s ok 3 /gmenu/attributes 870s ok 4 /gmenu/links 870s ok 5 /gmenu/mutable 870s ok 6 /gmenu/convenience 870s ok 7 /gmenu/menuitem 870s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 870s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 870s ok 8 /gmenu/input-validation 870s # Start of dbus tests 870s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 871s ok 9 /gmenu/dbus/roundtrip 871s # slow test /gmenu/dbus/roundtrip executed in 1.07 secs 872s ok 10 /gmenu/dbus/subscriptions 872s # Executing: glib/gmenumodel.test 873s ok 11 /gmenu/dbus/threaded 873s # slow test /gmenu/dbus/threaded executed in 1.36 secs 873s # Start of peer tests 874s ok 12 /gmenu/dbus/peer/roundtrip 874s # slow test /gmenu/dbus/peer/roundtrip executed in 1.07 secs 874s ok 13 /gmenu/dbus/peer/subscriptions # SKIP Not reliable? #932678 874s # End of peer tests 874s # End of dbus tests 874s # Start of attributes tests 874s ok 14 /gmenu/attributes/iterate 874s # End of attributes tests 874s # End of gmenu tests 874s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 874s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 874s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 874s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 874s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 874s ok - glib/gmenumodel.test 874s # Running test: glib/tls-bindings.test 874s TAP version 13 874s # random seed: R02S81a07c43db0a79866755fce76f0d6f2f 874s 1..2 874s # Start of tls-connection tests 874s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 874s ok 1 /tls-connection/get-tls-channel-binding 874s ok 2 /tls-connection/get-dtls-channel-binding 874s # End of tls-connection tests 874s ok - glib/tls-bindings.test 874s # Running test: glib/gutils-user-database.test 874s TAP version 13 874s # random seed: R02S7103fc0985a1d5d2dfc64122b071d049 874s 1..1 874s # Start of gutils tests 874s ok 1 /gutils/get_user_database_entry 874s # End of gutils tests 874s ok - glib/gutils-user-database.test 874s # Running test: glib/unix-streams.test 874s TAP version 13 874s # random seed: R02S04a81e8cfd1365917e7bba288ee5976b 874s 1..9 874s # Start of unix-streams tests 874s ok 1 /unix-streams/basic 874s ok 2 /unix-streams/pipe-io-test 874s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 876s ok 3 /unix-streams/nonblocking-io-test 876s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 876s ok 4 /unix-streams/read_write 876s ok 5 /unix-streams/read_writev 876s ok 6 /unix-streams/write-wouldblock 876s ok 7 /unix-streams/writev-wouldblock 876s ok 8 /unix-streams/write-async-wouldblock 876s ok 9 /unix-streams/writev-async-wouldblock 876s # End of unix-streams tests 876s ok - glib/unix-streams.test 876s # Running test: glib/enums.test 876s TAP version 13 876s # random seed: R02Sd6b6b1b02b52a5609e5f26e781319c2f 876s 1..4 876s # Start of enum tests 876s ok 1 /enum/basic 876s ok 2 /enum/define-type 876s # End of enum tests 876s # Start of flags tests 876s ok 3 /flags/basic 876s ok 4 /flags/define-type 876s # End of flags tests 876s ok - glib/enums.test 876s # Running test: glib/1bit-mutex.test 876s TAP version 13 876s # random seed: R02S1f525f4e6b38c216c75325a59bf32dc8 876s 1..2 876s # Start of glib tests 876s # Start of 1bit-mutex tests 877s # Executing: glib/1bit-mutex.test 882s ok 1 /glib/1bit-mutex/int 882s # slow test /glib/1bit-mutex/int executed in 6.97 secs 882s # Executing: glib/1bit-mutex.test 887s # Executing: glib/1bit-mutex.test 889s not ok - Test timed out after 300 seconds 889s ok 2 /glib/1bit-mutex/pointer 889s # slow test /glib/1bit-mutex/pointer executed in 7.43 secs 889s # End of 1bit-mutex tests 889s # End of glib tests 889s ok - glib/1bit-mutex.test 889s # Running test: glib/thread-deprecated.test 889s TAP version 13 889s # random seed: R02S0a147906f91511448c0f3e5c3fe69c4b 889s 1..6 889s # Start of thread tests 889s ok 1 /thread/mutex 890s ok 2 /thread/static-rec-mutex 892s # Executing: glib/thread-deprecated.test 894s ok 3 /thread/static-private 894s # slow test /thread/static-private executed in 4.40 secs 897s # Executing: glib/thread-deprecated.test 899s ok 4 /thread/static-rw-lock 899s # slow test /thread/static-rw-lock executed in 5.00 secs 899s ok 5 /thread/once 902s # Executing: glib/thread-deprecated.test 912s # Executing: glib/thread-deprecated.test 912s autopkgtest [18:33:26]: test installed-tests: -----------------------] 912s ok 6 /thread/rerun-all 912s # slow test /thread/rerun-all executed in 10.02 secs 912s # End of thread tests 912s ok - glib/thread-deprecated.test 912s # SUMMARY: total=316; passed=315; skipped=1; failed=0; user=156.7s; system=38.6s; maxrss=210944 923s autopkgtest [18:33:40]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 923s installed-tests PASS 923s autopkgtest [18:33:40]: test closure-refcount: preparing testbed 934s Reading package lists... 934s Building dependency tree... 934s Reading state information... 934s Starting pkgProblemResolver with broken count: 0 934s Starting 2 pkgProblemResolver with broken count: 0 934s Done 934s The following NEW packages will be installed: 934s autopkgtest-satdep 934s 0 upgraded, 1 newly installed, 0 to remove and 224 not upgraded. 934s Need to get 0 B/772 B of archives. 934s After this operation, 0 B of additional disk space will be used. 934s Get:1 /tmp/autopkgtest.Juhcat/4-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 935s Selecting previously unselected package autopkgtest-satdep. 935s (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 ... 52721 files and directories currently installed.) 935s Preparing to unpack .../4-autopkgtest-satdep.deb ... 935s Unpacking autopkgtest-satdep (0) ... 935s Setting up autopkgtest-satdep (0) ... 937s (Reading database ... 52721 files and directories currently installed.) 937s Removing autopkgtest-satdep (0) ... 938s autopkgtest [18:33:55]: test closure-refcount: [----------------------- 938s Running test: glib/closure-refcount.test 938s TAP version 13 938s # random seed: R02Se4f7e88526858b4f344bca2ff8a58b55 938s 1..1 938s # Start of closure tests 938s # Init 0x2aa1bde40a0 938s # Yielding from main thread 938s # Yielding from main thread 938s # Yielding from thread1 938s # Yielding from thread2 938s # Yielding from main thread 938s # Yielding from thread1 938s # Yielding from main thread 938s # Yielding from main thread 938s # Yielding from thread2 938s # Yielding from main thread 938s # Yielding from thread1 938s # Yielding from thread2 938s # Yielding from main thread 938s # Yielding from main thread 938s # Yielding from thread1 938s # Yielding from thread2 938s # Yielding from main thread 938s # Yielding from thread1 938s # Yielding from main thread 938s # Yielding from thread2 938s # Yielding from thread1 938s # Yielding from main thread 938s # Yielding from main thread 938s # Yielding from main thread 938s # Yielding from thread2 939s # Yielding from main thread 939s # Yielding from thread1 939s # Yielding from thread2 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from thread1 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from thread2 939s # Yielding from thread1 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from thread2 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from thread1 939s # Yielding from thread2 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from thread2 939s # Yielding from main thread 939s # Yielding from thread1 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from thread1 939s # Yielding from thread2 939s # Yielding from main thread 939s # Yielding from thread2 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from thread1 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from thread2 939s # Yielding from thread1 939s # Yielding from main thread 939s # Yielding from thread1 939s # Yielding from main thread 939s # Yielding from thread2 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from thread1 939s # Yielding from main thread 939s # Yielding from thread2 939s # Yielding from main thread 939s # Yielding from thread1 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from thread2 939s # Yielding from main thread 939s # Yielding from thread2 939s # Yielding from thread1 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from thread2 939s # Yielding from main thread 939s # Yielding from thread1 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from thread2 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from thread1 939s # Yielding from thread2 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from thread1 939s # Yielding from thread2 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from thread1 939s # Yielding from thread2 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from thread1 939s # Yielding from thread2 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from thread2 939s # Yielding from thread1 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from thread2 939s # Yielding from thread1 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from thread2 939s # Yielding from thread1 939s # Yielding from main thread 939s # Yielding from thread1 939s # Yielding from thread2 939s # Yielding from main thread 939s # Yielding from main thread 939s # Yielding from thread1 940s # Yielding from main thread 940s # Yielding from main thread 940s # Yielding from thread2 940s # Yielding from main thread 940s # Yielding from thread2 940s # Yielding from thread1 940s # Yielding from main thread 940s # Yielding from main thread 940s # Yielding from main thread 940s # Yielding from main thread 940s # Yielding from thread1 940s # Yielding from main thread 940s # Yielding from thread2 940s # Yielding from thread2 940s # Yielding from main thread 940s # Yielding from main thread 940s # Yielding from thread1 940s # Yielding from main thread 940s # Yielding from thread1 940s # Yielding from main thread 940s # Yielding from thread2 940s # Yielding from main thread 940s # Yielding from thread1 940s # Yielding from thread2 940s # Yielding from main thread 940s # Yielding from main thread 940s # Yielding from thread2 940s # Yielding from main thread 940s # Yielding from thread1 940s # Yielding from main thread 940s # Yielding from thread1 940s # Yielding from main thread 940s # Yielding from main thread 940s # Yielding from thread2 940s # Yielding from main thread 940s # Yielding from main thread 940s # Yielding from main thread 940s # Yielding from main thread 940s # Yielding from thread1 940s # Yielding from thread2 940s # Yielding from thread2 940s # Yielding from main thread 940s # Stopping 940s # Yielding from thread1 940s # Stopped 940s ok 1 /closure/refcount 940s # slow test /closure/refcount executed in 1.67 secs 940s # End of closure tests 940s PASS: glib/closure-refcount.test 940s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.6s; system=0.0s; maxrss=3456 940s autopkgtest [18:33:57]: test closure-refcount: -----------------------] 941s closure-refcount PASS 941s autopkgtest [18:33:58]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 941s autopkgtest [18:33:58]: test debugcontroller: preparing testbed 951s Reading package lists... 951s Building dependency tree... 951s Reading state information... 952s Starting pkgProblemResolver with broken count: 0 952s Starting 2 pkgProblemResolver with broken count: 0 952s Done 952s The following NEW packages will be installed: 952s autopkgtest-satdep 952s 0 upgraded, 1 newly installed, 0 to remove and 224 not upgraded. 952s Need to get 0 B/776 B of archives. 952s After this operation, 0 B of additional disk space will be used. 952s Get:1 /tmp/autopkgtest.Juhcat/5-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 952s Selecting previously unselected package autopkgtest-satdep. 952s (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 ... 52721 files and directories currently installed.) 952s Preparing to unpack .../5-autopkgtest-satdep.deb ... 952s Unpacking autopkgtest-satdep (0) ... 952s Setting up autopkgtest-satdep (0) ... 955s (Reading database ... 52721 files and directories currently installed.) 955s Removing autopkgtest-satdep (0) ... 955s autopkgtest [18:34:12]: test debugcontroller: [----------------------- 956s Running test: glib/debugcontroller.test 956s TAP version 13 956s # random seed: R02S58581b718522c832fd9ae0aa967fbfde 956s 1..3 956s # Start of debug-controller tests 956s # Start of dbus tests 956s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Debug output enabled 956s # GLib-GIO-DEBUG: Debug output disabled 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s ok 1 /debug-controller/dbus/basic 956s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s ok 2 /debug-controller/dbus/duplicate 956s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 956s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 956s # GLib-GIO-DEBUG: Debug output enabled 956s # GLib-GIO-DEBUG: Debug output disabled 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 956s ok 3 /debug-controller/dbus/properties 956s # End of dbus tests 956s # End of debug-controller tests 956s PASS: glib/debugcontroller.test 956s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6144 956s autopkgtest [18:34:13]: test debugcontroller: -----------------------] 956s autopkgtest [18:34:13]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 956s debugcontroller PASS 957s autopkgtest [18:34:14]: test gdbus-server-auth: preparing testbed 963s Reading package lists... 964s Building dependency tree... 964s Reading state information... 964s Starting pkgProblemResolver with broken count: 0 964s Starting 2 pkgProblemResolver with broken count: 0 964s Done 964s The following NEW packages will be installed: 964s autopkgtest-satdep 964s 0 upgraded, 1 newly installed, 0 to remove and 224 not upgraded. 964s Need to get 0 B/776 B of archives. 964s After this operation, 0 B of additional disk space will be used. 964s Get:1 /tmp/autopkgtest.Juhcat/6-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 965s Selecting previously unselected package autopkgtest-satdep. 965s (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 ... 52721 files and directories currently installed.) 965s Preparing to unpack .../6-autopkgtest-satdep.deb ... 965s Unpacking autopkgtest-satdep (0) ... 965s Setting up autopkgtest-satdep (0) ... 967s (Reading database ... 52721 files and directories currently installed.) 967s Removing autopkgtest-satdep (0) ... 968s autopkgtest [18:34:25]: test gdbus-server-auth: [----------------------- 968s Running test: glib/gdbus-server-auth.test 968s TAP version 13 968s # random seed: R02S1e9322ed530e637ea6e5be8a3c134899 968s 1..9 968s # Start of gdbus tests 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/.dirs/runtime 968s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_X5B2K2/gdbus-server-auth-8Q41K2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 968s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_X5B2K2/gdbus-server-auth-8Q41K2/dbus-G07LsngD 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16337 968s ok 1 /gdbus/server-auth 968s # Start of server-auth tests 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/abstract/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/abstract/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/abstract/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/abstract/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/abstract/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/abstract/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/abstract/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/abstract/.dirs/runtime 968s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_X5B2K2/gdbus-server-auth-V2M2K2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 968s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_X5B2K2/gdbus-server-auth-V2M2K2/dbus-xht8sFku 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16337 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16337 968s ok 2 /gdbus/server-auth/abstract 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/tcp/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/tcp/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/tcp/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/tcp/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/tcp/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/tcp/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/tcp/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/tcp/.dirs/runtime 968s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 968s # Connectable address: tcp:host=127.0.0.1,port=34505 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 968s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 968s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 969s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 969s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 969s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 969s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 969s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 969s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 969s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 969s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 969s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 969s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 969s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 969s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 969s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 969s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 969s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 969s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 969s ok 3 /gdbus/server-auth/tcp 969s # slow test /gdbus/server-auth/tcp executed in 1.03 secs 969s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/anonymous/.dirs/home 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/anonymous/.dirs/cache 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/anonymous/.dirs/system-config2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/anonymous/.dirs/config 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/anonymous/.dirs/system-data2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/anonymous/.dirs/data 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/anonymous/.dirs/state 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/anonymous/.dirs/runtime 969s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_X5B2K2/gdbus-server-auth-YCG3K2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 969s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_X5B2K2/gdbus-server-auth-YCG3K2/dbus-Efei4EUD 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16337 969s ok 4 /gdbus/server-auth/anonymous 969s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/external/.dirs/home 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/external/.dirs/cache 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/external/.dirs/system-config2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/external/.dirs/config 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/external/.dirs/system-data2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/external/.dirs/data 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/external/.dirs/state 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/external/.dirs/runtime 969s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_X5B2K2/gdbus-server-auth-8WU0K2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 969s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_X5B2K2/gdbus-server-auth-8WU0K2/dbus-G6j9pT6L 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16337 969s ok 5 /gdbus/server-auth/external 969s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/sha1/.dirs/home 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/sha1/.dirs/cache 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/sha1/.dirs/system-config2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/sha1/.dirs/config 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/sha1/.dirs/system-data2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/sha1/.dirs/data 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/sha1/.dirs/state 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/sha1/.dirs/runtime 969s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_X5B2K2/gdbus-server-auth-LTS0K2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 969s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_X5B2K2/gdbus-server-auth-LTS0K2/dbus-l8p9gitR 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16337 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16337 969s ok 6 /gdbus/server-auth/sha1 969s # Start of anonymous tests 969s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/anonymous/tcp/.dirs/home 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/anonymous/tcp/.dirs/cache 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/anonymous/tcp/.dirs/config 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/anonymous/tcp/.dirs/data 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/anonymous/tcp/.dirs/state 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 969s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 969s # Connectable address: tcp:host=127.0.0.1,port=42335 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 970s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 970s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 970s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 970s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 970s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 970s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 970s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 970s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 970s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 970s ok 7 /gdbus/server-auth/anonymous/tcp 970s # slow test /gdbus/server-auth/anonymous/tcp executed in 1.00 secs 970s # End of anonymous tests 970s # Start of external tests 970s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/external/require-same-user/.dirs/home 970s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/external/require-same-user/.dirs/cache 970s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 970s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/external/require-same-user/.dirs/config 970s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 970s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/external/require-same-user/.dirs/data 970s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/external/require-same-user/.dirs/state 970s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/external/require-same-user/.dirs/runtime 970s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_X5B2K2/gdbus-server-auth-DGH1K2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 970s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_X5B2K2/gdbus-server-auth-DGH1K2/dbus-HsKMoVT7 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16337 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16337 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16337 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16337 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16337 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16337 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16337 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16337 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16337 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16337 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16337 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16337 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16337 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16337 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16337 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16337 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16337 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16337 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16337 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16337 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 970s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16337,uid=1000,gid=1000 970s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16337 970s ok 8 /gdbus/server-auth/external/require-same-user 970s # End of external tests 970s # Start of sha1 tests 970s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/sha1/tcp/.dirs/home 970s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/sha1/tcp/.dirs/cache 970s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 970s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/sha1/tcp/.dirs/config 970s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 970s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/sha1/tcp/.dirs/data 970s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/sha1/tcp/.dirs/state 970s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_X5B2K2/gdbus/server-auth/sha1/tcp/.dirs/runtime 970s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 970s # Connectable address: tcp:host=127.0.0.1,port=46021 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 970s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 970s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 970s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 970s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 970s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 970s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 970s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 970s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 970s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 970s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 970s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 970s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 970s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 970s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 970s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 970s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 971s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 971s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 971s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 971s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 971s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 971s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 971s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 971s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 971s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 971s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 971s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 971s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 971s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 971s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 971s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 971s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 971s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 971s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 971s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 971s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 971s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 971s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 971s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 971s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 971s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 971s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 971s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 971s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 971s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 971s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 971s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 971s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 971s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 971s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 971s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 971s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 971s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 971s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 971s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 971s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 971s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 971s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 971s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 971s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 971s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 971s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 971s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 971s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 971s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 971s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 971s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 971s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 971s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 971s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 971s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 971s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 971s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 971s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 971s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 971s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 971s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 971s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 971s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 971s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 971s ok 9 /gdbus/server-auth/sha1/tcp 971s # slow test /gdbus/server-auth/sha1/tcp executed in 1.00 secs 971s # End of sha1 tests 971s # End of server-auth tests 971s # End of gdbus tests 971s PASS: glib/gdbus-server-auth.test 971s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8960 971s autopkgtest [18:34:28]: test gdbus-server-auth: -----------------------] 972s gdbus-server-auth PASS 972s autopkgtest [18:34:29]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 972s autopkgtest [18:34:29]: test gdbus-threading: preparing testbed 980s Reading package lists... 981s Building dependency tree... 981s Reading state information... 981s Starting pkgProblemResolver with broken count: 0 981s Starting 2 pkgProblemResolver with broken count: 0 981s Done 981s The following NEW packages will be installed: 981s autopkgtest-satdep 981s 0 upgraded, 1 newly installed, 0 to remove and 224 not upgraded. 981s Need to get 0 B/772 B of archives. 981s After this operation, 0 B of additional disk space will be used. 981s Get:1 /tmp/autopkgtest.Juhcat/7-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 982s Selecting previously unselected package autopkgtest-satdep. 982s (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 ... 52721 files and directories currently installed.) 982s Preparing to unpack .../7-autopkgtest-satdep.deb ... 982s Unpacking autopkgtest-satdep (0) ... 982s Setting up autopkgtest-satdep (0) ... 984s (Reading database ... 52721 files and directories currently installed.) 984s Removing autopkgtest-satdep (0) ... 984s autopkgtest [18:34:41]: test gdbus-threading: [----------------------- 985s Running test: glib/gdbus-threading.test 985s TAP version 13 985s # random seed: R02S8c5da6c6f5054d1afb6671bc12d79ef1 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s 1..3 985s # Start of gdbus tests 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_VX2YK2/gdbus/delivery-in-thread/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_VX2YK2/gdbus/delivery-in-thread/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_VX2YK2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_VX2YK2/gdbus/delivery-in-thread/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_VX2YK2/gdbus/delivery-in-thread/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_VX2YK2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_VX2YK2/gdbus/delivery-in-thread/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_VX2YK2/gdbus/delivery-in-thread/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_VX2YK2/gdbus/delivery-in-thread/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_VX2YK2/gdbus/delivery-in-thread/.dirs/runtime 985s ok 1 /gdbus/delivery-in-thread 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_VX2YK2/gdbus/method-calls-in-thread/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_VX2YK2/gdbus/method-calls-in-thread/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_VX2YK2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_VX2YK2/gdbus/method-calls-in-thread/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_VX2YK2/gdbus/method-calls-in-thread/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_VX2YK2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_VX2YK2/gdbus/method-calls-in-thread/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_VX2YK2/gdbus/method-calls-in-thread/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_VX2YK2/gdbus/method-calls-in-thread/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_VX2YK2/gdbus/method-calls-in-thread/.dirs/runtime 985s ok 2 /gdbus/method-calls-in-thread 985s # slow test /gdbus/method-calls-in-thread executed in 0.83 secs 985s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_VX2YK2/gdbus/threaded-singleton/.dirs/home 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_VX2YK2/gdbus/threaded-singleton/.dirs/cache 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_VX2YK2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_VX2YK2/gdbus/threaded-singleton/.dirs/system-config2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_VX2YK2/gdbus/threaded-singleton/.dirs/config 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_VX2YK2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_VX2YK2/gdbus/threaded-singleton/.dirs/system-data2 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_VX2YK2/gdbus/threaded-singleton/.dirs/data 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_VX2YK2/gdbus/threaded-singleton/.dirs/state 985s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_VX2YK2/gdbus/threaded-singleton/.dirs/runtime 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: refcount of 0x3ff64002da0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: refcount of 0x3ff640036f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: refcount of 0x3ff640023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x3ff640023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x3ff640023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x3ff640023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x3ff640023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x3ff640023e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x3ff64001f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: refcount of 0x3ff64001f20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x3ff64001f00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x3ff64001f00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x3ff640064e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x3ff64001df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x3ff64001df0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x3ff64004780 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x3ff64004780 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x3ff64001fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x3ff64002b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x3ff64002b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x3ff64002b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x3ff64002b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: refcount of 0x3ff64002b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x3ff64002b30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x3ff64006990 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x3ff64002b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x3ff64002b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x3ff64002b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x3ff64004b00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: refcount of 0x3ff64004b00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x3ff64005460 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x3ff64004bb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: refcount of 0x3ff64004bb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x3ff64004bb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x3ff64004bb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x3ff64002070 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x3ff640044a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x3ff640044a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: refcount of 0x3ff640044a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x3ff640044a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x3ff640044a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x3ff640044a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x3ff640044a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x3ff640044a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x3ff640018b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x3ff640018b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x3ff640018b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x3ff640018b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x3ff640018b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x3ff64005350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x3ff64004a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x3ff64004a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x3ff64004a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x3ff64005f70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x3ff64005f70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x3ff64005f30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x3ff64005f30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x3ff64005f30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x3ff64007740 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x3ff64000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: refcount of 0x3ff64000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x3ff64000c40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x3ff640044a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x3ff64007110 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x3ff64007110 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x3ff64000e40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x3ff64005ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x3ff64005ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x3ff64005ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: refcount of 0x3ff64005ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s Executing: glib/gdbus-threading.test 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x3ff64005ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x3ff64005ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x3ff64005ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x3ff64005ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x3ff64005ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x3ff64001500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x3ff64001500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x3ff64001500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x3ff64001500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x3ff64001500 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x3ff640044a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x3ff64006ec0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x3ff64006ec0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x3ff64008300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x3ff64008300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: refcount of 0x3ff64008300 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x3ff64005350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x3ff64005350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x3ff64005350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x3ff64007020 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: refcount of 0x3ff64007020 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x3ff64007020 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x3ff64007020 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x3ff64007020 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x3ff64007020 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x3ff64005fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x3ff64005fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x3ff64005fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x3ff64005fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x3ff64005fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x3ff64005fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x3ff64005fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x3ff64005fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x3ff64005e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x3ff64005e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: refcount of 0x3ff64005e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x3ff64005e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x3ff64005e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x3ff64005e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x3ff64005e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x3ff64005e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x3ff64005e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: refcount of 0x3ff64005e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x3ff64005e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x3ff64005e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x3ff64005e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x3ff64005e00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x3ff640044a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x3ff64005ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x3ff64005ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x3ff64007770 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: refcount of 0x3ff64007770 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x3ff640010b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x3ff64005ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s Executing: glib/gdbus-threading.test 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x3ff64006340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x3ff64006340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: refcount of 0x3ff64006340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x3ff64007ce0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x3ff64006340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x3ff64006340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: refcount of 0x3ff64006340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x3ff64006340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x3ff64006340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x3ff64007b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x3ff64007b80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x3ff64005380 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x3ff64005380 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x3ff640048f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x3ff640048f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x3ff64006340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x3ff64006340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x3ff640044a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: refcount of 0x3ff640044a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x3ff640044a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x3ff640044a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x3ff640044a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: refcount of 0x3ff640044a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x3ff64006340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x3ff64006340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x3ff64006340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x3ff64006340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x3ff64008dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x3ff64007a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: refcount of 0x3ff64007a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x3ff64008ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x3ff640068a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x3ff640086c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x3ff64006340 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x3ff64005ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x3ff640086c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: refcount of 0x3ff640086c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x3ff64008c50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: refcount of 0x3ff64008c50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x3ff64008b40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x3ff64005350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x3ff640016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x3ff640016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x3ff640016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x3ff640016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x3ff640016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x3ff640016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x3ff640016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x3ff640016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x3ff640016c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x3ff64007b40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x3ff64005380 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x3ff64005380 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x3ff64005380 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x3ff64005380 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x3ff64007ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: refcount of 0x3ff64007ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s Executing: glib/gdbus-threading.test 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x3ff64007ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x3ff64007ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x3ff64007ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x3ff64007ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x3ff64007ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x3ff64007ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: refcount of 0x3ff64007ee0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x3ff64005dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x3ff64008e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x3ff64008e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: refcount of 0x3ff64008e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x3ff64008e30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x3ff64005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x3ff64005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x3ff64002450 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x3ff64002450 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x3ff64002450 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: refcount of 0x3ff64002450 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x3ff64002450 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x3ff64002450 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x3ff64002450 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x3ff64002450 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: refcount of 0x3ff64008e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s ok 3 /gdbus/threaded-singleton 1002s # slow test /gdbus/threaded-singleton executed in 16.16 secs 1002s # End of gdbus tests 1002s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1002s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1002s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1002s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1002s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1002s PASS: glib/gdbus-threading.test 1002s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.2s; maxrss=6144 1002s autopkgtest [18:34:59]: test gdbus-threading: -----------------------] 1003s gdbus-threading PASS 1003s autopkgtest [18:35:00]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1003s autopkgtest [18:35:00]: test gmenumodel: preparing testbed 1009s Reading package lists... 1009s Building dependency tree... 1009s Reading state information... 1009s Starting pkgProblemResolver with broken count: 0 1009s Starting 2 pkgProblemResolver with broken count: 0 1009s Done 1010s The following NEW packages will be installed: 1010s autopkgtest-satdep 1010s 0 upgraded, 1 newly installed, 0 to remove and 224 not upgraded. 1010s Need to get 0 B/776 B of archives. 1010s After this operation, 0 B of additional disk space will be used. 1010s Get:1 /tmp/autopkgtest.Juhcat/8-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 1010s Selecting previously unselected package autopkgtest-satdep. 1010s (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 ... 52721 files and directories currently installed.) 1010s Preparing to unpack .../8-autopkgtest-satdep.deb ... 1010s Unpacking autopkgtest-satdep (0) ... 1010s Setting up autopkgtest-satdep (0) ... 1013s (Reading database ... 52721 files and directories currently installed.) 1013s Removing autopkgtest-satdep (0) ... 1013s autopkgtest [18:35:10]: test gmenumodel: [----------------------- 1013s Running test: glib/gmenumodel.test 1013s TAP version 13 1013s # random seed: R02S2cd8669edaef6a1bf08dcb030d66f78a 1013s 1..14 1013s # Start of gmenu tests 1014s ok 1 /gmenu/equality 1014s # slow test /gmenu/equality executed in 0.55 secs 1015s ok 2 /gmenu/random 1015s # slow test /gmenu/random executed in 0.65 secs 1015s ok 3 /gmenu/attributes 1015s ok 4 /gmenu/links 1015s ok 5 /gmenu/mutable 1015s ok 6 /gmenu/convenience 1015s ok 7 /gmenu/menuitem 1015s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1015s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1015s ok 8 /gmenu/input-validation 1015s # Start of dbus tests 1015s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1016s ok 9 /gmenu/dbus/roundtrip 1016s # slow test /gmenu/dbus/roundtrip executed in 1.07 secs 1016s ok 10 /gmenu/dbus/subscriptions 1018s ok 11 /gmenu/dbus/threaded 1018s # slow test /gmenu/dbus/threaded executed in 1.28 secs 1018s # Start of peer tests 1019s ok 12 /gmenu/dbus/peer/roundtrip 1019s # slow test /gmenu/dbus/peer/roundtrip executed in 1.07 secs 1019s ok 13 /gmenu/dbus/peer/subscriptions 1019s # End of peer tests 1019s # End of dbus tests 1019s # Start of attributes tests 1019s ok 14 /gmenu/attributes/iterate 1019s # End of attributes tests 1019s # End of gmenu tests 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1019s PASS: glib/gmenumodel.test 1019s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.5s; system=0.1s; maxrss=43520 1019s autopkgtest [18:35:16]: test gmenumodel: -----------------------] 1020s gmenumodel PASS 1020s autopkgtest [18:35:17]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1020s autopkgtest [18:35:17]: test mainloop: preparing testbed 1032s Reading package lists... 1033s Building dependency tree... 1033s Reading state information... 1033s Starting pkgProblemResolver with broken count: 0 1033s Starting 2 pkgProblemResolver with broken count: 0 1033s Done 1033s The following NEW packages will be installed: 1033s autopkgtest-satdep 1033s 0 upgraded, 1 newly installed, 0 to remove and 224 not upgraded. 1033s Need to get 0 B/776 B of archives. 1033s After this operation, 0 B of additional disk space will be used. 1033s Get:1 /tmp/autopkgtest.Juhcat/9-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 1034s Selecting previously unselected package autopkgtest-satdep. 1034s (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 ... 52721 files and directories currently installed.) 1034s Preparing to unpack .../9-autopkgtest-satdep.deb ... 1034s Unpacking autopkgtest-satdep (0) ... 1034s Setting up autopkgtest-satdep (0) ... 1036s (Reading database ... 52721 files and directories currently installed.) 1036s Removing autopkgtest-satdep (0) ... 1037s autopkgtest [18:35:34]: test mainloop: [----------------------- 1037s Running test: glib/mainloop.test 1037s TAP version 13 1037s # random seed: R02Sa265cf1502a3b3ae3187bfefe8be8dc0 1037s 1..45 1037s # Start of maincontext tests 1037s ok 1 /maincontext/basic 1037s # Add same-priority sources: 19 1037s # Find each source: 2 1037s # Remove in random order: 19 1037s ok 2 /maincontext/nsources_same_priority 1037s # Add different-priority sources: 13 1037s # Find each source: 1 1037s # Remove in random order: 18 1037s ok 3 /maincontext/nsources_different_priority 1037s # Add sources from threads: 68 1037s # Remove sources from threads: 53 1037s ok 4 /maincontext/nsources_threadpool 1037s ok 5 /maincontext/source_finalization 1037s # /maincontext/idle-once summary: Test g_idle_add_once() works 1037s ok 6 /maincontext/idle-once 1037s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1037s ok 7 /maincontext/timeout-once 1037s # Start of source_finalization_from_source tests 1037s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1037s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1037s ok 8 /maincontext/source_finalization_from_source/0 1037s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1037s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1037s ok 9 /maincontext/source_finalization_from_source/1 1037s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1037s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1037s ok 10 /maincontext/source_finalization_from_source/2 1037s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1037s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1037s ok 11 /maincontext/source_finalization_from_source/3 1037s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1037s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1037s ok 12 /maincontext/source_finalization_from_source/4 1037s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1037s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1037s ok 13 /maincontext/source_finalization_from_source/5 1037s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1037s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1037s ok 14 /maincontext/source_finalization_from_source/6 1037s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1037s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1037s ok 15 /maincontext/source_finalization_from_source/7 1037s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1037s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1037s ok 16 /maincontext/source_finalization_from_source/8 1037s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1037s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1037s ok 17 /maincontext/source_finalization_from_source/9 1037s # End of source_finalization_from_source tests 1037s # Start of source_finalization_from_dispatch tests 1037s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1037s ok 18 /maincontext/source_finalization_from_dispatch/0 1037s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1037s ok 19 /maincontext/source_finalization_from_dispatch/1 1037s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1037s ok 20 /maincontext/source_finalization_from_dispatch/2 1037s # End of source_finalization_from_dispatch tests 1037s # End of maincontext tests 1037s # Start of mainloop tests 1037s ok 21 /mainloop/basic 1037s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1037s ok 23 /mainloop/priorities 1038s ok 24 /mainloop/invoke 1038s # slow test /mainloop/invoke executed in 0.50 secs 1039s ok 25 /mainloop/child_sources 1039s # slow test /mainloop/child_sources executed in 1.19 secs 1041s ok 26 /mainloop/recursive_child_sources 1041s # slow test /mainloop/recursive_child_sources executed in 2.28 secs 1041s ok 27 /mainloop/recursive_loop_child_sources 1042s ok 28 /mainloop/swapping_child_sources 1042s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1042s ok 29 /mainloop/blocked_child_sources 1042s Executing: glib/mainloop.test 1043s ok 30 /mainloop/source_time 1043s # slow test /mainloop/source_time executed in 1.00 secs 1043s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1043s ok 31 /mainloop/overflow 1043s ok 32 /mainloop/ready-time 1043s # slow test /mainloop/ready-time executed in 0.51 secs 1043s ok 33 /mainloop/wakeup 1043s ok 34 /mainloop/remove-invalid 1043s ok 35 /mainloop/unref-while-pending 1044s ok 36 /mainloop/unix-fd 1044s # slow test /mainloop/unix-fd executed in 0.58 secs 1044s ok 37 /mainloop/unix-fd-source 1044s ok 38 /mainloop/source-unix-fd-api 1044s ok 39 /mainloop/wait 1044s ok 40 /mainloop/unix-file-poll 1044s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1044s ok 41 /mainloop/unix-fd-priority 1044s ok 42 /mainloop/nfds 1044s ok 43 /mainloop/steal-fd 1044s # Start of ownerless-polling tests 1044s ok 44 /mainloop/ownerless-polling/attach-first 1044s ok 45 /mainloop/ownerless-polling/pop-first 1044s # End of ownerless-polling tests 1044s # End of mainloop tests 1044s PASS: glib/mainloop.test 1044s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.5s; maxrss=16040 1044s autopkgtest [18:35:41]: test mainloop: -----------------------] 1045s mainloop PASS 1045s autopkgtest [18:35:42]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1045s autopkgtest [18:35:42]: test memory-monitor-dbus: preparing testbed 1048s Reading package lists... 1049s Building dependency tree... 1049s Reading state information... 1049s Starting pkgProblemResolver with broken count: 0 1049s Starting 2 pkgProblemResolver with broken count: 0 1049s Done 1050s The following NEW packages will be installed: 1050s autopkgtest-satdep 1050s 0 upgraded, 1 newly installed, 0 to remove and 224 not upgraded. 1050s Need to get 0 B/776 B of archives. 1050s After this operation, 0 B of additional disk space will be used. 1050s Get:1 /tmp/autopkgtest.Juhcat/10-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 1050s Selecting previously unselected package autopkgtest-satdep. 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 ... 52721 files and directories currently installed.) 1050s Preparing to unpack .../10-autopkgtest-satdep.deb ... 1050s Unpacking autopkgtest-satdep (0) ... 1050s Setting up autopkgtest-satdep (0) ... 1053s (Reading database ... 52721 files and directories currently installed.) 1053s Removing autopkgtest-satdep (0) ... 1053s autopkgtest [18:35:50]: test memory-monitor-dbus: [----------------------- 1053s Running test: glib/memory-monitor-dbus.test 1054s TAP version 13 1054s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1054s # Received memory warning signal, level 1054s # Received memory warning signal, level 1054s # Received memory warning signal, level 1054s 1..1 1054s PASS: glib/memory-monitor-dbus.test 1054s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=25960 1054s autopkgtest [18:35:51]: test memory-monitor-dbus: -----------------------] 1055s memory-monitor-dbus PASS 1055s autopkgtest [18:35:52]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1055s autopkgtest [18:35:52]: test socket: preparing testbed 1063s Reading package lists... 1063s Building dependency tree... 1063s Reading state information... 1063s Starting pkgProblemResolver with broken count: 0 1063s Starting 2 pkgProblemResolver with broken count: 0 1063s Done 1063s The following NEW packages will be installed: 1063s autopkgtest-satdep 1063s 0 upgraded, 1 newly installed, 0 to remove and 224 not upgraded. 1063s Need to get 0 B/772 B of archives. 1063s After this operation, 0 B of additional disk space will be used. 1063s Get:1 /tmp/autopkgtest.Juhcat/11-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 1064s Selecting previously unselected package autopkgtest-satdep. 1064s (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 ... 52721 files and directories currently installed.) 1064s Preparing to unpack .../11-autopkgtest-satdep.deb ... 1064s Unpacking autopkgtest-satdep (0) ... 1064s Setting up autopkgtest-satdep (0) ... 1066s (Reading database ... 52721 files and directories currently installed.) 1066s Removing autopkgtest-satdep (0) ... 1067s autopkgtest [18:36:04]: test socket: [----------------------- 1067s Running test: glib/socket.test 1067s TAP version 13 1067s # random seed: R02S4154ebb18a034d9573df27a69a6ecf6b 1067s 1..28 1067s # Start of socket tests 1068s ok 1 /socket/ipv4_sync 1068s # slow test /socket/ipv4_sync executed in 1.00 secs 1069s ok 2 /socket/ipv4_async 1069s # slow test /socket/ipv4_async executed in 1.00 secs 1069s ok 3 /socket/ipv6_sync 1069s ok 4 /socket/ipv6_async 1069s ok 5 /socket/ipv6_v4mapped 1070s ok 6 /socket/close_graceful 1070s # slow test /socket/close_graceful executed in 1.00 secs 1070s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1070s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1070s ok 8 /socket/fd_reuse 1070s ok 9 /socket/address 1070s ok 10 /socket/unix-from-fd 1070s ok 11 /socket/unix-connection 1070s ok 12 /socket/unix-connection-ancillary-data 1070s ok 13 /socket/source-postmortem 1070s ok 14 /socket/read_write 1070s ok 15 /socket/read_writev 1070s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1070s ok 16 /socket/receive_bytes 1070s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1070s ok 17 /socket/receive_bytes_from 1070s # Start of ipv4_sync tests 1070s ok 18 /socket/ipv4_sync/datagram 1070s # Start of datagram tests 1071s ok 19 /socket/ipv4_sync/datagram/timeouts 1071s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1071s # End of datagram tests 1071s # End of ipv4_sync tests 1071s # Start of ipv6_sync tests 1071s ok 20 /socket/ipv6_sync/datagram 1071s # Start of datagram tests 1072s Executing: glib/socket.test 1073s ok 21 /socket/ipv6_sync/datagram/timeouts 1073s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1073s # End of datagram tests 1073s # End of ipv6_sync tests 1073s # Start of reuse tests 1073s ok 22 /socket/reuse/tcp 1073s ok 23 /socket/reuse/udp 1073s # End of reuse tests 1073s # Start of get_available tests 1073s ok 24 /socket/get_available/datagram 1073s ok 25 /socket/get_available/stream 1073s # End of get_available tests 1073s # Start of credentials tests 1073s # Supported on this OS: GCredentials:linux-ucred:pid=0 1073s ok 26 /socket/credentials/tcp_client 1073s # Supported on this OS: GCredentials:linux-ucred:pid=0 1073s ok 27 /socket/credentials/tcp_server 1073s # Supported on this OS: GCredentials:linux-ucred:pid=18689,uid=1000,gid=1000 1073s ok 28 /socket/credentials/unix_socketpair 1073s # End of credentials tests 1073s # End of socket tests 1073s PASS: glib/socket.test 1073s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5504 1073s autopkgtest [18:36:10]: test socket: -----------------------] 1073s autopkgtest [18:36:10]: test socket: - - - - - - - - - - results - - - - - - - - - - 1073s socket PASS 1074s autopkgtest [18:36:11]: test testfilemonitor: preparing testbed 1081s Reading package lists... 1081s Building dependency tree... 1081s Reading state information... 1081s Starting pkgProblemResolver with broken count: 0 1081s Starting 2 pkgProblemResolver with broken count: 0 1081s Done 1082s The following NEW packages will be installed: 1082s autopkgtest-satdep 1082s 0 upgraded, 1 newly installed, 0 to remove and 224 not upgraded. 1082s Need to get 0 B/780 B of archives. 1082s After this operation, 0 B of additional disk space will be used. 1082s Get:1 /tmp/autopkgtest.Juhcat/12-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [780 B] 1082s Selecting previously unselected package autopkgtest-satdep. 1082s (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 ... 52721 files and directories currently installed.) 1082s Preparing to unpack .../12-autopkgtest-satdep.deb ... 1082s Unpacking autopkgtest-satdep (0) ... 1082s Setting up autopkgtest-satdep (0) ... 1085s (Reading database ... 52721 files and directories currently installed.) 1085s Removing autopkgtest-satdep (0) ... 1085s autopkgtest [18:36:22]: test testfilemonitor: [----------------------- 1086s Running test: glib/testfilemonitor.test 1086s TAP version 13 1086s # random seed: R02Sf18007b558b90312ac02d00d991226ec 1086s 1..8 1086s # Start of monitor tests 1086s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1086s # Using temporary directory: /tmp/gio-test-testfilemonitor_FF8YK2 1086s # Using GFileMonitor GInotifyFileMonitor 1088s ok 1 /monitor/atomic-replace 1088s # slow test /monitor/atomic-replace executed in 2.00 secs 1088s # Using temporary directory: /tmp/gio-test-testfilemonitor_N4YYK2 1088s # Using GFileMonitor GInotifyFileMonitor 1090s ok 2 /monitor/file-changes 1090s # slow test /monitor/file-changes executed in 2.50 secs 1090s # Using temporary directory: /tmp/gio-test-testfilemonitor_PQMNK2 1090s # Using GFileMonitor GInotifyFileMonitor 1091s Executing: glib/testfilemonitor.test 1094s ok 3 /monitor/dir-monitor 1094s # slow test /monitor/dir-monitor executed in 3.51 secs 1094s # Using temporary directory: /tmp/gio-test-testfilemonitor_PTMWK2 1094s # Using GFileMonitor GInotifyFileMonitor 1096s Executing: glib/testfilemonitor.test 1101s Executing: glib/testfilemonitor.test 1106s Executing: glib/testfilemonitor.test 1111s Executing: glib/testfilemonitor.test 1116s Executing: glib/testfilemonitor.test 1119s ok 4 /monitor/dir-not-existent 1119s # slow test /monitor/dir-not-existent executed in 25.02 secs 1119s # Using temporary directory: /tmp/gio-test-testfilemonitor_I5SWK2 1119s # Using GFileMonitor 0 GInotifyFileMonitor 1119s # Using GFileMonitor 1 GInotifyFileMonitor 1121s ok 5 /monitor/cross-dir-moves 1121s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1121s # Using temporary directory: /tmp/gio-test-testfilemonitor_XDWWK2 1121s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1121s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1121s ok 6 /monitor/finalize-in-callback 1121s # Using temporary directory: /tmp/gio-test-testfilemonitor_OT5WK2 1121s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1121s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1121s ok 7 /monitor/root 1121s # Start of file tests 1121s # Using temporary directory: /tmp/gio-test-testfilemonitor_99AXK2 1121s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1121s # Running with hard link tests 1121s # Using GFileMonitor GInotifyFileMonitor 1121s Executing: glib/testfilemonitor.test 1124s # Event 0 at expected index 7 skipped because it is marked as optional 1124s # Event 2 at expected index 11 skipped because it is marked as optional 1124s ok 8 /monitor/file/hard-links 1124s # slow test /monitor/file/hard-links executed in 3.51 secs 1124s # End of file tests 1124s # End of monitor tests 1124s PASS: glib/testfilemonitor.test 1124s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5632 1124s autopkgtest [18:37:01]: test testfilemonitor: -----------------------] 1125s autopkgtest [18:37:02]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1125s testfilemonitor PASS 1125s autopkgtest [18:37:02]: test thread-pool-slow: preparing testbed 1130s Reading package lists... 1130s Building dependency tree... 1130s Reading state information... 1130s Starting pkgProblemResolver with broken count: 0 1130s Starting 2 pkgProblemResolver with broken count: 0 1130s Done 1130s The following NEW packages will be installed: 1130s autopkgtest-satdep 1130s 0 upgraded, 1 newly installed, 0 to remove and 224 not upgraded. 1130s Need to get 0 B/772 B of archives. 1130s After this operation, 0 B of additional disk space will be used. 1130s Get:1 /tmp/autopkgtest.Juhcat/13-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 1131s Selecting previously unselected package autopkgtest-satdep. 1131s (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 ... 52721 files and directories currently installed.) 1131s Preparing to unpack .../13-autopkgtest-satdep.deb ... 1131s Unpacking autopkgtest-satdep (0) ... 1131s Setting up autopkgtest-satdep (0) ... 1133s (Reading database ... 52721 files and directories currently installed.) 1133s Removing autopkgtest-satdep (0) ... 1134s autopkgtest [18:37:11]: test thread-pool-slow: [----------------------- 1135s Running test: glib/thread-pool-slow.test 1135s TAP version 13 1135s # random seed: R02S1315e93444365857a3cf73c7206c1e66 1135s 1..7 1135s # Start of threadpool tests 1135s ok 1 /threadpool/functions 1135s ok 2 /threadpool/stop-unused 1135s # slow test /threadpool/stop-unused executed in 0.51 secs 1135s ok 3 /threadpool/pools 1135s # [unsorted] ===> pushed new thread with id:20, number of threads:1, unprocessed:0 1135s # [unsorted] ===> pushed new thread with id:99, number of threads:2, unprocessed:1 1135s # [unsorted] ===> pushed new thread with id:85, number of threads:3, unprocessed:0 1135s # [unsorted] ===> pushed new thread with id:60, number of threads:4, unprocessed:1 1135s # [unsorted] ===> pushed new thread with id:49, number of threads:5, unprocessed:1 1135s # [unsorted] ===> pushed new thread with id:86, number of threads:6, unprocessed:1 1135s # [unsorted] ===> pushed new thread with id:95, number of threads:7, unprocessed:1 1135s # [unsorted] ===> pushed new thread with id:68, number of threads:8, unprocessed:1 1135s # [unsorted] ===> pushed new thread with id:22, number of threads:9, unprocessed:0 1135s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:0 1135s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:1 1135s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:2 1135s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:3 1135s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:4 1135s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:5 1135s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:6 1135s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:7 1135s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:8 1135s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:9 1135s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:10 1135s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:11 1135s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:12 1135s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:13 1135s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:14 1135s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:15 1135s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:16 1135s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:17 1135s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:18 1135s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:19 1135s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:20 1135s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:21 1135s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:22 1135s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:23 1135s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:24 1135s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:25 1135s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:26 1135s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:27 1135s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:28 1135s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:29 1135s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:30 1135s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:31 1135s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:32 1135s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:33 1135s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:34 1135s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:35 1135s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:36 1135s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:37 1135s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:38 1135s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:39 1135s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:40 1135s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:41 1135s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:42 1135s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:43 1135s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:44 1135s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:45 1135s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:46 1135s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:47 1135s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:48 1135s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:49 1135s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:50 1135s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:51 1135s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:52 1135s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:53 1135s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:54 1135s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:55 1135s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:56 1135s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:57 1135s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:58 1135s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:59 1135s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:60 1135s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:61 1135s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:62 1135s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:63 1135s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:64 1135s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:65 1135s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:66 1135s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:67 1135s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:68 1135s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:69 1135s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:70 1135s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:71 1135s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:72 1135s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:73 1135s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:74 1135s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:75 1135s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:76 1135s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:77 1135s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:78 1135s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:79 1135s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:80 1135s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:81 1135s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:82 1135s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:83 1135s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:84 1135s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:85 1135s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:86 1135s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:87 1135s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:88 1135s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:89 1135s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:90 1135s ok 4 /threadpool/no-sort 1135s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:1 1135s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:2 1135s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:3 1135s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:4 1135s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:5 1135s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:6 1135s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:7 1135s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:8 1135s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:9 1135s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:10 1135s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:11 1135s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:12 1135s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:13 1135s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:14 1135s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:15 1135s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:16 1135s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:17 1135s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:18 1135s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:19 1135s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:20 1135s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:21 1135s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:22 1135s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:23 1135s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:24 1135s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:25 1135s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:26 1135s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:27 1135s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:28 1135s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:29 1135s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:30 1135s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:31 1135s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:32 1135s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:33 1135s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:34 1135s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:35 1135s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:36 1135s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:37 1135s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:38 1135s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:39 1135s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:40 1135s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:41 1135s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:42 1135s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:43 1135s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:44 1135s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:45 1135s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:46 1135s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:47 1135s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:48 1135s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:49 1135s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:50 1135s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:51 1135s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:52 1135s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:53 1135s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:54 1135s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:55 1135s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:56 1135s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:57 1135s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:58 1135s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:59 1135s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:60 1135s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:61 1135s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:62 1135s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:63 1135s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:64 1135s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:65 1135s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:66 1135s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:67 1135s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:68 1135s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:69 1135s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:70 1135s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:71 1135s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:72 1135s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:73 1135s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:74 1135s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:75 1135s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:76 1135s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:77 1135s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:78 1135s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:79 1135s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:80 1135s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:81 1135s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:82 1135s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:83 1135s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:84 1135s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:85 1135s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:86 1135s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:87 1135s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:88 1135s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:89 1135s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:90 1135s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:91 1135s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:92 1135s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:93 1135s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:94 1135s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:95 1135s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:96 1135s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:97 1135s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:98 1135s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:99 1135s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:100 1135s # Starting thread pool processing 1135s ok 5 /threadpool/sort 1136s ok 6 /threadpool/stop-unused-multiple 1136s # slow test /threadpool/stop-unused-multiple executed in 0.52 secs 1136s # Pool idle thread count: 0, unprocessed jobs: 40 1136s # Pool idle thread count: 0, unprocessed jobs: 0 1136s # Pool idle thread count: 0, unprocessed jobs: 0 1137s # Pool idle thread count: 10, unprocessed jobs: 0 1137s # Pool idle thread count: 10, unprocessed jobs: 0 1137s # Pool idle thread count: 10, unprocessed jobs: 0 1137s # Pool idle thread count: 10, unprocessed jobs: 0 1138s # Pool idle thread count: 10, unprocessed jobs: 0 1138s # Pool idle thread count: 10, unprocessed jobs: 0 1138s # Pool idle thread count: 10, unprocessed jobs: 0 1138s # Pool idle thread count: 10, unprocessed jobs: 0 1139s # Pool idle thread count: 10, unprocessed jobs: 0 1139s # Pool idle thread count: 10, unprocessed jobs: 0 1139s # Pool idle thread count: 10, unprocessed jobs: 0 1139s # Pool idle thread count: 10, unprocessed jobs: 0 1140s # Pool idle thread count: 10, unprocessed jobs: 0 1140s # Pool idle thread count: 10, unprocessed jobs: 0 1140s Executing: glib/thread-pool-slow.test 1140s # Pool idle thread count: 10, unprocessed jobs: 0 1140s # Pool idle thread count: 10, unprocessed jobs: 0 1141s # Pool idle thread count: 10, unprocessed jobs: 0 1141s # Pool idle thread count: 10, unprocessed jobs: 0 1141s # Pool idle thread count: 10, unprocessed jobs: 0 1141s # Pool idle thread count: 10, unprocessed jobs: 0 1142s # Pool idle thread count: 10, unprocessed jobs: 0 1142s # Pool idle thread count: 10, unprocessed jobs: 0 1142s # Pool idle thread count: 10, unprocessed jobs: 0 1142s # Pool idle thread count: 10, unprocessed jobs: 0 1143s # Pool idle thread count: 10, unprocessed jobs: 0 1143s # Pool idle thread count: 10, unprocessed jobs: 0 1143s # Pool idle thread count: 10, unprocessed jobs: 0 1143s # Pool idle thread count: 10, unprocessed jobs: 0 1144s # Pool idle thread count: 10, unprocessed jobs: 0 1144s # Pool idle thread count: 10, unprocessed jobs: 0 1144s # Pool idle thread count: 10, unprocessed jobs: 0 1144s # Pool idle thread count: 10, unprocessed jobs: 0 1145s # Pool idle thread count: 10, unprocessed jobs: 2 1145s # Pool idle thread count: 10, unprocessed jobs: 2 1145s # Pool idle thread count: 8, unprocessed jobs: 0 1145s # Pool idle thread count: 8, unprocessed jobs: 0 1145s Executing: glib/thread-pool-slow.test 1145s # Pool idle thread count: 10, unprocessed jobs: 0 1145s # Pool idle thread count: 10, unprocessed jobs: 0 1146s # Pool idle thread count: 10, unprocessed jobs: 0 1146s # Pool idle thread count: 10, unprocessed jobs: 0 1146s # Pool idle thread count: 10, unprocessed jobs: 0 1146s # Pool idle thread count: 10, unprocessed jobs: 0 1147s # Pool idle thread count: 2, unprocessed jobs: 0 1147s # Pool idle thread count: 2, unprocessed jobs: 0 1147s # Pool idle thread count: 2, unprocessed jobs: 0 1147s # Pool idle thread count: 2, unprocessed jobs: 0 1148s # Pool idle thread count: 2, unprocessed jobs: 0 1148s # Pool idle thread count: 2, unprocessed jobs: 0 1148s # Pool idle thread count: 2, unprocessed jobs: 0 1148s # Pool idle thread count: 2, unprocessed jobs: 0 1149s # Pool idle thread count: 2, unprocessed jobs: 0 1149s # Pool idle thread count: 2, unprocessed jobs: 0 1149s # Pool idle thread count: 2, unprocessed jobs: 0 1149s # Pool idle thread count: 2, unprocessed jobs: 0 1150s # Pool idle thread count: 2, unprocessed jobs: 0 1150s # Pool idle thread count: 2, unprocessed jobs: 0 1150s Executing: glib/thread-pool-slow.test 1150s # Pool idle thread count: 2, unprocessed jobs: 0 1150s # Pool idle thread count: 2, unprocessed jobs: 0 1151s # Pool idle thread count: 2, unprocessed jobs: 0 1151s # Pool idle thread count: 2, unprocessed jobs: 0 1151s # Pool idle thread count: 2, unprocessed jobs: 0 1151s # Pool idle thread count: 2, unprocessed jobs: 0 1152s # Pool idle thread count: 2, unprocessed jobs: 0 1152s # Pool idle thread count: 2, unprocessed jobs: 0 1152s # Pool idle thread count: 2, unprocessed jobs: 0 1152s # Pool idle thread count: 2, unprocessed jobs: 0 1153s # Pool idle thread count: 2, unprocessed jobs: 0 1153s # Pool idle thread count: 2, unprocessed jobs: 0 1153s # Pool idle thread count: 2, unprocessed jobs: 0 1157s # Pool idle thread count: 2, unprocessed jobs: 0 1157s # Pool idle thread count: 2, unprocessed jobs: 0 1157s # Pool idle thread count: 2, unprocessed jobs: 0 1157s # Pool idle thread count: 2, unprocessed jobs: 0 1157s # Pool idle thread count: 2, unprocessed jobs: 0 1157s # Pool idle thread count: 2, unprocessed jobs: 0 1157s # Pool idle thread count: 2, unprocessed jobs: 0 1157s Executing: glib/thread-pool-slow.test 1157s ok 7 /threadpool/idle-time 1157s # slow test /threadpool/idle-time executed in 19.53 secs 1157s # End of threadpool tests 1157s PASS: glib/thread-pool-slow.test 1157s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=3712 1157s autopkgtest [18:37:33]: test thread-pool-slow: -----------------------] 1157s autopkgtest [18:37:34]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1157s thread-pool-slow PASS 1158s autopkgtest [18:37:35]: test threadtests: preparing testbed 1163s Reading package lists... 1163s Building dependency tree... 1163s Reading state information... 1164s Starting pkgProblemResolver with broken count: 0 1164s Starting 2 pkgProblemResolver with broken count: 0 1164s Done 1164s The following NEW packages will be installed: 1164s autopkgtest-satdep 1164s 0 upgraded, 1 newly installed, 0 to remove and 224 not upgraded. 1164s Need to get 0 B/776 B of archives. 1164s After this operation, 0 B of additional disk space will be used. 1164s Get:1 /tmp/autopkgtest.Juhcat/14-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [776 B] 1164s Selecting previously unselected package autopkgtest-satdep. 1165s (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 ... 52721 files and directories currently installed.) 1165s Preparing to unpack .../14-autopkgtest-satdep.deb ... 1165s Unpacking autopkgtest-satdep (0) ... 1165s Setting up autopkgtest-satdep (0) ... 1167s (Reading database ... 52721 files and directories currently installed.) 1167s Removing autopkgtest-satdep (0) ... 1168s autopkgtest [18:37:45]: test threadtests: [----------------------- 1168s Running test: glib/threadtests.test 1168s TAP version 13 1168s # random seed: R02S28e565244302ab7d38fff4efb3ccc33b 1168s 1..5 1168s # Start of GObject tests 1168s ok 1 /GObject/threaded-object-init 1169s ok 2 /GObject/threaded-weak-ref 1169s # slow test /GObject/threaded-weak-ref executed in 0.87 secs 1169s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1169s # /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 1169s ok 3 /GObject/threaded-toggle-notify 1169s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1169s # Start of threaded-weak-ref tests 1169s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1169s # /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. 1169s ok 5 /GObject/threaded-weak-ref/on-finalization 1169s # End of threaded-weak-ref tests 1169s # End of GObject tests 1169s PASS: glib/threadtests.test 1169s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.4s; maxrss=3584 1169s autopkgtest [18:37:46]: test threadtests: -----------------------] 1170s threadtests PASS 1170s autopkgtest [18:37:47]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1170s autopkgtest [18:37:47]: test timeout: preparing testbed 1179s Reading package lists... 1179s Building dependency tree... 1179s Reading state information... 1179s Starting pkgProblemResolver with broken count: 0 1179s Starting 2 pkgProblemResolver with broken count: 0 1179s Done 1180s The following NEW packages will be installed: 1180s autopkgtest-satdep 1180s 0 upgraded, 1 newly installed, 0 to remove and 224 not upgraded. 1180s Need to get 0 B/772 B of archives. 1180s After this operation, 0 B of additional disk space will be used. 1180s Get:1 /tmp/autopkgtest.Juhcat/15-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 1180s Selecting previously unselected package autopkgtest-satdep. 1180s (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 ... 52721 files and directories currently installed.) 1180s Preparing to unpack .../15-autopkgtest-satdep.deb ... 1180s Unpacking autopkgtest-satdep (0) ... 1180s Setting up autopkgtest-satdep (0) ... 1183s (Reading database ... 52721 files and directories currently installed.) 1183s Removing autopkgtest-satdep (0) ... 1184s autopkgtest [18:38:01]: test timeout: [----------------------- 1184s Running test: glib/timeout.test 1184s TAP version 13 1184s # random seed: R02S0328421ba6957098cda13de88f4c924a 1184s 1..5 1184s # Start of timeout tests 1184s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1186s ok 1 /timeout/seconds 1186s # slow test /timeout/seconds executed in 2.10 secs 1188s ok 2 /timeout/seconds-once 1188s # slow test /timeout/seconds-once executed in 2.10 secs 1188s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1189s Executing: glib/timeout.test 1190s ok 3 /timeout/weeks-overflow 1190s # slow test /timeout/weeks-overflow executed in 2.10 secs 1190s ok 4 /timeout/far-future-ready-time 1194s Executing: glib/timeout.test 1199s Executing: glib/timeout.test 1201s ok 5 /timeout/rounding 1201s # slow test /timeout/rounding executed in 10.80 secs 1201s # End of timeout tests 1201s PASS: glib/timeout.test 1201s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2816 1202s autopkgtest [18:38:19]: test timeout: -----------------------] 1202s timeout PASS 1202s autopkgtest [18:38:19]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1203s autopkgtest [18:38:20]: test timer: preparing testbed 1211s Reading package lists... 1211s Building dependency tree... 1211s Reading state information... 1211s Starting pkgProblemResolver with broken count: 0 1211s Starting 2 pkgProblemResolver with broken count: 0 1211s Done 1211s The following NEW packages will be installed: 1211s autopkgtest-satdep 1211s 0 upgraded, 1 newly installed, 0 to remove and 224 not upgraded. 1211s Need to get 0 B/772 B of archives. 1211s After this operation, 0 B of additional disk space will be used. 1211s Get:1 /tmp/autopkgtest.Juhcat/16-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [772 B] 1212s Selecting previously unselected package autopkgtest-satdep. 1212s (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 ... 52721 files and directories currently installed.) 1212s Preparing to unpack .../16-autopkgtest-satdep.deb ... 1212s Unpacking autopkgtest-satdep (0) ... 1212s Setting up autopkgtest-satdep (0) ... 1214s (Reading database ... 52721 files and directories currently installed.) 1214s Removing autopkgtest-satdep (0) ... 1215s autopkgtest [18:38:32]: test timer: [----------------------- 1215s Running test: glib/timer.test 1215s TAP version 13 1215s # random seed: R02S01f432d3222f79853650d41b0d6678e6 1215s 1..10 1215s # Start of timer tests 1215s ok 1 /timer/basic 1215s ok 2 /timer/stop 1215s ok 3 /timer/continue 1215s ok 4 /timer/reset 1215s ok 5 /timer/is_active 1215s # End of timer tests 1215s # Start of timeval tests 1215s ok 6 /timeval/add 1215s ok 7 /timeval/from-iso8601 1215s ok 8 /timeval/to-iso8601 1215s # Start of to-iso8601 tests 1215s ok 9 /timeval/to-iso8601/overflow 1215s # End of to-iso8601 tests 1215s # End of timeval tests 1215s # Start of usleep tests 1215s ok 10 /usleep/with-zero-wait 1215s # End of usleep tests 1215s PASS: glib/timer.test 1215s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2816 1215s autopkgtest [18:38:32]: test timer: -----------------------] 1217s autopkgtest [18:38:34]: test timer: - - - - - - - - - - results - - - - - - - - - - 1217s timer PASS 1217s autopkgtest [18:38:34]: @@@@@@@@@@@@@@@@@@@@ summary 1217s build PASS (superficial) 1217s build-static PASS (superficial) 1217s installed-tests PASS 1217s closure-refcount PASS 1217s debugcontroller PASS 1217s gdbus-server-auth PASS 1217s gdbus-threading PASS 1217s gmenumodel PASS 1217s mainloop PASS 1217s memory-monitor-dbus PASS 1217s socket PASS 1217s testfilemonitor PASS 1217s thread-pool-slow PASS 1217s threadtests PASS 1217s timeout PASS 1217s timer PASS 1231s Creating nova instance adt-noble-s390x-glib2.0-20240320-181817-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-s390x-server-20240319.img (UUID fdb88291-221e-4465-b557-6bcc22878017)... 1231s Creating nova instance adt-noble-s390x-glib2.0-20240320-181817-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-s390x-server-20240319.img (UUID fdb88291-221e-4465-b557-6bcc22878017)...